Answer Posted / peter
Disp=New tells the system to create a NEW dataset at step
initiation, so that the program can use the newly created
dataset.
The dataset is NOT created at the end of the job-step, "step
termination", but the system looks at the second positional
parameter in the DISP=(NEW,xxx) whether the dataset should
be kept or not!!
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Explain the function of dd name parameter with a 2 part structure; audit.report?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Explain the function of the dd dcb keyword?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What do you understand by jcl?
How to do automated restart when a job abend?
What do you understand by the term job time – out and how can you overcome that?
What is the function of the dd dcb keyword?
How to submit jcl through a cobol program?
What is use of restart and how to use it?
Is it possible to code instream data in a PROC?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What parameters can be used to limit the number of records written to a sysout dataset?
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
i want to store 20 digits . how will u do it in cobol ?