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
 

 

Data from one record to another file

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

New User


Joined: 24 Nov 2005
Posts: 49
Location: chennai

PostPosted: Tue Sep 08, 2015 9:17 pm    Post subject: Data from one record to another file
Reply with quote

Hi,

Like the Parameter substitution shown here Is it possible in DFSORT to pass a value from an existing input Header record of a report file.

Example positions (78 to 85) from input header record of a already existing file into a newly built report file with header as HEADER1=(8:78,8)??


Thanks,
Akash
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Tue Sep 08, 2015 10:12 pm    Post subject: Reply to: Data from one record to another file
Reply with quote

There are examples here of a small step to create symbol/SYMNAME and using that in a subsequent step, the one which actually does the work.
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 578
Location: USA

PostPosted: Tue Sep 08, 2015 10:17 pm    Post subject:
Reply with quote

Yes it is possible and many ways to bake a cake. Please provide sample input data and expected output.

Thanks,
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 335
Location: USA

PostPosted: Tue Sep 08, 2015 10:32 pm    Post subject: Reply to: Data from one record to another file
Reply with quote

I don't understand the relation between the question and the linked post.

You want to copy '8 bytes of data from the header record of an existing file' to 'a header record of a new file'. Is this the whole requirement?

As sqlcode1 said, sample data and expected output needed.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Tue Sep 08, 2015 10:44 pm    Post subject: Reply to: Data from one record to another file
Reply with quote

The question was originally tagged onto the linked question, so I added the link when I split to a new topic.
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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