View previous topic :: View next topic |
Author |
Message |
sreeram Beginner
Joined: 24 Dec 2002 Posts: 2 Topics: 1 Location: Chennai, India
|
Posted: Fri Jan 03, 2003 9:17 am Post subject: Simple Input and output from JCL |
|
|
Dear All,
I am a newbie to the mainframe world and please excuse me if this question is silly, but I have this question for some time in my mind.
Is it possible to get input in foreground from the user when a job is run in batch?
Is it possible to print the output to screen from a JCL running in batch without writing them to datasets like SYSOUT etc ?
If yes please tell me how and if not please explain me why this is not fundamentally possible ?
Thanks,
Sreeram |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
sreeram Beginner
Joined: 24 Dec 2002 Posts: 2 Topics: 1 Location: Chennai, India
|
Posted: Fri Jan 03, 2003 11:00 am Post subject: |
|
|
Thanks Kolusu .
I think I have not explained my problem clearly ...
Suppose we are calling the program's load library like this, from TSO
'CALL <loadlibrary>'
If there was any ACCEPT statement coded into the program, we would be prompted for input and the program resumes execution after we have entered the input.
But is it possible to prompt the user like above, if the JCL is submitted for execution in Batch mode ?
Similarly for data output is it possible to print the output directly to the screen, instead of making it go to SYSOUT ?
Hope my problem is clear now !
Thanks. |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Jan 03, 2003 10:43 pm Post subject: |
|
|
One way is to run the ISPF GUI in batch and have it connect to a running ip address (on a workstation). You can actually have ISPF panels sent to user's workstations from a batch program that way. I don't know of a good way to do it to a regular terminal. At least not in TSO. |
|
Back to top |
|
|
DaveyC Moderator
Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Tue Jan 07, 2003 8:15 am Post subject: |
|
|
Batch debuggers like XDC do this. AFAIK it's non trivial an involves running SRBs in the foreign address space. You will need to be running authorised... _________________ Dave Crayford |
|
Back to top |
|
|
|
|