S0C4 (or ONCODE=8094) Protection Exception in PL/I TRANSFER
search cancel

S0C4 (or ONCODE=8094) Protection Exception in PL/I TRANSFER

book

Article ID: 221181

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

If an online PL/I program attempts to issue a TRANSFER to another PL/I program using PL/I V3 or later, a protection exception may occur.

IDMS DC128010 V65 T58 IBM0534S ONCODE=8094  Protection exception        
IDMS DC128010 V65 T58          From entry point _Begin_109_Blk_2 at compile unit offset +00000140 at entry
IDMS DC128010 V65 T58          offset +00000140 at address 421BCF08.    
IDMS DC027005 V65 T58 TASK:IJHT001 PROG:IJHP002 ABENDED WITH CODE S0C4  AND REASON CODE 0004

 

Environment

Release : All supported releases.
Component : IDMS/DC

Cause

This is an internal IDMS problem currently under investigation.

Resolution

This abend can be circumvented by changing the DCL for IDMSP in both programs from the documented

DCL   IDMSP   ENTRY OPTIONS(INTER,ASM);

to this:

DCL   IDMSP   EXT ENTRY OPTIONS(LINKAGE(SYSTEM));

This will cause IDMS to build the PL/I parameter list according to pre-V3 specifications and as such the S0C4 will not occur.