Hi Please try to be to-the-point.
1) How to INCLUDE a JCL segment in a JOB ? (A Small example)
2) What is SPOOL and what is SPOOL FULL ? and how to direct
the output of a Jobstep to SPOOL ?
Answer Posted / praveen bejjanki
1) Not sure what a JCL segment in a job
2) Spool is the place where we will see the status of the
submitted job. generally SDSF or IOF will be the spool.
SPOOL - Simultaneous Pheriperal Operation Online.
3) To direct the output of a jobstep to spool:
The DD stmt of the jobstep should be like below
//DDname DD sysout=*
But most of the people think like if we give like
//SYSPRINT DD SYSYOUT=*
//SYSOUT DD SYSOUT=*
output will be routed to spool which is wrong.
But sysprint DD stmt is used to route all the
messages,stmts generated by the utility(cobol program) to
be printed in spool
& sysout is used for displaying the Display stmts in cobol
program.
I hope this might give a clear picture of what you are
looking for
Can anyone tell me what a job segment in job
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain how can a jobs execution priority be modified?
what is use of dsn parameter in dd statement?
how to run batch program without jcl?
What statement can be used to send data to another mvs jes3 node?
How is a type of file defined in the jcl that executes the cobol program?
i want to store 20 digits . how will u do it in cobol ?
List the different jcl statements that are not permitted in the procedures?
which parameter is used to check the syntax of a jcl without executing it?
what happens in execution stage in job processing?
Explain how can return codes be tested before execution of a job step?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Define concatenating?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
what is SOC4 error?
Why include statement is used in a jcl?