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: 19
Location: chile
Points: 169

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: 42663
Location: Denver, CO
Points: 219713

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

And I'm hovering like a fly, waiting for the windshield on the freeway...
Rate this response:  
Not yet rated
tricampeon81
Participant



Joined: 19 Apr 2018
Posts: 19
Location: chile
Points: 169

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: 19
Location: chile
Points: 169

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