How do you override a specific DDNAME/SYSIN in PROC from a JCL?
Answer Posted / madhuri tungal
Take a look @ below example.
in JOB
//.......JOB....
//.... JCLLIB OREDR=(PROC-LIB)
//STEP1 EXEC PROC-NAME
//PROCSTEP.DDNAME DD DSN=.......
//...
//...
/*
| Is This Answer Correct ? | 56 Yes | 6 No |
Post New Answer View All Answers
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Are there any set of rules for the names of the steps used in a job?
List the different jcl statements that are not permitted in the procedures?
how can you check if a file is empty using jcl?
Name a few IBM utility programs, and explain its function.
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.
how to do automated restart when a job abends?
whats the diff bw the evaluate also and and?
List the various advantages of using jcl language?
What is concatenating?
For what purpose steplib and joblib are used ?
Is condition checking possible in jcl? If yes, how?
Explain the hierarchy levels in jcl?
Must tape dataset definitions include vol=ser specifications?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file