Search found 42189 matches

by chulett
Mon Nov 29, 2010 4:38 pm
Forum: General
Topic: Routine DSSendMail did not finish OK, return code = '-21'
Replies: 13
Views: 9051

As noted, there was no solution posted in that other link. However, there is a debugging technique mentioned by Arnd, I would advise you to attempt the same.
by chulett
Mon Nov 29, 2010 4:35 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 4845

An Execute Command stage could count the number of records in the file: wc -l <filename> After that you just need triggers from there to two Job Activity stages, one could check for $CommandOutput=1 and the other could be simply an Otherwise trigger for when it is greater than one. Assuming the resu...
by chulett
Mon Nov 29, 2010 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing a query to a shared container
Replies: 6
Views: 2608

You can't pass "parameters within a parameter", any more than Job Parameters can reference another parameter within them.
by chulett
Mon Nov 29, 2010 2:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dsjob-same parameter multiple times but with diff values
Replies: 2
Views: 1811

Hmmm... I think someone just called me a chicken. :evil:
by chulett
Mon Nov 29, 2010 12:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sftp ing the files and deleting files on remote server.
Replies: 17
Views: 11644

As noted, talk to your UNIX Admins. Once they help you get it working from the command line outside of DataStage, you'll know what the exact syntax is you'll need for the Sequence job.
by chulett
Mon Nov 29, 2010 11:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null Field Value
Replies: 12
Views: 3204

That second NullToEmpty() serves no purpose.
by chulett
Mon Nov 29, 2010 11:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Moving data from one folder to another without copying
Replies: 3
Views: 1343

Worst case you can have a Sequence job run the batch/script if DataStage needs to be involved somehow.
by chulett
Mon Nov 29, 2010 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dsjob-same parameter multiple times but with diff values
Replies: 2
Views: 1811

There's no reason to think it won't.
by chulett
Mon Nov 29, 2010 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Moving data from one folder to another without copying
Replies: 3
Views: 1343

Not sure why you would need to job for this. All it should take is the O/S command "move" on Windows or "mv" on UNIX or via the MKS Toolkit. Create a batch file or script to do what needs doing.
by chulett
Sun Nov 28, 2010 10:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a Datastage job from exact point of failure
Replies: 1
Views: 1985

Your jobs can do whatever you can code them to do. If you want to be able to pick up where you left off, then you either need to keep track of how far you get or have some kind of post-process that can determine that for you. Then a constraint in the job can use @INROWNUM compared to a job parameter...
by chulett
Sun Nov 28, 2010 10:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update ORA table with date field in 8.1 V server job
Replies: 5
Views: 1967

hsahay wrote:Attempt to convert String value "28 NOV 10" to Date type unsuccessful.
That's close but you need the dashes between the segments for it to work properly.
by chulett
Sun Nov 28, 2010 4:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update ORA table with date field in 8.1 V server job
Replies: 5
Views: 1967

Keep the target as a DATE in the Oracle stage but make it a varchar in the job. How does the date come in from your source? Typically one would use IConv/OConv to convert it from whatever your source format is to the format your DML is looking for, from your example it would be looking for "DD-...
by chulett
Sun Nov 28, 2010 10:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update ORA table with date field in 8.1 V server job
Replies: 5
Views: 1967

You need to explain what all those "not working" statements mean. What's not working about them? Are you getting errors? Also, are you ensuring that your date is in the format that matches the mask used in the generated DML?
by chulett
Fri Nov 26, 2010 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference Between join, Lookup and merge
Replies: 6
Views: 12576

Never mind the fact that, because of the nature of your data, the join is giving you a cartesian product.
by chulett
Fri Nov 26, 2010 7:37 am
Forum: General
Topic: Restartability of the sequences
Replies: 3
Views: 1589

No need. Sequences must abort to restart properly and that includes your Master so make sure the master aborts whenever a child sequence aborts. You should be able to use "OK" triggers to accomplish that along with the "Automatically handle" compilation option, that or explicit u...