Page 1 of 1
how to concatenate the datasets
Posted: Wed Oct 11, 2006 5:55 pm
by bnirmalraj
resove me this!!!
how to concatenate the datasets
Posted: Wed Oct 11, 2006 8:45 pm
by Frank Yaeger
It's not clear what exactly you're asking. If you want to concatenate input data sets for some program, you'd use DD statements like this:
Code: Select all
//ddname DD DSN=... file1
// DD DSN=... file2
// DD DSN=... file3
...
If you want to do something else, explain clearly what it is you want to do.
concatenate of data sets
Posted: Thu Jul 21, 2011 7:12 pm
by ramana murthy
to concatenate PS(physical sequential) data sets we can use the ibm utility
IEBGENER program
and specify the files in this way
//JOB1 JOB .....................
//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD DSN="FILE1",DISP=SHR,
DD DSN="FILE2",DISP=SHR,
DD DSN="FILE3",DISP=SHR
//SYSUT2 DD DSN="NEWFILE",DISP=(NEW,CATLG,DELETE)
DCB=(...............),
SPACE=(...........)
where record length should be file1(rec len)> file2(rec len)> file3(reclen)
the result is stored in output file NEW FILE
we cannot concatenate PDS(partitioned data set) files.as they have members
any query :mail me at
ramanamurthyt87@gmail.com