View previous topic :: View next topic
|
Author |
Message |
TG Murphy
Active User
Joined: 23 Mar 2007 Posts: 148 Location: Ottawa Canada
|
|
|
|
Change I to PIC S9(4) COMP. (COMP will not cause an OC7). Note that changing I to COMP is not the solution to your problem - just a diagnostic experiment.
Display contents of I before and after the first MOVE.
Do not run under the debugger - to eliminate possibility that the debugger is somehow responsible for OC7. The only field involved in your MOVE statements that could cause an OC7 is I.
My bet is that OC7 is happening on another statement and that your debugger is misleading you. But perhaps not... |
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
Is there any redefinition of WS-BEFORE-AFTER. why don't you compile with TEST option and get the exact line where you are getting S0C7. It may be due to some other reason. I know you have expedited but still let us explore this way and see. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please note that this 0c7 has been resolved. TS posted the resolution last week. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Try move spaces to WS-Update remembering that ALL group moves are alpha numeric and you will then need to init any numeric fields with zero. Then init wk-cov-count and wk-dep-count to zeroes. Then move zero to WS-DEP-COUNT (1)
WS-COV-COUNT (1)
WS-DEP-COUNT (2)
WS-COV-COUNT (2)
10 WS-MEM-COV-DATA OCCURS 1 TO 100 TIMES
DEPENDING ON WK-COV-COUNT.
15 WS-MEM-BTBN PIC X(8) VALUE SPACES.
10 WS-MEM-DEP-DATA OCCURS 0 TO 20 TIMES
DEPENDING ON WK-DEP-COUNT.
WS-BEFORE-AFTER OCCURS 2 TIMES. |
|
Back to top |
|
|
|