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
 
-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: 1281
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 Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts How do you create Eclipse based dialogs jasorn IBM Tools 0 Thu Aug 03, 2017 5:05 pm

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