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 

Right Justified columns

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


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Wed Aug 04, 2010 8:31 am    Post subject: Right Justified columns Reply with quote

Hi,

I have input file:
Code:

ABC  1234567890 SIVA
DEF  4567890    NAVEEN
GHI  54567898   KOTRA   


the output should be:
Code:

ABC  1234567890 SIVA
DEF     4567890 NAVEEN
GHI    54567898 KOTRA   


Thanks,
Siva
Back to top
View user's profile Send private message
chandra
Beginner


Joined: 26 Sep 2003
Posts: 130
Topics: 36

PostPosted: Wed Aug 04, 2010 10:16 am    Post subject: Reply with quote

Hi Siva,

here is the sort card

Code:
//S1    EXEC  PGM=SORT
//SYSOUT    DD  SYSOUT=*
//SORTIN DD *
ABC  1234567890 SIVA
DEF  4567890    NAVEEN
GHI  54567898   KOTRA
//SORTOUT DD SYSOUT=*
//SYSIN    DD    *
  OPTION COPY
  INREC OVERLAY=(6:6,10,JFY=(SHIFT=RIGHT))
/*

_________________
Regards,
Chandra
Back to top
View user's profile Send private message
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