I have an job having three job steps.Suppose i want to call
a pgm in step2 and aproc in step3.How to write the code?

Answers were Sorted based on User's Feedback



I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How t..

Answer / siva

//jobname JOB ---------
//PROCLIB DD DSN=MYPROCLIB,DISP=SHR
//step1 EXEC PGM=PGM1
//
****END OF step1********
//step2 EXEC PGM=PGM2
//
//
*****END OF step2********
//step3 EXEC <PROC NAME SPECIFIED>
//

Is This Answer Correct ?    11 Yes 0 No

I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How t..

Answer / kiran

//jobname job ---------------
//proclib dd dsn=procAddress,disp=shr
//step1 exec pgm=pgmA
//step2 exec pgm=pgmB
//step3 exec peocNAme
//

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

how do u see jobs submitted before ur job ?

1 Answers  


how to run JCL thru COBOL.

1 Answers   Patni,


What is COND=EVEN ?

9 Answers   IBM,


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,






What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


write a jcl to execute a job by 7:00 am on jan 20,1986?

0 Answers   IBM,


What is the function of the dd dcb keyword?

0 Answers  


Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA

3 Answers   VC, Wipro,


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


how to do automated restart when a job abends?

0 Answers   IBM,


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


Categories