IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Command needed


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveen_amudalapelly
Warnings : 1

New User


Joined: 15 Oct 2004
Posts: 16

PostPosted: Sat Mar 25, 2006 12:25 am
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
Vinodc

New User


Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Sun Mar 26, 2006 7:40 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top