×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need to EXEC an Oracle Procedure From Within WebFOCUS

Need to EXEC an Oracle Procedure From Within WebFOCUS

Need to EXEC an Oracle Procedure From Within WebFOCUS

(OP)
We have a PROCEDURE which resides in Oracle.
We want to perform an EXEC of this procedure from
a Webfocus FEX.

Can this be done?

We can do it for Stored Procedures which reside in MS SQL

Thanks,

Leo   

RE: Need to EXEC an Oracle Procedure From Within WebFOCUS

Sure. Here's what the doc says:

The supported syntax to call a stored procedure is shown below. It is recommended that you use the syntax below instead of the previously supported CALLORA syntax.

ENGINE SQLORA
EX SAMPLE PARM1,PARM2,PARM3...;
TABLE FILE SQLOUT
END

The server supports invocation of stored procedures written according to the following rules:

. All scalar parameters (IN, OUT, and INOUT) are supported.

. A cursor must be defined with:

    The TYPE statement in a PACKAGE or PROCEDURE.

    An associated record layout of the answer set to be returned.

. The cursor must be opened in the procedure.

. No fetching is allowed in the stored procedure. The Adapter for Oracle fetches the answer set.

. Any messages must be issued using the RAISE APPLICATION ERROR method.

Note: Any application error that is issued by the stored procedure is available in the server variable &ORAMSGTXT.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close