IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Merge horizontal


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

Active User


Joined: 02 Jan 2009
Posts: 115
Location: Hyderabad

PostPosted: Fri Aug 29, 2014 8:47 am
Reply with quote

Hello experts,

I have 2 datasets. One is 250 byte other is 150 byte

File 1 - Has spaces between position 130-150. Rest of the positions have valid values
File 2 - Has valid values at position 130-150. Rest of the positions also have valid values

Is there a way to copy file 2 contents at position 130-150 to file1 at same position. The data is packed decimal.

Any help on this is appreciated.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7312
Location: Inside the Matrix

PostPosted: Fri Aug 29, 2014 12:14 pm
Reply with quote

Certainly possible. How do the files match? One-for-one? It would also be a good time to make the fields non-packed :-)
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Merge GDG versions JCL & VSAM 5
No new posts Merge data from record pairs DFSORT/ICETOOL 5
No new posts Merge two files and sum up the count ... JCL & VSAM 6
No new posts Merge 2 records SYNCSORT 19
No new posts Can we merge these two sort cards int... JCL & VSAM 2

Back to Top