Answer Posted / gaurav
We can set the RETURN-CODE in COBOL which is passed to JCL
| Is This Answer Correct ? | 14 Yes | 0 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 /*
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What do you understand by the term job time – out and how can you overcome that?
What is the function of the dd mgmtclas keyword in sms datasets?
How can return codes be tested before execution of a job step?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Which statement is used to identify the private libraries in job?
define cond parameter in jcl?
What happens if both JOBLIB & STEPLIB is specified ?
Why include statement is used in a jcl?
what JCL Procedures?
Is their any limit for data sets?
How can values be passed from the job stream to an executable program?
How can the attributes of one sms dataset be copied to another dataset?
what are the statements that are not valid to be included in an include statement?