I have three files for one step i need to override the
third file how to do that in jcl?
Answer / pp
you can override 3 file.
//stepname.ddname dd
// dd
// dd dsn=give third file here
stepname can be found in proc
ddname can be found in proc
| Is This Answer Correct ? | 39 Yes | 0 No |
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
whats the difference between empty and noempty of GDG?
how would you create a temporary dataset? And where will you use them?
how to do automated restart when a job abends?
What is difference between Return Code, user completion code, Abend code and reason Code?
Are there any set of rules for the names of the steps used in a job?
what is the use of temporary files?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
How to ALTER the name of a GDG ?
If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
What is concatenating?