View previous topic :: View next topic
|
Author |
Message |
Singaiah
New User
Joined: 18 Nov 2008 Posts: 7 Location: Worcester
|
|
|
|
Hi ,
I have a input file with 10 bytes FB length. It has 200 records like below.
0123456789
abcdefghijkl
9876543210
lkjihgfedcba
.....
......
....
1234567890
I need the output file of length of 40 bytes FB length.
First 4 records as 1 record in output file.
Next 4 records as 2 record in output file.
0123456789abcdefghijkl9876543210lkjihgfedcba
.............
Could you please help me on this.
Thanks in advance. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
If the BLKSIZE is n*40, the quick and dirty method is to override INPUT LRECL=40 rather than 10 on a copy utility. Output is also LRECL=40.
Four records will be read as one record.
Code: |
//SYSUT1 DD DSN=your.file,DISP=OLD,LRECL=40 |
|
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
Back to top |
|
|
Singaiah
New User
Joined: 18 Nov 2008 Posts: 7 Location: Worcester
|
|
|
|
Thank you so much for your help on this. |
|
Back to top |
|
|
|