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
 
Numeric Edited to Signed Packed Decimal

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

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Tue May 11, 2010 6:05 pm    Post subject: Numeric Edited to Signed Packed Decimal
Reply with quote

Hi Team,

I have an input file having a numeric field as 9(9).99- format. To make it readable for the next program, i want it in s9(09)V99 COMP-3 format.

I have done this in INSPECT / UNSTRING. but took many steps. Can anyone help with me with anything which is simple. So it can be used for many fields in my program.

Thanks.
Nirmal
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue May 11, 2010 7:08 pm    Post subject:
Reply with quote

if the picture clause is PIC 9(9).99- then it is a numeric edited item.
and what do you mean by readable? arithmetically computable?

Have you looked at 1.6.6.3 Converting to numbers (NUMVAL, NUMVAL-C)in the application Programmers guide
and 7.1.32 NUMVALin the application programmers reference?

as well as performing a search in this forum?
this topic has been discussed many, many times.
Back to top
View user's profile Send private message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Tue May 11, 2010 7:56 pm    Post subject:
Reply with quote

Hi Dick,

Thanks for bringing this up. First of all i have not encountered anything like this. So even if they have discussed, i would not know. I searched in my cobol manuals and couldn't find any. So i raised this here. The forums are a place where i can ask my questions and people who have had similar experience can help.

There nothing here to Complain!.

Thanks for the links.....

Nirmal
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Tue May 11, 2010 9:30 pm    Post subject:
Reply with quote

Hi Nirmal,
Quote:
There nothing here to Complain!.
Clearly you have not read the Forum rules... have a look into that you would understand Dbz's (Dick's) comment... icon_neutral.gif
and also I shouldn't be updating you all these.. coz as per forum joining date, you are senior to me ... icon_razz.gif
Back to top
View user's profile Send private message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Wed May 12, 2010 6:58 am    Post subject:
Reply with quote

HI

Yeh, its been years, since I read it!... I will take a look at it.

Thanks
Nirmal
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed May 12, 2010 10:47 am    Post subject:
Reply with quote

nirmal.poikaikumaran wrote:
HI

Yeh, its been years, since I read it!... I will take a look at it.

Thanks
Nirmal

what ? Manuals or forum rule? icon_wink.gif
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed May 12, 2010 10:51 am    Post subject:
Reply with quote

Escapa wrote:
nirmal.poikaikumaran wrote:
HI

Yeh, its been years, since I read it!... I will take a look at it.

Thanks
Nirmal

what ? Manuals or forum rule? icon_wink.gif
icon_lol.gif icon_lol.gif icon_lol.gif ... Good One Sambhaji... icon_biggrin.gif
Back to top
View user's profile Send private message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Wed May 12, 2010 10:03 pm    Post subject:
Reply with quote

Hi

Hhahahahaha The forum rules .......


Nirmal
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 Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 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 Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

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