If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Type (type_name) not found

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-03, 02:06
sayasaya sayasaya is offline
Registered User
 
Join Date: Oct 2003
Posts: 9
Red face Type (type_name) not found

Hi All
I'm using IDS 9.21 win NT as OS. I created one procedure like this:

CREATE PROCEDURE "informix".cl_griev_days(t_seq_no integer,t_code integer)

RETURNING integer,integer;

DEFINE t_ap_sequence_no integer;
DEFINE t_ap_days integer;

SELECT cl_griev_seq_no,today-cl_griev_date

INTO t_ap_sequence_no,t_ap_days

FROM cl_grievance_table

WHERE cl_department_code=set{t_code} and cl_griev_seq_no=t_seq_no;

RETURN t_ap_sequence_no,t_ap_days WITH RESUME;
END PROCEDURE;

It is working fine in another server (A) with same configuration. But it is not working on another server (B). When I executing the procedure giving error like

#9628: Type () not found
When I seen informix Error messages I found this

"The specified type_name could not be found. Before you can use an opaque type, you must create it with the CREATE OPAQUE TYPE statement."

Can any one plz help me to fix the problem.

Thanq so much.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On