IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Numeric Edited to Signed Packed Decimal


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Tue May 11, 2010 7:08 pm
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts Need Help with Packed Decimal Signs DFSORT/ICETOOL 4
Search our Forums:

Back to Top