IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

System Completion Code=0C6


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arrtheey

New User


Joined: 31 Jul 2006
Posts: 2

PostPosted: Mon May 07, 2007 12:12 pm
Reply with quote

I am not able to find why a S0C6 problem ocurs . The main program ABC123 and subprogram ABCPDT(dynamic call). We also generated the plan and package for both the programs.
The S0C6 problem arises when ABCPDT is trying to read a table TABPARM table. The program tries to read this table for PARAM_KEY with the value AB200711. The value is generated by the program itself which is a prohibited date.

The program fails while making the following call which corresponds to TABPARM table.

CALL "DSNHADDR" USING SQL-AVAR-ADDRS1 IN
SQL-AVAR-LIST4 PARAM-DATA OF DCLTABPARM SQL-NULL.

Not sure, if it could be a access problem. I found that the same table is read successfully inside the main program ABC123.

ERROR : The system detected a specification exception (System Completion Code=0C6).
From compile unit ABCPDT at entry point ABCPDT at compile unit offset +475EC8B9 address 780AE71.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon May 07, 2007 1:00 pm
Reply with quote

I'm sorry, but what is this?
Quote:
CALL "DSNHADDR" USING SQL-AVAR-ADDRS1 IN SQL-AVAR-LIST4 PARAM-DATA OF DCLTABPARM SQL-NULL.
Back to top
View user's profile Send private message
arrtheey

New User


Joined: 31 Jul 2006
Posts: 2

PostPosted: Mon May 07, 2007 1:05 pm
Reply with quote

It fails when it does a DB2 select . The above call is a DB2 select equivalent in Telon generated format.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top