Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,


IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


What are s0c1, s0c4, s0c5, s0c7 and socb?

0 Answers  


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


how many members can be created inside a single pds?

8 Answers  


How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.

10 Answers   Lehman Brothers,


I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 Answers  


How to create delta file using JCL

1 Answers   CTC,


What does a disposition of (NEW,CATLG,KEEP) mean?

1 Answers   Cap Gemini,


How to execute 300 steps in a Job?

15 Answers   Accenture, Zensar,


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


Max generations in GDG??

15 Answers   Xansa,


Categories