Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
Command needed

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Warnings : 1

New User

Joined: 15 Oct 2004
Posts: 16

PostPosted: Sat Mar 25, 2006 12:25 am    Post subject: Command needed
Reply with quote


Is there any command to align the data from right to left.

for ex:
Below imagine Zeros as spaces as this is editor not supporting blank spaces
Sno ID data

1 1234 1111111111111
2 0234 2222222222222
3 0021 3333333333333
4 0456 4444444444444

Now in the final output the ID should aligned to left

SNo ID Data

1 1234 11111111111111
2 2340 22222222222222
3 2100 33333333333333
4 4560 44444444444444

Please let me know if is there any command


Back to top
View user's profile Send private message


New User

Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Sun Mar 26, 2006 7:40 pm    Post subject: alignment
Reply with quote

HI Naveen,

I assume this data you are talking about is in a dataset.

It is a rule that NUMERIC fields are right aligned and all other types of fields are left aligned.

I dont think there is such command to make numerical fields aligned to left. Instead what can be done is you make the field as alphanumeric, even though it contains numeric value.

Correct me if I am wrong.

Vinod Chawda
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts IBM Pcomm macro startmacro command do... JGregoire IBM Tools 0 Wed May 09, 2018 12:16 pm
No new posts How to use STDPARM with df command maxsubrat JCL & VSAM 5 Fri May 04, 2018 7:57 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us