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 OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

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