View previous topic :: View next topic
|
Author |
Message |
Deepa.m
New User
Joined: 28 Apr 2005 Posts: 99
|
|
|
|
Hi,
I have a sort step which merges 4 files and creates a sortout and date is one qualifier in the dsn
lrecl-4023
abc.dvd.vsn1
abc.dfe.msn1
sbc.fes.ksn1
dse.ghe.jul1
sort out filename - lrecl 4023
cvc.idn.dyymmdd.v01 (there is exisitng process to get daily date)
cvc.idn.d101027.v01
I need to create another control file in the same proc which have the sortout file name and record count. how to pass sortout file name to next step?
control file data: lrecl =80
cvc.idn.d101027.v01 0072
how to approach this and need a easy solution. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Use a referback in the DSN parameter. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Deepa, if you look at the information that was recently added concerning the new features that have been added to DFSORT, one of them is the ability to use symbolics passed via a PARM= statement. If you can use symbolics in the JCL to create the dataset name, then that would be one method. |
|
Back to top |
|
|
|