title: Informix: procedure with output parameters?
body: <p>I searched a lot, but couldn't find anything.. I just want to ask if there's any way to create and call a procedure (<strong>Informix</strong>) with out parameters. I know how to return one or more values (for procedures and for functions), but this is not what I want. It would be really strange, if Informix does not allow output parameters..</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong>EDIT</strong>: Yes, I saw it's possible, but I still can't execute such procedure. For example:</p>
  
  <pre><code>  CREATE PROCEDURE mytest(batch INT,OUT p_out INT)  
    DEFINE inc INTEGER;  
    LET inc = 1;  
    LET p_out = 5;  
    END PROCEDURE;  
  </code></pre>
  
  <p>and what I receive is:  </p>
  
  <p><strong>The routine mytest can not be resolved</strong></p>
  
  <p>and this happens only on executing functions with output parameters..</p>