Search found 6797 matches

by DSguru2B
Wed Mar 14, 2007 6:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date help
Replies: 20
Views: 5747

chulett wrote:[sigh]


:lol:
by DSguru2B
Wed Mar 14, 2007 4:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date help
Replies: 20
Views: 5747

With timestamp you also need to concatenate "00:00:00".
by DSguru2B
Wed Mar 14, 2007 4:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date help
Replies: 20
Views: 5747

I think you need the date to be in YYYY-MM-DD format. Try this in.Col[5,4]:"-":in.Col[1,2]:"-":in.Col[3,2] Also, what is the data type and length of the date field in Oracle? Is it 38? Do you require time part as well? In other words, is it really a date field or timestamp field.
by DSguru2B
Wed Mar 14, 2007 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date help
Replies: 20
Views: 5747

Just specify that field as Date. You will notice in the "Generated SQL" that OCI stage puts a TO_DATE() function to convert the string to date.
by DSguru2B
Wed Mar 14, 2007 4:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Jobs : Windows Server/ Unix Server
Replies: 2
Views: 1001

Other 7.x versions on windows will allow you to develop jobs but not compile them. As noted, only 7.5x2 will let you do that on a windoze box.
by DSguru2B
Wed Mar 14, 2007 4:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading using FTP Stage - Need to improve performance
Replies: 8
Views: 2164

Search for ftp scripts on google or as Craig mentioned, any tool that the mainframe guys use to ftp files, I think its NDM, not sure. Get them to push the file whereever you want. Connect Direct is another tool used for fast and secure ftps. Also while doing the ftp, monitor the network to find out ...
by DSguru2B
Wed Mar 14, 2007 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating random number in a specified range
Replies: 19
Views: 3972

You have to provide the rowcount initially as a parameter to the job.
Pavan- The method you advised will create a sequential number. The OP is interested in random numbers.
May I ask why you need random numbers?
by DSguru2B
Wed Mar 14, 2007 2:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Exists in Directory
Replies: 18
Views: 4986

Its DSExecute() and not DSEXECUTE().
by DSguru2B
Wed Mar 14, 2007 2:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Exists in Directory
Replies: 18
Views: 4986

Replace DOS with NT.
by DSguru2B
Wed Mar 14, 2007 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Log of a Individual Job in a Sequence
Replies: 32
Views: 6214

While running, check the button "Abort job after" with warning limit to 1. From command line you would pass dsjob -run -warn 1
by DSguru2B
Wed Mar 14, 2007 1:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Exists in Directory
Replies: 18
Views: 4986

How are you currently renaming the file? Just pass that command in DSExecute() in a routine and check the ReturnCode and pass it back.
by DSguru2B
Wed Mar 14, 2007 12:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Log of a Individual Job in a Sequence
Replies: 32
Views: 6214

It will not be. Because your only handling successful runs inside the trigger expresions. Anything other then that, is handle by checking "Automatically handle failures", which you did. Hence it handled the situation. Now when you re-run it, the job that aborted will be reset and then run. If you wa...
by DSguru2B
Wed Mar 14, 2007 12:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Exists in Directory
Replies: 18
Views: 4986

Write a routine that tries to rename the file. If the file is not there (rename was unsuccessful) and returns a non zero return code. If its there, it returns 0 as return code. Call this routine in routine activity in a sequence job and check for its return code. If 0, run the job else send out emai...
by DSguru2B
Wed Mar 14, 2007 12:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Discrepancy in dsx files
Replies: 6
Views: 2026

You sure your not appending to a file while doing exports. Either you or your production guy.
by DSguru2B
Wed Mar 14, 2007 11:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating random number in a specified range
Replies: 19
Views: 3972

I missed the "Random numbers" point in your post. What are you trying to achieve exactly?