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
 

 

SyncSort requirement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SyncSort requirement
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: 2150
Location: At my coffee table

PostPosted: Tue Apr 15, 2008 7:10 pm    Post subject:
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    Post subject: Reply to: SyncSort requirement
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


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