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 Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm

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