sublak123 Beginner
Joined: 29 Jun 2017 Posts: 6 Topics: 6
|
Posted: Thu Nov 02, 2017 11:39 am Post subject: Left Justifying Trailer Count Field using Sort |
|
|
Code: |
OPTION COPY
OUTFIL FNAMES=SORTOUT,REMOVECC,NODETAIL,
TRAILER1=(1:1X,
2:C'TOT DEP FOR TODAY',
49:COUNT=(M10,LENGTH=8),/,
1:1X,
2:C'TOT DEP - NOT TERMED PREVIOUS DAY',
49:C'0',/,
1:1X,
2:C'TOT DEP - INITIALLY',
49:COUNT=(M10,LENGTH=8),/,
1:1X,
2:C'TOT DEP - NOT TERMED TODAY',
49:C'0')
|
I need to count total records from input department file and populate it into output file.
I am getting results with right justifying trailer count field.
I have to get trailer count field left justified. [49:COUNT=(M10,LENGTH=8)]
Since in trailer record we can't do left justify, Please suggest me the alternate way to do this. |
|