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


Please Help Members By Posting Answers For Below Questions

Is it possible to code instream data in a PROC?

763


What is the difference between run mode and addressing mode?

642


How gdg are concatenated?

676


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

942


Explain the function of dd disp parameter?

607






what is “Cond= even” and “Cond=only”?

756


How is a type of file defined in the jcl that executes the cobol program?

716


Explain about ISPF/TSO Commands

1324


Explain how can the submitting users racf authority be overridden in a job stream?

681


Explain in DD statement what is the use of DCB parameter?

664


What is the significance of addrspc parameter in the exec statement?

628


Explain the function of job statement in jcl?

659


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1958


How dummy is used in jcl?

656


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

7099