View previous topic :: View next topic
|
Author |
Message |
nirmal.poikaikumaran
New User
Joined: 29 Nov 2005 Posts: 66 Location: Bangalore
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
nirmal.poikaikumaran
New User
Joined: 29 Nov 2005 Posts: 66 Location: Bangalore
|
|
|
|
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 |
|
|
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
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...
and also I shouldn't be updating you all these.. coz as per forum joining date, you are senior to me ... |
|
Back to top |
|
|
nirmal.poikaikumaran
New User
Joined: 29 Nov 2005 Posts: 66 Location: Bangalore
|
|
|
|
HI
Yeh, its been years, since I read it!... I will take a look at it.
Thanks
Nirmal |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
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? |
|
Back to top |
|
|
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
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? |
... Good One Sambhaji... |
|
Back to top |
|
|
nirmal.poikaikumaran
New User
Joined: 29 Nov 2005 Posts: 66 Location: Bangalore
|
|
|
|
Hi
Hhahahahaha The forum rules .......
Nirmal |
|
Back to top |
|
|
|