Search found 452 matches

by kaps
Fri Jan 26, 2007 2:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 14324

I don't know what's going on...The code which worked few hours before is not working now... Even this small piece of code is not working now...I just have the following code in a test routine...which does not give me the output... Call DSExecute("UNIX","echo $prm_project_path",Un...
by kaps
Fri Jan 26, 2007 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 14324

Value of $prm_project_path is /datastage/dev/srcdev/ and value of $prm_path_common is common/. It's all just directories in AIX.

So value of the the HashFilePath is /datastage/dev/srcdev/common/

Thanks
by kaps
Fri Jan 26, 2007 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 14324

Thanks for the response. Arnd - This is the code I am using to get the env variables... Call DSExecute("UNIX","echo $prm_project_path$prm_path_common",UnixOutput,SystemReturnCode) HashFilePath = Trim(UnixOutput) DSGuru - I am getting the same error when I tried your second mathod...
by kaps
Fri Jan 26, 2007 11:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 14324

Problem in getting environment variable in routines...

Hi I am trying to use environment variables in Routine(Transform Function). I got some idea from this forum as to use echo statements to get the env values and I use modified UtilityHashLookup Routine to read. It works fine If I hard code the path of hash file like following HashTable=/dir/dir/dir/T...
by kaps
Thu Jan 25, 2007 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Partitions in DataStage - DB2UDB
Replies: 2
Views: 928

Partitions in DataStage - DB2UDB

Hi Source is Sequential file Target is DB2UDB table AIX server We have to insert huge amount of records(70 millions) as part of the initial load into a table. If the Target table is partitioned is there any way to route the records using DataStage to particular partition in DB2UDB database. Target t...
by kaps
Fri Jan 19, 2007 10:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

It's not letting me to enter DSExecute instead of ExecSHsilent in Rotine Name. Do you want me to put DSExecute in Input Arg of Routine Activity ?

Thanks
by kaps
Thu Jan 18, 2007 9:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

Kumar - I am not using DSExecute. I am using ExecShSilent in Routine Activity of Sequence job and giving the script name in InputArg.

Where do you want me to use DSExecute ?

Thanks
by kaps
Thu Jan 18, 2007 4:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

Craig - Yes. I am using the samething...

"In Routine1's trigger - custom(conditional) and expression as DSJS.RUNWARN"

Kumar - I tried ReturnValue. It does not work...Is ReturnCode different from ReturnValue ?

Thanks
by kaps
Thu Jan 18, 2007 4:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

DSGuru,
It's not working...It's Aborting the job even there is no warnings in Routine1...
How can check using the return value of the Routine ?

Thanks
by kaps
Thu Jan 18, 2007 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

Oops...I got it wrong...Thanks for the clarification...
by kaps
Thu Jan 18, 2007 3:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

OK...If I am not doing the right thing can you tell me what should be the correct way of doing this.

I have tried the following in custom value of the Routine1 but it's not aborting the job.

RA_Fld_Lvl_Change.$ReturnValue="88"

Thanks
by kaps
Thu Jan 18, 2007 3:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

Craig, Thanks for the quick reply. I have done it like this. Just want to make sure is thats what you meant... Routine1 ---> Routine2 In Routine1's trigger I am using custom(conditional) and expression as DSJS.RUNWARN. In Routine2 I am calling UtilityAborttoLog and Arg1 as DSJS.RUNWARN. It works...B...
by kaps
Thu Jan 18, 2007 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 3221

Sending the Stop message to DataStage from Unix..

Hi

I am executing a shell script from Routine Activity sequence. When the shell scripts fails I am exiting with a non-zero value(say '88') which creates a warning message on the DataStage job log. I would like to get the FATAL error instead of Warning Message in the logs ? How can I do that ?

Thanks
by kaps
Thu Nov 16, 2006 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: more than 10k records from MQ at a time
Replies: 3
Views: 1107

Check the maximum limit of the messages which the queue can hold.
Your queue must have filled up. Either you need to increase the queue size or delete the messages as soon as you read and stores somewhere.

Thanks
by kaps
Wed Nov 08, 2006 4:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capture errors on multiple fields in a record ?
Replies: 8
Views: 2274

Thanks for the reply...we are on the same track as Deepak suggested. will let you know...