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
 

 

-879 in Create Stored Procedure DDL

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

New User


Joined: 08 Oct 2009
Posts: 2
Location: Austin, TX

PostPosted: Thu Oct 08, 2009 3:30 am    Post subject: -879 in Create Stored Procedure DDL
Reply with quote

I'm getting a -879 when running the CREATE DDL for a COBOL stored procedure that I wrote. The Stored procedures returns as "OUT" values all sorts of DataTypes, such as those listed below from MVS\Quickref. The procedure Binds OK. Based on the message below, it sounds like i need to see the DBA to change the "MIXED DATA install option" for this DB2 subsystem. Does this sound correct?
This sounds strange since in the Stored Procedure I do a select on a Table containing the datatypes in question (and the Table does exist).
Thanks

****
A CREATE FUNCTION or CREATE PROCEDURE statement cannot define a
parameter or specify a RETURNS data type, for ASCII or EBCDIC data, as
CHAR FOR MIXED DATA, or GRAPHIC, VARGRAPHIC, or DBCLOB, when the MIXED DATA install option is set to NO.
*****
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1278
Location: Belgium

PostPosted: Thu Oct 08, 2009 1:24 pm    Post subject:
Reply with quote

It would help if you post the create statement.
Back to top
View user's profile Send private message
MikeLasater

New User


Joined: 08 Oct 2009
Posts: 2
Location: Austin, TX

PostPosted: Thu Oct 08, 2009 7:14 pm    Post subject:
Reply with quote

I added
PARAMETER CCSID UNICODE
to the CREATE DDL.
It no longer gets an SQL code

I'm wondering if I also need to change some COBOL compiler option to say that strings are stored in Unicode
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 Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm


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