Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us