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
What is the function of dd disp parameter?
How can the disposition of sysout datasets be set for an entire jobstream?
How do you submit a job for execution?
how you will the direct the data to spool using sysout option?
What does a disposition of (new,catlg,keep) for a dsn mean?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How can an in-stream dataset be terminated?
Name what parameter directs the output of the job log dataset?
What are the 2 types of parameters in dd statement?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What statement can be used to send data to another mvs jes3 node?
What do you understand by the term job time – out and how can you overcome that?
Explain how can the attributes of one sms dataset be copied to another dataset?
What parameter of the job statement is used to limit the cpu time consumed by the job?
How can return codes be tested before execution of a job step?