View previous topic :: :: View next topic
|
Author |
Message |
sindu.sagudam
New User
Joined: 02 May 2007 Posts: 8 Location: mumbai
|
|
|
|
i was trying to open a cursor(probably an empty one)
Is there possibility that it will give sco4 abend |
|
Back to top |
|
 |
|
|
mkk157
Active User
Joined: 17 May 2006 Posts: 310
|
|
|
|
Error Code : SOC4
Reason : This ABEND is caused by a hardware detected virtual address translation error, or a storage protection violation.
Description : Possible causes for this abend include: 1. Invalid address was referenced due to subscript error or bad parameter passed, 2. In group move, receiving record variable length defined incorrectly, 3. Tried moving variable length record that was larger than target field size, 4. Tried to read or write a file which was not open, 5. Used DD DUMMY with logic that moves high values to FD, 6. Tried to call within COBOL SORT I/O procedure, 7. Tried to goback in the SORT output procedure.
System Action : The system abnormally ends the task, unless a recovery routine was provided to handle the interruption. The hardware action is given in Principles of Operation.
User Reaponse : Correct the program logic error that generated the invalid address or storage reference. When analyzing the dump, Check to ensure that your program is obtaining, using, and freeing storage properly. Moving data to a zero address or to an address less than 512 (decimal) is a very frequent cause of this abend. |
|
Back to top |
|
 |
dick scherrer
Site Director
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
|
|
|
|
Hello,
A cursor open should not present an 0c4. Subsequent code may fail and that may generate an 0c4.
Is the program possibly performing an internal sort? An ungraceful exit from an internal sort often causes an 0c4. |
|
Back to top |
|
 |
|