Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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
naveen_amudalapelly
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

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    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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us