DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
tricampeon81
Participant



Joined: 19 Apr 2018
Posts: 16
Location: chile
Points: 103

Post Posted: Mon May 07, 2018 12:32 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Server
OS: Windows
Additional info: Como se puede hacer un inser
amigos tengo este bloque
DECLARE
vs_Rut VARCHAR2(90);
BEGIN
--
FOR cur_1 IN ( SELECT rut
FROM TB_NEON_TMP_COBRANZA_PPASO
WHERE ROWNUM <11)
--
LOOP
DBMS_OUTPUT.PUT_LINE('Imprimo mes a recorrer ' || cur_1.rut );
--
--
END LOOP;
--
--
END;

en la parte de transformación nesecito inserta a otra tabla se puede desde pl/sql block

_________________
dfgdfg
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42533
Location: Denver, CO
Points: 218869

Post Posted: Mon May 07, 2018 2:37 pm Reply with quote    Back to top    

So... not a DataStage question but rather an Oracle PL/SQL coding question?

_________________
-craig

I know I don't say this enough, but I like when you talk to me. It's much better than when nobody talks to me. Or when people that I don't like will not stop talking to me.
Rate this response:  
Not yet rated
tricampeon81
Participant



Joined: 19 Apr 2018
Posts: 16
Location: chile
Points: 103

Post Posted: Mon May 07, 2018 3:13 pm Reply with quote    Back to top    

in transformation we need to tell him that now he does not take the field rut but the variable here trasformes stage

_________________
dfgdfg
Rate this response:  
Not yet rated
tricampeon81
Participant



Joined: 19 Apr 2018
Posts: 16
Location: chile
Points: 103

Post Posted: Mon May 07, 2018 3:27 pm Reply with quote    Back to top    

pl/sql blcok how a variable happened

_________________
dfgdfg
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours