Article View: bit.listserv.asm370
Article #1620Interacting with a TSO user from a program
From: Mark R. Ludwig
Date: Tue, 10 Mar 1992 18:01
Date: Tue, 10 Mar 1992 18:01
17 lines
1445 bytes
1445 bytes
I am looking for an easier way to interact with a TSO user from a
program than using the PUTLINE, GETLINE, PUTGET, TPUT, TGET, or TPG
MACROs which IBM supplies. My requirement is to be able to issue a
prompt on a line and have the user enter the response on the same
line. Does the C environment support the Unix semantics, such that I
could have code like:
printf("..."); /* No \n at the end of the string */
gets(...);
to do what I want? Note that the program is fundamentally
interactive, and there's no way for me to have a CLIST run "before"
the program to get the information. The program must be able to
interact directly with the user. Thanks in advance.$$
--
INET: mrl@uai.com BANG: uunet!uaisun4!mrl ICBM: USA; Lower Left Coast
"Seize the day next week at the latest." -- Boynton
Technical Details
Message-ID:
<1992Mar10.180109.7979@uai.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!uaisun4!mrlShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114f8f,934060ecaacc1e87,start X-Google-Attributes: gid114f8f,public X-Google-Thread: fcdcb,934060ecaacc1e87,start X-Google-Attributes: gidfcdcb,public X-Google-ArrivalTime: 1992-03-09 23:40:51 PST Newsgroups: bit.listserv.asm370,bit.listserv.c370-l Path: arc1-ca.pugleaf.net!sparky!uunet!uaisun4!mrl From: mrl@uai.com (Mark R. Ludwig) Subject: Interacting with a TSO user from a program Message-ID: <1992Mar10.180109.7979@uai.com> Organization: Universal Analytics, Inc., Torrance (LA), CA Date: Tue, 10 Mar 92 18:01:09 GMT