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 ?
Answers were Sorted based on User's Feedback
Answer / 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 |
i have 3 lines of jcl without jobcard.these 3 lines are
repetitively used by many members.
for reusability point of view these 3 lines are copied
according to the user.for write these 3 lines in member of
a pds.for copying
we write
//jobcard
// include membername
//sysin dd *
/*
//
for info:saisankar85@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
How to execute only th 15th step of JCL consisting of 50 steps?
What is S322 abend ?
what is DSN parameter and DISP parameter is used for?
what sort card you will use to copy the data from one dataset to another dataset?
Explain the purpose of the dd keylen parameter?
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.
what is the compile process of cobol program expalin with code
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
Describe the DD statement, its meaning, syntax and keywords?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What is STEPLIB, JOBLIB? What is it used for?