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
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is the purpose of dd dummy statement?
how you can direct the data to spool using SYSOUT option?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
what are the statements that are not valid to be included in an include statement?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain how can the attributes of one sms dataset be copied to another dataset?
What is the function of the steplib dd statement?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
how would you create a temporary dataset? And where will you use them?
In sms datasets, what is the function of the dd avgrec keyword?
Is it possible to code instream data in a PROC?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?