🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #1621

Re: Interacting with a TSO user from a program

#1621
From: John R. Grout
Date: Tue, 10 Mar 1992 19:18
28 lines
1926 bytes
In comp.lang.asm370 you write:

>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.$$

I believe that PL/I and COBOL do support direct interaction with
terminals...  although I'm not sure about the same line (maybe you
have to use a "break" or some sort of command to force the whole line
out)... I'm not sure about C... but it would be _much_ easier to use
ISPF/PDF if that is available in your environment...  that would do
most of the work and ISPF and ISPF/PDF V3 definitely have C support
(not sure about earlier levels).

Hope this helps,

John R. Grout			| INTERNET: j-grout@uiuc.edu
Technical Details
Message-ID: <9203101918.AA01277@sp90.csrd.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!CSRD.UIUC.EDU!GROUT
References: <9203101816.AA20015@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcdcb,934060ecaacc1e87
X-Google-Attributes: gidfcdcb,public
X-Google-ArrivalTime: 1992-03-10 12:10:11 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!CSRD.UIUC.EDU!GROUT
References: <9203101816.AA20015@ucbvax.Berkeley.EDU>
Message-ID: <9203101918.AA01277@sp90.csrd.uiuc.edu>
Newsgroups: bit.listserv.asm370
Date:         Tue, 10 Mar 1992 13:18:33 CST
Sender:       IBM 370 Assembly Programming Discussion List <ASM370@UGA.BITNET>
From:         "John R. Grout" <grout@CSRD.UIUC.EDU>
Subject:      Re: Interacting with a TSO user from a program