How to overide the symbol parameter in the jcl ?
Answer Posted / karthik ramamoorthy
The Jcl using symbolic paramter looks like this
//job1 job 'abcd'
//step1 exec pgm=testpgm
//file1 dd dsn=&file,
disp=&disp
The symbolic paramters are &file and &DISP they way to
override them are as follows
//job1 job 'abcd'
//assign proc file1=test.file1,
// DISP=(NEW,DELETE,DELETE)
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is timing concept in mainframe?
Explain the function of //cntl statement?
What is the use of disp parameter?
when can a job time-out occur? How to overcome that?
In job processing, what happens in execution stage?
What is the function of dd name parameter with a 2 part structure; audit.report?
What is the function of the steplib dd statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Where can program checkpoints be stored for use in a restart?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Are there any set of rules for the names of the steps used in a job?
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
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
What is the use of symbol // in jcl?
in ways data can be passed to a COBOL program from JCL?