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: 94
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: 7315

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: 94
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: 1696
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: 7315

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: 1788
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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