Search found 12 matches

by avneeshrai
Wed Jan 07, 2009 5:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem while displaying data into CSV
Replies: 2
Views: 1626

Problem while displaying data into CSV

Hi all, There is a column with datatype date in table,we are creating csv file as target and when tried to open csv file the records in same columns displaying as (00:00.0)instead of (2004-03-01 12:00:00 AM). We have tried different ways by changing data type (Varchar, Date, Timestamp, Real, Nvharch...
by avneeshrai
Thu May 22, 2008 3:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using environment varaible in the job paramter
Replies: 6
Views: 3904

Hi Craig,

So is there a work around for this issue, I did try just $ParamName and it too returns error, as expected.

Thanks,
by avneeshrai
Thu May 22, 2008 3:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using environment varaible in the job paramter
Replies: 6
Views: 3904

Hi Craig,

So is there a work around for this issue, I did try just $ParamName and it too returns error, as expected.

Thanks,
by avneeshrai
Wed May 21, 2008 3:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using environment varaible in the job paramter
Replies: 6
Views: 3904

Using environment varaible in the job paramter

Using DRS stage to read from oracle database table, in the sql the from clause is a job paramter. In the job paramter I have a environment varaible, and the job aborts saying invalid character, can we use a environment varaible in the job parameter? Here is the Job Paramter #FromClause# = prdtbl whe...
by avneeshrai
Mon Apr 21, 2008 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server name and project name in email subject line
Replies: 12
Views: 7206

Hi Ray,

I checked that also . There are No spaces between the word Trim and its following left parenthesis.

Thanks,
by avneeshrai
Mon Apr 21, 2008 3:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server name and project name in email subject line
Replies: 12
Views: 7206

Hi Ray, Still getting the error: JobControl (DSSendMail): Parameter 4 (',"@FM","A")') does not start with a keyword Unhandled failure (-19) encountered calling routine DSSendMail I even tried to use " around @FM in Trim(#CMD.$CommandOutput#,@FM,"A"). Also Ray, when...
by avneeshrai
Mon Apr 21, 2008 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server name and project name in email subject line
Replies: 12
Views: 7206

Thanks for your inputs Ray, the issue stil persists! I have built a sample job where we have UserVariableStage--> ExecuteCommandStage--> NotificationStage In the ExecuteCommand stage if I use hostname, and in the email subject if I use #CMD.$CommandOutput# where CMD is the execute command stage name...
by avneeshrai
Fri Apr 18, 2008 4:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server name and project name in email subject line
Replies: 12
Views: 7206

Thanks Ray,

I am using DSHostName , but it is giving me the value 'localhost' in the email!

I can use job parameters , but I wanted this to come from DS so that this job can be portable across projects.
by avneeshrai
Fri Apr 18, 2008 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server name and project name in email subject line
Replies: 12
Views: 7206

Server name and project name in email subject line

Hi,
How do we add the DS Server name and the Project name to the e-mails (Email Subject Line) produced following job execution.

I have searched this forum and not found any posts.

thanks
by avneeshrai
Thu Jan 03, 2008 3:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Nested selections (Selection Tab) in hashed file
Replies: 3
Views: 1629

Hi,

We tried Double Quotes and it Worked
Thanks
by avneeshrai
Thu Jan 03, 2008 2:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Nested selections (Selection Tab) in hashed file
Replies: 3
Views: 1629

you should at lease write: (COL1='1' or (COL1='2' and COL2='#Param1#') or (COL1='3' and COL2='#Param2#')) and COL3='#Param3#' a apostroph ' before and after the param. Hi, Thanks , we did try that and get the same error! '(COL1='1' or (COL1='2' and COL2='#Param1#') or (COL1='3' and COL2='#Param2#')...
by avneeshrai
Wed Jan 02, 2008 11:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Nested selections (Selection Tab) in hashed file
Replies: 3
Views: 1629

Nested selections (Selection Tab) in hashed file

HI, We are facing an issue when we insert selection criteria in the SELECTION tab of Hashed file. The below is the select stmt (COL1='1' or (COL1='2' and COL2=#Param1#) or (COL1='3' and COL2=#Param2#)) and COL3=#Param3# Then it gives error when we select view data : DSD.UVOpen Retrieve: syntax error...