Search found 12 matches

by caola
Tue Sep 29, 2015 3:13 am
Forum: General
Topic: run rexec in execute command stage
Replies: 7
Views: 4216

Doesn't really matter what user you log in with, the jobs run under whatever user ('engine credentials') has been setup for running jobs. Guessing that's your issue here. Yes. When checking the environment variables of the job, it has USER=dsadm1 HOME=/home/dsadm1 ISUSER=AA That's why I export HOME...
by caola
Mon Sep 28, 2015 10:30 am
Forum: General
Topic: run rexec in execute command stage
Replies: 7
Views: 4216

run rexec in execute command stage

I have a ksh as below to run rexec command. When I run the ksh in command line, it can finish successfully. But when I login to Datastage with the same user AA and invoke it from execute command stage, it gives an error: Password: 3004-303 There have been too many unsuccessful login attempts; please...
by caola
Tue Oct 21, 2014 7:03 am
Forum: General
Topic: Issue about Job Status code
Replies: 1
Views: 1410

Issue about Job Status code

I got a weird issue on Job Status code in a sequence job. In sequence report, job BC is run as "validate only". So if validating ok, it should return job status = 11, but it actually returns job status = 0(as I remember 0 means job running, but why here it shows as No error). So if I use B...
by caola
Tue May 06, 2014 9:34 am
Forum: General
Topic: Job control process (pid XXXXXX) has failed
Replies: 2
Views: 2564

Job control process (pid XXXXXX) has failed

I have a sequence job that invokes a korn shell. The sequence is like: job to create a flat file---->invoke a korn shell that use the flat file as input In the korn shell it reads from the flat file which has a list of items and then does some db2 database operation for each item in that file. There...
by caola
Wed Apr 30, 2014 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: when does ds do commit in db2 api?
Replies: 0
Views: 950

when does ds do commit in db2 api?

There is before/after sql and main sql in db2 api stage. When will ds do commit?
is it:
run before sql--->commit--->run main sql--->commit--->run after sql--->commit

or it treats before/main/after sql as one transaction and do just one commit at last?
by caola
Fri Apr 25, 2014 5:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does DS support insert into XXX(XX) select from XX statement
Replies: 4
Views: 2300

The database is db2. I tried odbc and it works, but still don't know why db2 api gave that error, as the number of parameters(where ? shows) is the same as the number of columns...

Thanks guys. I will mark it as workaround.
by caola
Tue Apr 22, 2014 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does DS support insert into XXX(XX) select from XX statement
Replies: 4
Views: 2300

Does DS support insert into XXX(XX) select from XX statement

My job design is like: several db2 api to select------> funnel--------->db2 api In the target db2 api, I use below user defined sql. The ? stands for the only one field that output by funnel. I got an error: This SQL statement did not contain the same number of parameters as columns on this link. My...
by caola
Wed Nov 28, 2012 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 lock
Replies: 1
Views: 1323

DB2 lock

Hi guys, I use DB2 API stage as target stage and choose "clear the table then insert rows". What does DS do on this action? Does it execute below 2 sqls separately? Delete from XXX table; Insert into XXX table; Will DS keep the table lock between these 2 sqls? or it will release the lock a...
by caola
Tue Jan 11, 2011 8:18 am
Forum: General
Topic: Job is not in the right state (compiled and not running
Replies: 2
Views: 4092

Job is not in the right state (compiled and not running

Hi all My MainSequence job is like: StartLoop------->Invoke JobSequence1------>Invoke JobSequence2---->EndLoop JobSequence2 is multi-instance, and each time the same instance is invoked within the loop. I choose "Reset if required then run" when invoking JobSequence2. And the trigger is se...
by caola
Fri Dec 31, 2010 12:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQ Connector in request and reply scenario
Replies: 3
Views: 2524

Thanks Ernie.

The MQ connector could act in request/reply mode, to get the corresponding response msg. I found out it's a bug of DS 8.1. After the Fix Pack 1 is installed, this problem is solved.
by caola
Fri Dec 31, 2010 12:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External Source Stage problem
Replies: 1
Views: 1551

External Source Stage problem

Hi all There's a weird problem of External Source Stage. Pls help.. My job is like: External Source---->XML Input----->Transformer--->Sequential File | |rej link to Peek Stage | Peek In External Source: Source Method=Specific Program Source Program = ls "#FileName#" Most of the time this j...
by caola
Mon May 24, 2010 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQ Connector in request and reply scenario
Replies: 3
Views: 2524

MQ Connector in request and reply scenario

Hi all, I'm using MQ Connector to send msg to the request queue and meanwhile waiting for reply msg from the response queue. The job design is like this: sequential file --->MQ Connector ------> sequential file I could send and get reply msg successfully if there's no other message on the response q...