Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

S0C4 abend while trying to open an empty cursor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sindu.sagudam

New User


Joined: 02 May 2007
Posts: 8
Location: mumbai

PostPosted: Wed May 02, 2007 6:18 pm    Post subject: S0C4 abend while trying to open an empty cursor
Reply with quote

i was trying to open a cursor(probably an empty one)
Is there possibility that it will give sco4 abend
Back to top
View user's profile Send private message

mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Wed May 02, 2007 7:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 02, 2007 8:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us