Concatenation is also used to append files in the JCL for a single ddname. The order of appending will be from top FILE to bottom FILE. And the order of the RECORDS concatenated, stays still. MERGing files differ from concatenation, in a way that it will also SORT after appending.
When you specify multiple dataset to be concatenated in Joblib or Steplib, the library with largest blocksize will be picked first.
You can concatenate upto 255 sequential files and 16 PDS files with a single ddname/Joblib/Steplib.
If you have the better answer, then send it to us. We will display your answer after the approval.
What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB? GDG stands for generation data group. It is a dataset with versions that can be referenced absolutely or relatively. It is defined by an IDCAMS define generation datagroup execution.