IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Capture filename in the o/p


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepa.m

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Tue Oct 26, 2010 11:45 pm
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Oct 27, 2010 12:25 am
Reply with quote

Use a referback in the DSN parameter.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Oct 27, 2010 6:23 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Rexx to capture output from TSO HSEND... CLIST & REXX 9
No new posts To capture the job from savers CLIST & REXX 4
No new posts outtrap does not capture within an ed... CLIST & REXX 1
No new posts Best way to Capture Auth ID of the so... COBOL Programming 1
No new posts Connect:Direct Add yesterday date in ... All Other Mainframe Topics 3
Search our Forums:

Back to Top