View previous topic :: View next topic
|
Author |
Message |
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Code: |
IF(PRIOR-PAY-INDEX(6) IS NUMERIC) AND
(CURRENT-PAY-INDEX(12) IS NUMERIC) AND
(CURRENT-PAY-INDEX(1) IS NUMERIC) THEN
MOVE PRIOR-PAY-INDEX(6) TO LS-PAYDEX18
MOVE CURRENT-PAY-INDEX(12) TO LS-PAYDEX12
DISPLAY CURRENT-PAY-INDEX(1) ':CURRENT PDX'
MOVE CURRENT-PAY-INDEX(1) TO LS-PAYDEX1
ELSE
DISPLAY 'PAYDEX VALUE NOT VALID'
END-IF. |
CURRENT-PAY-INDEX(1) pic comp-3 s9(3).
LS-PAYDEX1 pic 9(04).
I have an error in the statement,
MOVE CURRENT-PAY-INDEX(1) TO LS-PAYDEX1
its s0c4 abend.
CEE3204S The system detected a protection exception (System Completion Code=0C4)
Value of current-pay-index(1) is 999(from the display statement).
is the spool output of the display statement.
But the move statement causes an error,
I have tried my best,
I have no idea about this please help.
Thanks,
Shan. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
S0C4 is a storage protection abend as the CEE3204S message indicates. Where are the LS-PAYDEX variables defined? If they are in LINKAGE SECTION, what does your PROCEDURE DIVISION USING statement look like? In other words, if they are LINKAGE SECTION items, how do they obtain addressability? |
|
Back to top |
|
|
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Thanks Robert,
Also extremely sorry for wasting your time, I dint specify the linkage section var(LS-paydex1) in using.
My mistake. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Glad we got that one cleared up, then! Thanks for letting us know. |
|
Back to top |
|
|
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Robert,
I have one more question,
Just by looking at 'CEE3204S' how did you identify that it is an addressibility issue?
what is CEE3204S??
Do we have a manual for all these code's?
If we have please send me the link.
Thanks,
Shan. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|