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



Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) ..

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

Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) ..

Answer / saisankar

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

Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) ..

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

Post New Answer

More JCL Interview Questions

what happens in execution stage in job processing?

0 Answers   IBM,


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


What is the purpose of the PARM keyword in the EXEC statement?

3 Answers  


Name what parameter directs the output of the job log dataset?

0 Answers  






what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


what are the various stages of job processing?

0 Answers   IBM,


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.

3 Answers   IBM,


When will we need to specify Space parameter ?

3 Answers   Wipro,


I have a File that has duplicate records. I need only those records that occur more than thrice.

3 Answers  


What is the function of the dd avgrec keyword in sms datasets?

0 Answers  


whats the diff bw the evaluate also and and?

0 Answers   CGI,


Categories