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
 
Command needed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
naveen_amudalapelly
Warnings : 1

New User


Joined: 15 Oct 2004
Posts: 17

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

Hi,

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

thanks,

Naveen
Back to top
View user's profile Send private message
References
Vinodc

New User


Joined: 01 Dec 2005
Posts: 38
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1