Search found 531 matches

by prasson_ibm
Mon Aug 05, 2013 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

Hi, I am combining first 10 records in transformer.Below is the logic:- 1. running below command in sequential file stage:- head -10 <FileName>.* Created sequence number column in sequential file stage. 2. Created stage variable and merged all 10 records in one column. Svar=Svar:Inputcolumn.Payload:...
by prasson_ibm
Mon Aug 05, 2013 9:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

Hi Chullet,

Thanks for your input,as far as i know it is BLOB column and they are asking me to pass top ten rows from file to this blob.
by prasson_ibm
Mon Aug 05, 2013 6:45 am
Forum: General
Topic: login failed to connect to datastage server through client
Replies: 8
Views: 10091

Hi priyadarshikunal I am not able to connect to server from any client machine. Is it a new installation? No i am working on this server since last oct. Were you able to connect to the server before this issue popped up? Yes Did you do any authentication type changes in the server such as OS authent...
by prasson_ibm
Mon Aug 05, 2013 4:41 am
Forum: General
Topic: login failed to connect to datastage server through client
Replies: 8
Views: 10091

I am able to login to server using xmeta userid and password and was is also running.

Code: Select all

dsadm@ait-etl01dev:/home/dsadm $ netstat -a|grep 9043
tcp        0      0  *.9043                 *.*                    LISTEN
by prasson_ibm
Mon Aug 05, 2013 4:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

Can't i convert the string input data into HEX( using basic transformer stage) and pass as binary large object to SP?
by prasson_ibm
Mon Aug 05, 2013 3:38 am
Forum: General
Topic: login failed to connect to datastage server through client
Replies: 8
Views: 10091

login failed to connect to datastage server through client

Hi, I am unable to connect to datastage server when i login to client i get below error:- :- Failed to authenticate the current user against the selected Domain: Session id for principal [username] is null. Either the client is not using the ASB authentication service, or your server JAAS configurat...
by prasson_ibm
Fri Aug 02, 2013 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

If it is CLOB what datatype i need to define in datastage to pass it through SP..?
by prasson_ibm
Fri Aug 02, 2013 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

I am combining all 10 records(which is not blob rather a pipe delimited or fixed width file) in transformer and want to pass it to stored procedure as a blob.
by prasson_ibm
Fri Aug 02, 2013 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pass value to oracle stored proc with blob datatype
Replies: 14
Views: 5229

pass value to oracle stored proc with blob datatype

Hi, I am in datastage 8.7 and i have requirement where i need to pass value to stored procedure which is defined as BLOB. I have source as sequential file and i need to pass first 10 lines of sequential file to stored procedure whose parameter is blob define.I tried giving input to procedure as long...
by prasson_ibm
Fri Aug 02, 2013 5:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to pass dataset value as a parameter to next job
Replies: 2
Views: 2557

how to pass dataset value as a parameter to next job

Hi, I have a job where i am generating GUUID using java call and storing into dataset and GUUID need to be passed in where clause of another job,so is there any way i can pass this dataset value as a parameter to another job. I know after storing this value in file(sequential file) i can pass but i ...
by prasson_ibm
Wed Jul 31, 2013 5:03 am
Forum: General
Topic: How to commit after procedure run
Replies: 6
Views: 2284

Instead of calling stored procedure i am running PL/SQL block in Oracle connector stage and comming at the end. Below is the code,how can i abort a job in case RetVal <>0? DECLARE RetVal NUMBER; P_PAYLOAD str_payloads.payload%type; P_PAYLOADHASH VARCHAR2(200); P_TIMESTAMP VARCHAR2(32767); P_PAYLOADS...
by prasson_ibm
Wed Jul 31, 2013 2:26 am
Forum: General
Topic: How to commit after procedure run
Replies: 6
Views: 2284

At end of the job.
by prasson_ibm
Tue Jul 30, 2013 3:23 pm
Forum: General
Topic: How to commit after procedure run
Replies: 6
Views: 2284

How to commit after procedure run

Hi,

I have a requirement where i have been given a stored procedure (Transform) and i have been told that i need to commit the procedure once it finishes successfully.

Is there any way in Stored proc stage or any other way i can achieve this?
by prasson_ibm
Sat Jul 27, 2013 3:22 pm
Forum: General
Topic: How to replace one string to another string by using unix
Replies: 2
Views: 1515

1. Using vi editor

Code: Select all

s1,$/sushma/bargavi/g 
2. Without using vi editor.

Code: Select all

sed 's/sushma/bargavi/g' <Input file Name > Output file Name
by prasson_ibm
Wed Jul 24, 2013 5:01 am
Forum: General
Topic: run the job in background
Replies: 2
Views: 1052

Hi Arnd,

Thanks for your reply.Its working fine :wink: