Search found 52 matches

by SHARAD123
Tue Feb 12, 2008 2:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Naming a file with the current timestamp?
Replies: 8
Views: 3549

Naming a file with the current timestamp?

Hi all,
How to have a file name as the timestamp?

For example:
The file name should be
20070802213012.txt
by SHARAD123
Sun Feb 03, 2008 12:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to refresh a lookup in every job iteration
Replies: 9
Views: 2321

hi,
y cant u try using a stage the update the lookup table after every iteration or b4 the lookup actually starts.

That should be an easy way i guess....

jus revert if there is anyother idea
by SHARAD123
Sun Feb 03, 2008 12:29 am
Forum: General
Topic: Diff between two dates in Datastage
Replies: 4
Views: 20448

The date gets converted to the datastage format, so that u may get the output in numeric format rather than as a date. SO u can use either iconv or oconv functions depending on your needs. Iconv- converts to the local datastage format i.e a number OConv- converts to the date format jus check out the...
by SHARAD123
Sun Feb 03, 2008 12:28 am
Forum: General
Topic: Diff between two dates in Datastage
Replies: 4
Views: 20448

The date gets converted to the datastage format, so that u may get the output in numeric format rather than as a date. SO u can use either iconv or oconv functions depending on your needs. Iconv- converts to the local datastage format i.e a number OConv- converts to the date format jus check out the...
by SHARAD123
Sun Feb 03, 2008 12:18 am
Forum: General
Topic: DataStage certifications??
Replies: 1
Views: 1195

DataStage certifications??

Hi, Is there any certifications for datastage? if so what are the materials avlbl for it?


Thanks in Advance
by SHARAD123
Tue Jan 29, 2008 1:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to add trailer records?
Replies: 6
Views: 1521

How to add trailer records?

Am extracting a set of details from three different tables and inserting them to a file. Now at the end of the file i need to add a record stating the numer of records and the status of the job.

can a routine be enough to do this?
by SHARAD123
Tue Jan 29, 2008 1:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage Phantom error
Replies: 7
Views: 5516

I think ur job would be handling some null values. Thats a common scenario for this error to occur
by SHARAD123
Tue Jan 29, 2008 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Question on Extraction
Replies: 6
Views: 2038

Hi,
It ll be better to create a temporary table holding the info for the current run. So that whatever changes u can retrieve it from the temporary table.

Note: Everytime you run jus truncate the temporary table and re-run it so that oly the current details will be there in the table
by SHARAD123
Tue Jan 29, 2008 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Question on Extraction
Replies: 6
Views: 2038

Hi,
It ll be better to create a temporary table holding the info for the current run. So that whatever changes u can retrieve it from the temporary table.

Note: Everytime you run jus truncate the temporary table and re-run it so that oly the current details will be there in the table
by SHARAD123
Tue Jan 29, 2008 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine for ftp?
Replies: 2
Views: 1277

Thanks.
by SHARAD123
Tue Jan 29, 2008 1:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split into n number of records from one record
Replies: 7
Views: 2681

Hi,
I suggest u to pass the premium as a parameter to a stored proc through OCI stage. Then write your business logic based on the parameter number. i hope this meets the requirement
by SHARAD123
Tue Jan 29, 2008 1:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure - Capturing error codes
Replies: 3
Views: 2096

Jus pass the error message back with a variable. Then try inserting the variable to the required table.
by SHARAD123
Tue Jan 29, 2008 12:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine for ftp?
Replies: 2
Views: 1277

routine for ftp?

Hi,
Can anyone tell me whats the code to FTP using a routine in datastage? Also the file that is FTPed has to be archived.
Thanks in advance
by SHARAD123
Wed Jan 23, 2008 1:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to look into logs?
Replies: 3
Views: 1148

How to look into logs?

Hi All,
How to view the datastage error log from administrator?
by SHARAD123
Thu Jan 17, 2008 9:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How To find the previous month??
Replies: 2
Views: 1421

How To find the previous month??

I got a job which prompts for the day of run... If no value is passed it should take the previous month's date... how to get that??