View previous topic :: View next topic
|
Author |
Message |
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi,
Once i have a dataset (150 positions), is there an easy way to split the
records, specifying the initial column ?
Like this :
+---5---10----5---20
AAAAAAAAAAAABBBBBBBB
AAAAAAAAAAAABBBBBBBB
AAAAAAAAAAAABBBBBBBB
Generating (Split in column 80)
+---5---10----5---20
AAAAAAAAAAAA
BBBBBBBB
AAAAAAAAAAAA
BBBBBBBB
AAAAAAAAAAAA
BBBBBBBB
Thanks,
Venkat
---------------------------------------------------------------------- |
|
Back to top |
|
|
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi,
I got the solution. Looks like this will work.
Code: |
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... input file (FB/80)
//SORTOUT DD DSN=... output file (FB/80)
//SYSIN DD *
OPTION COPY
OUTFIL BUILD=(1,12,80:X,/,13,8)
/*
|
I will try and let you know if it did not.
Thanks,
Reddy |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some reason you that you still did not use the "Code" tag?
Just curious. . .
I'd suggest a bit of practice (Preview) as Coding entry greatly improves the readability of data, code, jcl, etc.
d |
|
Back to top |
|
|
|