|
|
| Author |
Message |
santhoshi_csv
New User
Joined: 07 Mar 2007 Posts: 2 Location: Karnataka
|
|
|
|
Hi,
In field 1, I have the character PIC X(1) VALUE '-'. In field 2, I have PIC 9(10).
Now I want to read this field 1 and 2 togetehr as a signed field.
eg. Field 1 : -
Field 2 : 4750
I want to read this as -4750 so that i can use it to SUM fields in SORT card.
If I include the field 1 & 2 for SUM FIELDS, it is not taking the character '-' as negative sign.
Please advise.
TIA,
San |
|
| Back to top |
|
 |
References
|
Posted: Sun May 11, 2008 12:01 pm Post subject: Re: How to recognize charater '-' to the sign '-'(negative) |
 |
|
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1117 Location: At my desk
|
|
|
|
How do you have the field defined?
Have you looked at the SFF format? |
|
| Back to top |
|
 |
santhoshi_csv
New User
Joined: 07 Mar 2007 Posts: 2 Location: Karnataka
|
|
|
|
| I have to look at SFF yet. |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Moderator
Joined: 15 Feb 2005 Posts: 4150 Location: San Jose, CA
|
|
| Back to top |
|
 |
|
|