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
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is the difference between the positional and keyword parameters? Give examples.
What is NOTCAT ?
Is it possible to left uncode disp? If yes, how?
How do you create a temporary dataset?
How to submit jcl through a cobol program?
What are the parameters that are used in creating a gdg?
Explain about ISPF/TSO Commands
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What do you understand by the term notcat 2 – gs?
Explain the purpose of dd dummy statement?
what is the resolution for sb37 error
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what JCL Procedures?
What is job control language?