How to call stored procedure from informix in datastage - datastage

Can you help me please? I have to call with job a stored procedure located in an Informix database (stored procedure with 4 parameters) and after store the data generated by stored procedure in a SQL Server database. Please tell me how to call this stored procedure (stored procedure stage do not support informix). Thanks in advance

Related

Hibernate Postgresql SQLXML

I use Spring boot with spring-jpa, database postgresql.
I'd like to call Stored Procedure via EntityManager.createStoredProcedureQuery.
One of stored procedure parameter is postgresql xml. If I transfer String as parameter I get an error. Could you explain me, please, how can I convert String to SQLXML in this situation?

What is the equivalent of sp_refreshsqlmodule (sys stored procedure) in SQL Server for PostgreSQL?

What is the equivalent of sp_refreshsqlmodule (sys stored procedure) in SQL Server for PostgreSQL?
sp_refreshsqlmodule
https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-refreshsqlmodule-transact-sql?view=sql-server-ver15
Updates the metadata for the specified non-schema-bound stored
procedure, user-defined function, view, DML trigger, database-level
DDL trigger, or server-level DDL trigger in the current database.
Persistent metadata for these objects, such as data types of
parameters, can become outdated because of changes to their underlying
objects.
In Postgres views, procedures and functions are created in a similar way as SQL Server's "with schema binding".
So there is no equivalent procedure in Postgres, because there is no need for it.

How to give stored procedured name dynamically in Talend tDBSP

I have a table name called abc in oracle db, which has two fields S.No, and procedure name. I am calling the S.No and procedure name, where SNO is input given by me (while executing the job, it asks for S.No). Once I get the procedure name related to that particular S.No, I am sending procedure name to tFixedFlowInput and from there, connecting to the tDBSP (Oracle) to execute the procedure.
In tDBSP (Oracle), I want to give the stored procedure name got from tFixedFlowInput dynamically. So, in future I need to give only the S.No, as input and it should execute the related stored procedure. Kindly help me in achieving this.
Also, the procedure has one input parameter.

Postgres Stored Procedure in Datastage

I am using Data Stage version 11.5. We recently migrated from Oracle to PostgreSQL. But now I am facing issues in how to call the PostgreSQL procedure in Datastage.
CALL executes a procedure.
If the procedure has any output parameters, then a result row will be returned, containing the values of those parameters.
See: https://www.postgresql.org/docs/current/sql-call.html

How to use stored procedure inside the stored procedure in Postgresql

I have been working on my code for our activity in our major comp sci subject. The task asks to update a certain field in the table in postgresql using stored procedure
I have already create a gettopemp() to retrieved the data in the table, and I want to retrieve the information of gettopemp() to my new stored procedure updatetopemp(). How to use stored procedure inside the stored procedure ???
If you want to pass a function name as a parameter and call that in your code, you'll have to use dynamic SQL.