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?
Answer Posted / 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 View All Answers
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Is acct parameter mandatory?
Differentiate between the joblib and the steplib statements?
What is the function of the dd avgrec keyword in sms datasets?
What is the difference between run mode and addressing mode?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what is use of space parameter in dd statement?
Explain about LMQUERY�give a dialog information about a data set
How do you access an uncatalogued dataset in a jcl?
Can I send output of job to my remote device careerride123?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Must tape dataset definitions include vol=ser specifications?
How to do automated restart when a job abend?
how JCL works?