Is it possiable to use a gdg in the INCLUDE statement in a
SORT jcl? I am using this because I want to change the
condition with out changing the jcl. Please provide with a
sample code.
Answer Posted / soni
anyways u will just give the position of file in include
stt of your sort card, the file may be ps or gdg file.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is catelog procedure and how many catelog procedure to use in one job?
What is the function of //cntl statement?
what is the compile process of cobol program expalin with code
Explain how can a jobs execution priority be modified?
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.
What are some jcl statements that are not allowed in procedures?
What is the purpose of the dd keylen parameter?
how can the same proc be re-used and called by many jobs?
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
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
How jcl is used for testing batch programs?
what are the types of abends that occur on job failure? And explain the possible causes of these
how to compare two datasets without using superce because output is limited to 133 bytes
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what is use of disp parameter in dd statement?