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

SyncSort requirement


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rashmi123

New User


Joined: 04 Jun 2007
Posts: 25
Location: Pune

PostPosted: Tue Apr 15, 2008 6:21 pm
Reply with quote

Hi,

I have 2, 60-byte length files. I want them formatted in the following manner:

Input File: File 1

----+----1----+----2----+----3----+----4----+----5----+----6

111111112222222222222222222222222222222222222222
333333334444444444444444444444444444444444444444

Input File: File 2

----+----1----+----2----+----3----+----4----+----5----+----6

111111115555555555555555555555555555555555555555
333333336666666666666666666666666666666666666666

Output:

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1

1111111122222222222222222222222222222222222222225555555555555555555555555555555555555555
3333333344444444444444444444444444444444444444446666666666666666666666666666666666666666

The input files are already formatted. Just the last 50 bytes of the Input file - 2 need to be concatenated with the fields of Input file - 1.
I have SYNCSORT 1.1CR in my shop.

Regards,
Rashmi
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 15, 2008 7:10 pm
Reply with quote

IIRC, JOIN is avalable in 1.2......

What does your input realy look like?

----+----1----+----2----+----3----+----4----+----5----+----6

111111112222222222222222222222222222222222222222
333333334444444444444444444444444444444444444444

OR
Code:
----+----1----+----2----+----3----+----4----+----5----+----6

111111112222222222222222222222222222222222222222
333333334444444444444444444444444444444444444444


Or
Code:
----+----1----+----2----+----3----+----4----+----5----+----6

111111111122222222222222222222222222222222222222222222222222
333333333344444444444444444444444444444444444444444444444444
Back to top
View user's profile Send private message
rashmi123

New User


Joined: 04 Jun 2007
Posts: 25
Location: Pune

PostPosted: Wed Apr 16, 2008 2:07 pm
Reply with quote

The input is as per the 2 image you have posted.

Thanks,
Rashmi
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
No new posts Syncsort "Y2C" Function SYNCSORT 1
No new posts Arithmetic division using Syncsort SYNCSORT 6
Search our Forums:

Back to Top