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

Unicode to EBCDIC conversion issues


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashutosh.pr

New User


Joined: 13 Apr 2007
Posts: 36
Location: Pune

PostPosted: Wed Apr 01, 2009 12:22 pm
Reply with quote

Hi!
We are working on a Stored Proc which accepts data in Unicode format and using those values queries/updates in both EBCDIC and UNICODED tables.
The problem is that when we are trying to use the Unicoded input values to query the Unicoded tables we are getting the error like this:

SQLCODE = -302, ERROR: THE VALUE OF INPUT VARIABLE OR PARAMETER NUMBER 2 IS INVALID OR TOO LARGE FOR THE
TARGET COLUMN OR THE TARGET VALUE

This is when we compile the SP with the following options:
COMPILE PROCEDURE ===> CMNCOB3I
COMPILE PARMS ===> VBREF
LINK EDIT PARMS ===> RENT

Based on some inputs that we got from others we changed the parameters to :
COMPILE PROCEDURE ===> CMNCOB3
COMPILE PARMS ===> VBREF
LINK EDIT PARMS ===> RENT

After this we started getting the error that a cursor has not been declared.
(though it is declared)
Can someone throw some light on this?

Thanks !!!
Ashutosh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 01, 2009 12:47 pm
Reply with quote

do not post screen images

it is a waste of resources, a plain text cut and paste is more than enough

ask Your support ( they customized CHANGEMAN)
they should be able to tell the proper parameter for different situations
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Issues with VIEW DATASET Command CLIST & REXX 2
Search our Forums:

Back to Top