View previous topic :: View next topic
|
Author |
Message |
TS70363
New User
Joined: 07 Apr 2010 Posts: 94 Location: Bangalore, India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
What LRECL were you considering for the output file? What RECFM? |
|
Back to top |
|
|
TS70363
New User
Joined: 07 Apr 2010 Posts: 94 Location: Bangalore, India
|
|
|
|
Output RECFM = VB, LRECL=2004 |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
Why would you not do research and try ? Try this or look for RESIZE if supported by snycsort |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
|