Search found 6797 matches

by DSguru2B
Thu Jul 13, 2006 1:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence question
Replies: 12
Views: 4062

If you have the exception handler stage then no need to connect all of them to a sequencer with mode 'Any' and then to the notification activity. Just drop an exception handler connected to a notification activity. When any job fails, the control will be passed on to the exception handler which in t...
by DSguru2B
Thu Jul 13, 2006 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in DataStage Job
Replies: 6
Views: 2614

Look into the Loop start and loop end activity stages in the sequence jobs.
If your control is at the unix level, you can code to run that particular job x number of times.
by DSguru2B
Thu Jul 13, 2006 12:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looking for sample code/jobs/projects.
Replies: 1
Views: 854

You need to break the process down. Think about major categories like Design, Error handling, restartability etc. Then break each one of them down according to the specs and make decisions such as use of staging tables or use of staging files, what table will hold what type of dimensions, what type ...
by DSguru2B
Thu Jul 13, 2006 12:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

Try checking with your unix admin.
Try running this command at the unix level, just copy past my code and see if the file gets created.

Code: Select all

touch output`date +"%Y%m%d_%H%M%S"`.txt 
by DSguru2B
Thu Jul 13, 2006 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling subroutine (Ascential DS Server Version 7.1)
Replies: 14
Views: 7224

True. But its not DataStage .odbc.ini file. Its the system dsn itself as the OP is not able to get it working via MSQUERY
by DSguru2B
Thu Jul 13, 2006 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Runnig a script in datastage
Replies: 17
Views: 4144

Re: Runnig a script in datastage

You dont $. Thats to reference it inside the script. And note date is surrounded by ` and not '(quote). Just copy paste my code in the execsh.

Code: Select all

mv /data/datastage/Data/EMEA/sampleV.txt /data/datastage/Data/EMEA/sample`date +"%Y%m%d"`.txt
by DSguru2B
Thu Jul 13, 2006 9:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

I did. I tested it out.
It creates the file "output20060713_201435.txt"
by DSguru2B
Thu Jul 13, 2006 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

Upgrade. Simple as that.
Try the after job subroutine.
by DSguru2B
Thu Jul 13, 2006 8:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

Can you vi it or cat it.
And the problem is not even due to AIX. Over here i tested it both on Sun and AIX. No problems. Also i checked on wikepedia, the colon is not a forbidden character. So its definately something else.
by DSguru2B
Thu Jul 13, 2006 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

If nothing works out, then just simply create the file output.txt and run an After Job Subroutine and do this

Code: Select all

mv /home/dsetl01/my_prg/tmp/output.txt /home/dsetl01/my_prg/tmp/output`date +"%Y%m%d_%H%M%S"`.txt
by DSguru2B
Thu Jul 13, 2006 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: slow changing dimensions Type 2
Replies: 22
Views: 6022

I need to identify among all the records which two records have same key, how do I do that here... A couple of ways, sort on key, and chech for identical keys by using stage variables and then depending upon the deciding column (maybe a date column) flag the inactive one. Pass it through aggreagato...
by DSguru2B
Thu Jul 13, 2006 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenating Timestamp With a Sequential file
Replies: 33
Views: 9458

True. Very true.
Its just my personal rule of thumb, a space in a file name, a big no no.
Because once this file is built. If it needs to be accessed again in some other job, the sequential file wont read it then due to that pesky space. Or it can, am i missing something here ???
by DSguru2B
Thu Jul 13, 2006 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling subroutine (Ascential DS Server Version 7.1)
Replies: 14
Views: 7224

Krazykoolrohit wrote:check your DSN. is the server name correct there.


The last test was tried outside datastage which proved that there is something wrong with the odbc connection. No server name, just the odbc configuration that needs to be fixed.
by DSguru2B
Thu Jul 13, 2006 7:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CFF Stage
Replies: 7
Views: 1460

You never needed it in the first place. I guess the client gave you a break. :wink: