Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can i display my string with justified right

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
padmavathi

New User


Joined: 25 Mar 2008
Posts: 6
Location: chennai

PostPosted: Thu May 08, 2008 1:24 pm    Post subject: How can i display my string with justified right
Reply with quote

hi
i need to display my string right aligned
for ex: if my string is "welcome "
i have to display it as " welcome"
Back to top
View user's profile Send private message
References
PostPosted: Thu May 08, 2008 1:24 pm    Post subject: Re: How can i display my string with justified right Reply with quote

dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1050
Location: germany

PostPosted: Thu May 08, 2008 1:43 pm    Post subject:
Reply with quote

according to the documentation (i know, hard to find and nearly impossible to decipher) the following data definition will provide what you need:

lv-num ref-name pic x(??) justified right.


move <your-string> to ref-name
Back to top
View user's profile Send private message
padmavathi

New User


Joined: 25 Mar 2008
Posts: 6
Location: chennai

PostPosted: Thu May 08, 2008 4:41 pm    Post subject: hi
Reply with quote

thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1