Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 1 Tue Sep 26, 2017 3:35 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm

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