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
 

 

How to left justify the numeric data item

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
venkat_India

New User


Joined: 18 Dec 2005
Posts: 7

PostPosted: Tue Feb 07, 2006 1:47 pm    Post subject: How to left justify the numeric data item
Reply with quote

How to left Justify the value in the Numeric data item.
Back to top
View user's profile Send private message

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Feb 07, 2006 1:56 pm    Post subject:
Reply with quote

Hi Venkat,
I think you need to move the numeric item in to alphanumeric field declared with explicit left justified.

This should solve your purpose.
Back to top
View user's profile Send private message
venkat_India

New User


Joined: 18 Dec 2005
Posts: 7

PostPosted: Tue Feb 07, 2006 2:16 pm    Post subject: Re: How to left justify the numeric data item
Reply with quote

Hi,
Thank You Parikshit. Is it possible to make the numeric data item left justified.

Regards
Venkat.
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Feb 07, 2006 5:58 pm    Post subject:
Reply with quote

Hi,

first you move numeric item to alpha numeric item and then move to character item it is automatically left justified ......I feel

correct me if I am wrong.....

pavan
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Feb 07, 2006 10:21 pm    Post subject: Re: How to left justify the numeric data item
Reply with quote

venkat_India,

Quote:
Thank You Parikshit. Is it possible to make the numeric data item left justified.

Numeric data items can not be justified using JUSTIFIED Clause; because they are always aligned by decimal point.

You need to move them to alphanumeric variables as per suggested above.

Regards,

Priyesh.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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