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
 

 

Sync sort - Transpose

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
TS70363

New User


Joined: 07 Apr 2010
Posts: 93
Location: Bangalore, India

PostPosted: Tue Jun 28, 2016 3:18 am    Post subject: Sync sort - Transpose
Reply with quote

Hi,

Is it possible to concatenate all the records in a file?

My file may have up to 100 records, each 16 bytes and hence the output record may be 100*16 bytes...

Input file
Code:
11111111AAAAAAAA
22222222BBBBBBBB


Output File
Code:
11111111AAAAAAAA22222222BBBBBBBB



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

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Jun 28, 2016 3:30 am    Post subject: Reply to: Sync sort - Transpose
Reply with quote

What LRECL were you considering for the output file? What RECFM?
Back to top
View user's profile Send private message
TS70363

New User


Joined: 07 Apr 2010
Posts: 93
Location: Bangalore, India

PostPosted: Tue Jun 28, 2016 3:52 am    Post subject: Reply to: Sync sort - Transpose
Reply with quote

Output RECFM = VB, LRECL=2004
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Tue Jun 28, 2016 8:20 am    Post subject:
Reply with quote

Why would you not do research and try ? Try this or look for RESIZE if supported by snycsort
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Jun 28, 2016 10:28 am    Post subject: Reply to: Sync sort - Transpose
Reply with quote

If you have an undocumented RESIZE, that will be the best bet. You'll need a USING with OUTFIL to convert the fixed to variable (using FTOV or CONVERT).

Otherwise there is the SUM or WHEN=GROUP or SPLICE.

Although you'd end up with lots of repetitive stuff, you don't type it out yourself :-)
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Tue Jun 28, 2016 2:44 pm    Post subject:
Reply with quote

As you specifically specify Syncsort and there is a specigfic part of the forum for Syncsort queries I fail to see why you have posted in the JCL part of the forum.

Moved.
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 -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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