Is there GOTO and SWITCH-CASE available in JCL ?
Is IF-THEN-ELSE available in JCL also just like it is
available for VSAM datasets under Model Commands category ?
Answer / madhavi
IF THEN Else is available in JCL for example
// IF STEP040A.RUNCHK01.RC = 00 THEN
//*
//STEP040B EXEC IRSL1REP,CURR=EUR,TYPE=P,CC=AU,AREA=GE,
MEMB1=REP1BUD,
// STAGE=PROD,MEMB2=REP2BUD,FILE='.M37I',CC1=
// ENDIF
//*
| Is This Answer Correct ? | 4 Yes | 0 No |
what is the use of JCL?
How can we see data in TEMPARARY DATA SET in JCL ?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
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
what is a null indicator in db2?
how to increase the space of a dataset in instream procedure.
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
how are instream data terminated?
How do you access a file that had a disposition of KEEP?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
How is the keyword DUMMY used in JCL?
There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?