veena
New User
Joined: 11 Oct 2004 Posts: 1 Location: Hyderabad,India
|
|
|
|
chandrasekhar wrote: |
CAN ANY BODY EXPLAIN ME WHAT IS INTERNAL READER. WHAT WE USE IT FOR |
Hi Chadrasekhar,
Here is the information I have to share with you.
An internal reader is a special SYSOUT data set that other programs can use to submit jobs, control statements, and commands to JES2. The user who want to process the jobs simultaneously according to their requirement can use the Internal Reader for submittig Jobs or control statemets to JES2.
For example-we want submit a job from another job.
consider,
//STEP02 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=SYSPDA.JCLLIB(JCL2),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
In the baove example the IEBGENER output is directed to the ?Internal Reader?.
The Internal Reader takes your input SYSUT1 and sends it to JES2 (or JES3) so it can be processed. (Similarly, in ISPF when you type SUBMIT the JCL is picked up by the Internal Reader and sent to JES).
The ddname SYSUT1 will point to the input, i.e. the JCL you want to submit. This could either be in a dataset (PDS or sequential) or you can have the JCL instream.
The ddname SYSUT2 (output) will point to the internal reader.
Anyone plese let me know if I am wrong.
Thanks,
Veena |
|