Search found 35 matches

by dylsing
Mon Jul 03, 2006 7:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic email body & send with Notification Activity
Replies: 9
Views: 10314

If I were you, I will write what I need to a file (using a shell script maybe) and cat it in subject in "Notification Activity" `cat mystatusFile.txt` Try it it works for me... Kommven- So when you use "cat" in shell script, it will return a concatenated value of the contents of...
by dylsing
Mon Jul 03, 2006 6:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage by itself
Replies: 8
Views: 3714

Or you can have a small basic routine, calling the DSExecute() function. You can run your dos command there. Have a routine activity stage call that routine. Connect the routine activity stage to a sequencer. That should work. I have been using Routine Activity Sequence and using the ExecDos to cal...
by dylsing
Mon Jul 03, 2006 6:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic email body & send with Notification Activity
Replies: 9
Views: 10314

Not without a routine somewhere in there, to build and send the email. The Notification Activity can not take an expression as the message body (though attachments are supported in version 7.5, so yo ... Just saw your email whilst I was posting. That's what I thought too, think I will have to explo...
by dylsing
Mon Jul 03, 2006 6:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic email body & send with Notification Activity
Replies: 9
Views: 10314

Just to add on, I have thought of saving the rows into a sequential file and use the Space character as a delimiter so that the contents in the sequential file will be: France (File1) UK (File2) Can I use any of the stages to transfer all the contents of the sequential file (including the new line c...
by dylsing
Mon Jul 03, 2006 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage by itself
Replies: 8
Views: 3714

Re: Command Stage by itself

Klaus Schaefer wrote:Better use command activity in job sequencer for this.

Klaus
I think you mean the Execute Command Sequence, I have tried it but for some reason, it does not accept job parameters that makes up DOS command and will not run properly unless I hardcode the DOS command in it.
by dylsing
Mon Jul 03, 2006 4:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic email body & send with Notification Activity
Replies: 9
Views: 10314

Dynamic email body & send with Notification Activity

Hi, I need to create a job where I make up an email body based on data from 2 different SQL extractions (but from the same source) I receive. Examples of each piece of data I am extracting: Data1 Module | Message | Source ------------------------------------- France | Success | File1 UK | Success | ...
by dylsing
Mon Jul 03, 2006 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage by itself
Replies: 8
Views: 3714

Command Stage by itself

Hi, I am trying to have a Command Stage by itself without any links so that I can activate this DOS command, which I want to be a job by itself. If I am correct this is not possible, are there ways that I can have links to or from the Command Stage to stages that do nothing? Please feel free to corr...
by dylsing
Mon Jun 19, 2006 3:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concat inserted parameter values into Arguments of Sequenc
Replies: 6
Views: 3693

Hihi,

I just realised this is possible when I tried tinkering around with another sequence I created.

Not a great question I must admit :oops: so thanks for bothering to answer my question!
by dylsing
Mon Jun 19, 2006 3:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concat inserted parameter values into Arguments of Sequenc
Replies: 6
Views: 3693

In almost all cases where you can specify a parameter you can use the concatenation operator to put together constants and variables. You haven't specified exactly where and how you are doing this, so I can only answer that "yes, probably it will work". 1) I am doing a job sequence and in...
by dylsing
Mon Jun 19, 2006 2:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concat inserted parameter values into Arguments of Sequenc
Replies: 6
Views: 3693

The DataStage server concatenation operator is the colon ":" character, not the plus "+" sign. ... Hi hi, thanks for the reply. I am aware of using the colon character ":" however does this mean that if I use this I am able to use the colon character in the Sequence Ar...
by dylsing
Mon Jun 19, 2006 2:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concat inserted parameter values into Arguments of Sequenc
Replies: 6
Views: 3693

Concat inserted parameter values into Arguments of Sequenc

Hi, I have a email routine which I am activating in a Job Sequence using Routine Activity. Because the routine requires me to input the email message as an argument, I would like to concat certain parameter values and a standard string. For example (FILENAME and DATE are job parameters): "The f...
by dylsing
Mon Jun 12, 2006 8:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete and then Insert into table
Replies: 9
Views: 4943

I have a similar situation where I need to delete then later insert. I did it by using two links (the ordering is done in transformer), the first will contain only one value which I use as a parameter for the condition to delete and the 2nd to do the insert the rows. If the first link doing the dele...
by dylsing
Fri Jun 09, 2006 2:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: VBScript return value to Datastage
Replies: 5
Views: 5988

1) I have managed to save the returned value, using the Command Stage, to a flat file but what I really need is to throw this value up as a job output. 2) I have been playing with the ExecCommand activity, and though I managed to run my vbscript, and even succeeded in reading my return value (which ...
by dylsing
Thu Jun 08, 2006 7:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: VBScript return value to Datastage
Replies: 5
Views: 5988

Oops, I mean Command Stage. I am too used to the word Command Prompt.

Am I able to retrieve the value that VBScript returns when I activate it in the Command Stage?
by dylsing
Thu Jun 08, 2006 1:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: VBScript return value to Datastage
Replies: 5
Views: 5988

VBScript return value to Datastage

Hi, I wrote a VBScript to manage some files. I need my VBScript to return a value for my Command Prompt stage to capture it if no files can exist. Later in a Sequence, I will extract the value from the job to decide whether to run the subsequent jobs. I am not that familiar with how Datastage handle...