View previous topic :: View next topic
|
Author |
Message |
chavansu
New User
Joined: 20 Nov 2008 Posts: 14 Location: California USA
|
|
|
|
Hi,
I have a AMT field defined as
WS-LK-MON-STMT-CHARGE PIC S9(9)V99
I want to process its ineteger part (S9(9)) and decimal part v99 seperately. Is there any fucntion which will return integer and decimal part seperately ?
Thanks. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Reference Modificaion(s)? |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
If USAGE is DISPLAY, WS-LK-MON-STMT-CHARGE can be redefined as having an integer part and a decimal part. If not, move it to a DISPLAY field, then redefine the DISPLAY field. See the PICTURE clause and USAGE clause in the Language Reference manual for more detail. |
|
Back to top |
|
|
|