View previous topic :: View next topic |
Author |
Message |
Devi Beginner
Joined: 29 Oct 2004 Posts: 6 Topics: 3 Location: chennai
|
Posted: Wed Jun 15, 2005 4:49 am Post subject: Moving values to comp-3 |
|
|
hi
whille preparing test cases, how can i give test case for comp-3 item.
suppose, item declared as s9(4)v9(2) comp-3
if i want to give 63.34 as input(test case), then can i give just 63.34 ?
plz help me. _________________ "A faithful friend is the medicine of life." |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Jun 15, 2005 5:29 am Post subject: |
|
|
Devi,
you can simply code
Code: |
01 WS-COMP3 PIC S9(04)V9(02) COMP-3.
MOVE 63.64 TO WS-COMP-3
|
To move negative values
Code: |
MOVE -63.64 TO WS-COMP-3
|
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|