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
 

 

System Completion Code=0C6

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: System Completion Code=0C6
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: 3158
Location: Tucson AZ

PostPosted: Mon May 07, 2007 1:00 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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