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 |
Can I send output of job to my remote device careerride123?
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
after submiting the jcl.how do you know that the job has been completed.
Can we delete the data using IEFBR14 , IEBGENER??
What parameters can be used to limit the number of records written to a sysout dataset?
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)
diff bw vsam and normal flat file?
How to execute step2,step1,step3 when step1,2&3 are in order
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
what are the various stages of job processing?
What is GDG and what is the maximum limit of versions that can be created?