MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Left Justifying Trailer Count Field using Sort

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
sublak123
Beginner


Joined: 29 Jun 2017
Posts: 6
Topics: 6

PostPosted: Thu Nov 02, 2017 11:39 am    Post subject: Left Justifying Trailer Count Field using Sort Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Thu Nov 02, 2017 2:11 pm    Post subject: Reply with quote

sublak123,

Are you outta of your mind? bonk You asked a similar question a few days back and got a solution for it and yet again you ask the same question?

https://www.mvsforums.com/helpboards/viewtopic.php?t=12826

This is ridiculous. angry
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group