What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?
Answer Posted / anurag
Generally DISP = OLD is used when a Dataset is generated in
a step of job and then subsequently used in the next up
coming steps of the same job ,
DISP=SHR signifies that the dataset is can be shared by the
multiple jobs.
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
Is there any command to check wether the ps file is in sorted order?
List the different jcl statements that are not permitted in the procedures?
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 override loadlib?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain how can return codes be tested before execution of a job step?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
How is a type of file defined in the jcl that executes the cobol program?
Explain the function of //cntl statement?
What is the format of comment statement?
Explain in DD statement what is the use of DCB parameter?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Is it possible to define dd statements as you want?
Explain the purpose of the dd keylen parameter?
How jcl is used for testing batch programs?