Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Capture filename in the o/p

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Tue Oct 26, 2010 11:45 pm    Post subject: Capture filename in the o/p
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: 1770
Location: Bloomington, IL

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

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

Moderator Team Head


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

PostPosted: Wed Oct 27, 2010 6:23 am    Post subject: Reply to: Capture filename in the o/p
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm
No new posts Change Data Capture Ron Klop DFSORT/ICETOOL 14 Fri Apr 15, 2016 2:56 pm
No new posts Sort,remove & capture dup recs ha... subratarec DFSORT/ICETOOL 21 Tue Apr 28, 2015 9:28 pm
No new posts PKZIP Query: How to Give Date and Tim... raj_mainframe08 All Other Mainframe Topics 2 Sun Mar 29, 2015 11:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us