Search found 40 matches
- Tue Jul 19, 2016 12:55 pm
- Forum: General
- Topic: Determine if a ExeCmd is invoked inside Exception Block
- Replies: 7
- Views: 4901
Hi, Well, at this time I can only change the shell script, not the other commands inside ExeCmd. So I can't pass in a argument to the shell script to indicate whether it's in the EH as that would require change to all other DS jobs to pass in this flag. That's why i was wondering if there is an API ...
- Sun Jul 17, 2016 9:36 pm
- Forum: General
- Topic: Determine if a ExeCmd is invoked inside Exception Block
- Replies: 7
- Views: 4901
Re: Determine if a ExeCmd is invoked inside Exception Block
Hi That would work the way you explained. But I was thinking of not having to change existing code (ie, not adding the set variable command). Shell script is common code called by many DS jobs. Each DS job calls the same shell script both inside and outside the Exception Handler to do some reporting...
- Fri Jul 15, 2016 2:17 pm
- Forum: General
- Topic: Determine if a ExeCmd is invoked inside Exception Block
- Replies: 7
- Views: 4901
- Thu Jul 14, 2016 8:20 pm
- Forum: General
- Topic: Determine if a ExeCmd is invoked inside Exception Block
- Replies: 7
- Views: 4901
Determine if a ExeCmd is invoked inside Exception Block
Hi I have shell script that is called by ExeCmd. This ExeCmd stage can be called by either inside Exception Block or outside Exception Block. It executed fine as it really just do some logging. What i now need is NOT to do some step while inside Exception Block. Is there a way to determine (from she...
- Mon May 16, 2016 12:46 pm
- Forum: General
- Topic: Get DS Log
- Replies: 4
- Views: 3140
- Fri May 06, 2016 1:35 pm
- Forum: General
- Topic: Get DS Log
- Replies: 4
- Views: 3140
Get DS Log
Hi, After each job completes (sequence, parallel) I would like to extract the time each stage took, so to identify the resource hogs. Right now i have to manually open up the job logs and jot the time down. My question is, which is the best way to get that info automatically? Do I have to parse the ...
- Thu Apr 28, 2016 9:54 pm
- Forum: General
- Topic: Pass space into Hive Config thru BSUB command
- Replies: 4
- Views: 4490
Re: Pass space into Hive Config thru BSUB command
Hi Jay I just tried that. " -hiveconf PARAM1="A%20B%20C" " It passed in this: PARAM1=A%20B%20C PARAM2=DEFG Same for this: " -hiveconf PARAM1='A%20B%20C' " Your suggestion is similar to my backup solution: Everybody agrees to some non-space token (such as *, or %20 as u ...
- Thu Apr 28, 2016 9:35 pm
- Forum: General
- Topic: Pass space into Hive Config thru BSUB command
- Replies: 4
- Views: 4490
Hi Ray
I tried that also. Didn't work either. This is what it passes into Hive:
Thanks
I tried that also. Didn't work either. This is what it passes into Hive:
Code: Select all
PARAM1=A\
PARAM2=DEFG
- Thu Apr 28, 2016 10:30 am
- Forum: General
- Topic: Pass space into Hive Config thru BSUB command
- Replies: 4
- Views: 4490
Pass space into Hive Config thru BSUB command
Hi I need to invoke Hive from Datastage, but I am having problem with passing in spaces in Hive parameters At the operating i can pass in parameters with space in them, like this: I have this simple Hive script. It just prints out the parameters passed in: ==> cat param1.hql !echo ==================...
- Wed Mar 30, 2016 5:22 pm
- Forum: General
- Topic: Set to Courier Font in Log Event Detail Panel
- Replies: 5
- Views: 3121
I wish i know how to write such a viewer. Other than that, How would you line things up in the Log viewer? For example, the ExeCmd invokes a shell script which outputs some table on the screen. DS captures this in its log. But when you open the log, it all looks out of alignment, because the font it...
- Wed Mar 30, 2016 4:04 pm
- Forum: General
- Topic: Set to Courier Font in Log Event Detail Panel
- Replies: 5
- Views: 3121
- Wed Mar 30, 2016 2:52 pm
- Forum: General
- Topic: Set to Courier Font in Log Event Detail Panel
- Replies: 5
- Views: 3121
Set to Courier Font in Log Event Detail Panel
Hi
In the Log Event Detail panel in Datastage Designer how can I select Courier as the default font?
Thanks
In the Log Event Detail panel in Datastage Designer how can I select Courier as the default font?
Thanks
- Wed Mar 30, 2016 9:15 am
- Forum: General
- Topic: Passing User variable to Exception Handler
- Replies: 11
- Views: 5698
Hi That's what I want to do, but the existing jobs that I inherited use UserVariablesActivity to hold that time constant. I want to reference this variable in the ExeCmd script inside Exception Handler (or even in SendMail's subject line.) If system variables/macros is a better solution, I can propo...
- Tue Mar 29, 2016 8:53 pm
- Forum: General
- Topic: ExeCmd always execute SERIALLY within a single Sequence Job
- Replies: 9
- Views: 4221
Hi This is my understanding. Pls correct as needed: - This jobs command must be run within an ExeCmd (because it is a Unix command). - Since all bkg processes are child processes, that means we must find the pid of the parent process (1st sequence job) - Then, how do you get the pid of the parent jo...
- Tue Mar 29, 2016 7:03 pm
- Forum: General
- Topic: Passing User variable to Exception Handler
- Replies: 11
- Views: 5698
Hi Yes, that was what I meant: I had a UserVariablersActivity where i have a variable containing the current timestamp. This timestamp kind of acts as the PrimaryKey. Has to be exact. I am able to pass this timestamp as parameter to any ExeCmds scripts, but DS will not accept this parameter inside t...