|
View previous topic :: View next topic
|
| Author |
Message |
Mahua Mitra
New User
Joined: 26 Apr 2007 Posts: 49 Location: Delhi
|
|
|
|
In Syncsort, what does the following mean?
OUTFIL OUTREC=(2X,
006,08,
1X,
019,20,
1X,
045,20,
Thanks |
|
| Back to top |
|
 |
vicky10001 Warnings : 1 Active User
.jpg)
Joined: 13 Jul 2005 Posts: 136
|
|
|
|
Q)In Syncsort, what does the following mean?
OUTFIL OUTREC=(2X,
006,08,
1X,
019,20,
1X,
045,20,
Answer
The o/p file is reformatted for 2 spaces ,from pos 6th to 8 bytes will move the data o/p file,1 space ...etc |
|
| Back to top |
|
 |
Mahua Mitra
New User
Joined: 26 Apr 2007 Posts: 49 Location: Delhi
|
|
|
|
You mean, in the first case that is 2X, 006,08
4th and 5th byte is spaces , 6th to 13th byte is data?
or 6th to 8th byte is data??
if that is the case,then what abt the first 3 bytes? |
|
| Back to top |
|
 |
ibmmainframesyntel
Active User
Joined: 26 Feb 2007 Posts: 126 Location: Chennai
|
|
|
|
Hi Mitra,
OUTFIL OUTREC=(2X,
006,08,
1X,
019,20,
1X,
045,20,
According to ur control card,
2X- Two spaces in first two position in output file.
006,08 - data from input file is moved to 3rd-10th position in output file
1X - one space is in 11th position of output file.
019,20 - data from input file is moved to 12th- 31st position in output file
1X - one space is in 32nd position of output file.
045,20- data from input file is moved to 33rd- 52nd position in output file
006,08 - means - In input file from 6th position,8 bytes is moved to output file
019,20 - means - In input file from 19th position,20 bytes is moved to output file
045,20 - means - In input file from 45th position,20 bytes is moved to output file |
|
| Back to top |
|
 |
ibmmainframesyntel
Active User
Joined: 26 Feb 2007 Posts: 126 Location: Chennai
|
|
|
|
Ur output will be..
123456789012345678901234567890123456789012345678901234567890
XXDATA1....XDATA2.........................XData3........................................ |
|
| Back to top |
|
 |
Mahua Mitra
New User
Joined: 26 Apr 2007 Posts: 49 Location: Delhi
|
|
|
|
Thank u so much
Mahua |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|