MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Simple Input and output from JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
sreeram
Beginner


Joined: 24 Dec 2002
Posts: 2
Topics: 1
Location: Chennai, India

PostPosted: Fri Jan 03, 2003 9:17 am    Post subject: Simple Input and output from JCL Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Jan 03, 2003 10:23 am    Post subject: Reply with quote

Sreeram,

Welcome to Mainframe world.check this links for

Assigning input from a screen or file (ACCEPT)

Displaying values on a screen or in a file (DISPLAY)

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sreeram
Beginner


Joined: 24 Dec 2002
Posts: 2
Topics: 1
Location: Chennai, India

PostPosted: Fri Jan 03, 2003 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Jan 03, 2003 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
DaveyC
Moderator


Joined: 02 Dec 2002
Posts: 151
Topics: 3
Location: Perth, Western Australia

PostPosted: Tue Jan 07, 2003 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group