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 > Stored Procedures from .4gl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-31-04, 10:00
lbuffoni lbuffoni is offline
Registered User
 
Join Date: May 2004
Posts: 2
Stored Procedures from .4gl

Hi,

I need to execute stored procedures from a 4gl program. Is it possible? If is, which is the syntax to do it? I didn't found it in the documentation

My versions are:

Database: Informix On-Line 5.10 (Unix)
Informix-4gl: 4.20.UC3

Thanks for your help

Luis
Reply With Quote
  #2 (permalink)  
Old 06-01-04, 09:37
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Luis,

I think that you run for example

LET out=myspl()

Or LET cmd="execute procedure myspl()" PREPARE st1 from cmd.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 06-02-04, 07:15
lbuffoni lbuffoni is offline
Registered User
 
Join Date: May 2004
Posts: 2
Hola Gustavo:

Gracias por tu ayuda. Lo que me dijiste anduvo perfecto. El problema era bastante simple, pero desconocía la existencia del "execute procedure".

Un saludo,
Luis
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