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 / prachi
1) you can use INCLUDE MEMBER as below
//JCLLIB ORDER=<Give the PDS name of the member you want to
include>
//INCLUDE MEMBER=<Give the member name here>
2> SPOOL is the place where you can see the status after
executing the job
3>To direct the output of a jobstep to spool we need to
give
//SYSPRINT DD SYSYOUT=*
//SYSOUT DD SYSOUT=*
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
write a jcl to execute a job by 7:00 am on jan 20,1986?
What happens if both JOBLIB & STEPLIB is specified ?
what is the use of IEBGENER utility?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
In job processing, what happens in conversion stage?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Where & How Do You Code Identifier In Jcl?
What is the function of //cntl statement?
i want to store 20 digits . how will u do it in cobol ?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the purpose of dd dummy statement?
Which dd parameters are required?
What are the 4 fields in dd statement?
How dummy is used in jcl?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?