Informatica Stored Procedure Transformation - transformation

Is there a way to call a stored procedure transformation which has no input and output parameters defined in the stored procedure? Please advise.

I think the easiest way is to create a dummy mapping (first create a dummy table in the source which has columns for different data types) and then call the stored procedure in the pre-sql or post-sql for the session.

Related

How to execute DB2 stored procedure multiple times to update multiple records

I want to create a mapping to update multiple records, more than 1000 records in DB2 using/calling a stored procedure. We will send the parameters to call the stored procedure. How to implement that?
Target is DB2 table
We should use DB2 stored procedure to update or insert records
How to create the mapping-target to execute stored procedure multiple times?
You can not use Informatica to run anything in loop. However you can put DC code into a stored procedure, setup and schedule a workflow to run at desired frequency.

Generate insert statement using a stored procedure for all tables in a database

Using a a stored procedure I want to generate insert scripts for all the tables available in database and the table name and the columns must be passed as a parameter, how to do this?

Oracle stored procedure runs in the end of session in Informatica stored procedure transformation mapping

I created an Informatica mapping for which source is a text file and target is also a text file. I am calling an Oracle stored procedure by using connected stored procedure transformation and in the next step I am reading the data from the table which is loaded in the stored procedure.
The problem is table is getting loaded but the data from the table is not read and it writes zero record in the target file. I think the stored procedure is run in the end of the session.
How can I make the stored procedure run in the flow and not in the end of the session?
The stored procedure is working fine if I call from SQL Developer or from informatica.
Flow:
Flat file source -> EXP trans -> Call stored procedure -> SQL trans (run query on table.) -> tgt file
Stored procedure flow:
truncate the table
load the table with some input data
Do you need the flat file source at all? Does it contain any paramters for the Stored Procedure? If not:
remove the Flat File source
create Source and Source Qualifier for your table
run the Stored Procedure as part of the Pre-SQL
Otherwise create two separate flows in your mapping, like:
Flat File Source -> Stored Procedure call -> Flat File Target
Source table -> Expression -> Flat File Target

pl/sql stored procedure writes to a different table

Good day Everyone,
I am fairly new to pl/sql stored procedure. I have a script that calls a stored procedure that will execute many stored procedures sequentially. Now my problem is one of my stored procedures writes to a different table instead to the table that it should write to. But when i run the stored procedure on its own it write to the correct table. Any ideas on why is this happening?

what happens if we create stored procedure without synonym?

I have created a stored procedure without having synonym , because i don't know the importance of synonym. In my project we use two databases for development and another just to create synonyms.I had created stored proc with three input parameters and two output parameters in development database and also I executed my stored proc, it compiled successfully and got output. My question is can I create in this fashion? what happens if there isn't synonym created for a stored procedure. If it is a must then how did I get the output?. can we create synonym for a stored procedure which has input and output parameters. can any one help me out from this. Thanks in advance. :)
Generally speaking, you do not need to create synonyms for stored procedures.
However there might be cases when synonym is needed.
A synonym is an alternative name for objects such as tables, views,
sequences, stored procedures, and other database objects.
You generally use synonyms when you are granting access to an object
from another schema and you don't want the users to have to worry
about knowing which schema owns the object.
So just read on oracle synonyms and decide whether you need to use them or not.
(synonyms, create synonym)

Resources