i have a base gdg consisting of 12 versions like jan to dec. i
need to concatante this gdg to another gdg which have version 1
or to the base gdg itself can anyone give me the code pls ?
Answer Posted / mdv
Technically, both answer #2 and #3 are correct. However,
answer #3 is better.
There are cases when the LRECL of some generations ( after
some change) are different from the others. In that case,
you cannot use the base.
You'll have to concatenate same LRECL files together and
proceed.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to code instream data in a PROC?
What is the difference between run mode and addressing mode?
How gdg are concatenated?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain the function of dd disp parameter?
what is “Cond= even” and “Cond=only”?
How is a type of file defined in the jcl that executes the cobol program?
Explain about ISPF/TSO Commands
Explain how can the submitting users racf authority be overridden in a job stream?
Explain in DD statement what is the use of DCB parameter?
What is the significance of addrspc parameter in the exec statement?
Explain the function of job statement in jcl?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How dummy is used in jcl?
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