Search found 15603 matches

by ArndW
Mon Jun 22, 2009 1:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting record - two behaviours
Replies: 16
Views: 6254

Doing a "CLEAR.FILE &PH&" has nothing to do with your issue. The "&PH&" hashed file (actually stored as a project subdirectory) contains only Tee'd output from background processes. I would caution you against using the CLEAR.FILE command directly. You should stic...
by ArndW
Mon Jun 22, 2009 1:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Routines
Replies: 3
Views: 1111

The first question that raises itself is why you wish to write a routine when you can do the same thing in a Job Sequence with less effort on your part. If you really need to write BASIC code, you need to know from where you want to trigger this - if you are calling this from a transform for each ro...
by ArndW
Mon Jun 22, 2009 1:19 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: Configuration parellel
Replies: 7
Views: 4052

Hailun - there is a version of PX that runs with windows.
by ArndW
Mon Jun 22, 2009 12:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read lookup file into memory using basic routine
Replies: 15
Views: 4431

Try editing the post and doing the

Code: Select all

....
tags correctly.
by ArndW
Mon Jun 22, 2009 12:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read lookup file into memory using basic routine
Replies: 15
Views: 4431

dstest, please enclose your routine in "code" tags to make it legible. You will need to use a COMMON block to make your routine's data memory resident for the duration of the job, bit it is too much work to try to decode your post to give you concrete suggestions.
by ArndW
Mon Jun 22, 2009 12:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting record - two behaviours
Replies: 16
Views: 6254

Your log file is corrupted and the quickest way to get back up and running is to use the Director and clear all log file entries; this triggers a TCL command of "CLEAR.FILE" which will reset the log file and get rid of your blink errors. If you are 100% certain that this log file should gr...
by ArndW
Sun Jun 21, 2009 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job stops Immediately with no reason
Replies: 5
Views: 1670

Do you have an after-job routine defined?
by ArndW
Sun Jun 21, 2009 7:44 am
Forum: General
Topic: check that 'dbx' and 'sed' are installed and on your PATH
Replies: 7
Views: 10472

In addition, those messages are just effects of the error and not the error itself.
by ArndW
Fri Jun 19, 2009 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EXPORT command on client
Replies: 3
Views: 1402

any details? (what didn't work - error message(s) & command line scheduled in AT)
by ArndW
Fri Jun 19, 2009 7:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding a Flush record to the end of a file using DataStage
Replies: 9
Views: 2425

Another solution is to could add a merge stage to append a line to your output, just ensure that the order is set correctly. This line would be created using a row generator stage.
by ArndW
Fri Jun 19, 2009 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to subtract the month from yyyymmdd
Replies: 5
Views: 3770

You need to specify your definition of what a month is. What about 2010-01-31? Since June doesn't have 31 days what do you do? Once your rules about months are set, you can use the DateFromDaysSince function. Otherwsise you could convert your date into 3 components, do your math on them, then put th...
by ArndW
Fri Jun 19, 2009 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error in job log
Replies: 22
Views: 4550

The job works the same, but I am sure your production data is different from your test data, thus the error.
by ArndW
Fri Jun 19, 2009 5:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error in job log
Replies: 22
Views: 4550

Sure, that would get rid of your error message, but you need to find out if that is a legal option in terms of your job design.
by ArndW
Fri Jun 19, 2009 5:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to subtract the month from yyyymmdd
Replies: 5
Views: 3770

The DateFromDaysSince function is what you are looking, described on page 593 of the Parallel Job Developer Guide
by ArndW
Fri Jun 19, 2009 5:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding a Flush record to the end of a file using DataStage
Replies: 9
Views: 2425

The simplest means of doing this is calling an after-job which shells out to UNIX and just issue the command to append those spaces to the file.