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 happens in execution stage in job processing?
How I sort the records in a file and copy the first 10 records to another file
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
What is the purpose of the PARM keyword in the EXEC statement?
Name what parameter directs the output of the job log dataset?
what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......
what are the various stages of job processing?
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
When will we need to specify Space parameter ?
I have a File that has duplicate records. I need only those records that occur more than thrice.
What is the function of the dd avgrec keyword in sms datasets?
whats the diff bw the evaluate also and and?