Search found 6797 matches

by DSguru2B
Thu May 03, 2007 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing to the same file in the same job
Replies: 13
Views: 3697

Multiple writes to the same file is not allowed by the OS. You will get misaligned data. If this were a server job and you had two links going in then, theoratically, there will be roundrobin process of sending records and in both the sequential file stages the option should be append. I guess you c...
by DSguru2B
Thu May 03, 2007 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Call Jobs on Condition based in the Sequence
Replies: 15
Views: 5784

Create a job that does count(*) and loads to a file. This will be your first job activity, the second icon will be of execute command stage where you will read this file using type. Now depending on the count, branch your stream accordingly.
by DSguru2B
Thu May 03, 2007 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Delimiter
Replies: 3
Views: 1194

I doubt you can parametrize the delimiter. Process it in unix using awk. Dont do a global replace as the delimiter might appear in quoted data and it will be replaced as well.
by DSguru2B
Thu May 03, 2007 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job locked
Replies: 18
Views: 6670

Kill is the last resort. I dont think the OP is out of options. Many ways of doing it and a mere search will reveal all the different ways of doing it besides kill.
by DSguru2B
Thu May 03, 2007 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing non-alphanumeric characters using Convert function
Replies: 9
Views: 8635

ady wrote:Ray , How can we do it in basic transformer without a routine ?

Use OCONV/ICONV with MCP format to convert all nonprintable characters to a dot. Then use the above convert statement to extract only alphabets and numers.
by DSguru2B
Thu May 03, 2007 6:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGSEGV Error:Fail to load timestamp fields
Replies: 12
Views: 108846

Itsi bitsi change in Nick's timestamp format. Nick, if i may

Code: Select all

NullToValue(input.date, StringToTimestamp('9999-12-31 00:00:00', '%yyyy-%mm-%dd %hh:%nn:%ss'))

by DSguru2B
Wed May 02, 2007 5:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Server routine in Parallel Job
Replies: 10
Views: 3768

2B, I wouldn't even say it's a workaround, it's just using EE as it should be used. Just being polite I guess. If the OP really feels the dire need to use a hashed file then no problem in using a server job to do it. Its just that, in order to achieve the degree of parallism EE provides, needs to b...
by DSguru2B
Wed May 02, 2007 4:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Server routine in Parallel Job
Replies: 10
Views: 3768

You dont have to open a connection for each record. A connection remains open and all processing can be done within that one connection. Anywho, I gave you my 2 cents and along with others, provided plausible workarounds. Its your call.
by DSguru2B
Wed May 02, 2007 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC for Accessing Flat Files
Replies: 10
Views: 1548

Depending upon the file size and query complexity, it might be horribly slow. A better, viable workaround would be to load your flatfiles to tables and run your sql on them.
by DSguru2B
Wed May 02, 2007 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: idea on implementing process flow (higher level question)
Replies: 7
Views: 1464

If one of the 10 jobs fail, the enterprise scheduler wont go to the 11th step as the 11th job will be dependent upon the successful completion of all 10. Say 9 complete successfully and the 10th one fails. You take two days to fix it and restart from point of failure, the enterprise scheduler whatev...
by DSguru2B
Wed May 02, 2007 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Server routine in Parallel Job
Replies: 10
Views: 3768

Dataset, lookup fileset are all viable options.
This logic that you are talking about, can't it be done at the database level. This eradicates the need to create a snapshot of the table.
by DSguru2B
Wed May 02, 2007 2:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter option in Seq File
Replies: 2
Views: 717

Change your datatype to int or varchar from char. Because char is very particular about the length. If you specify 11 then the return has to be exactly 11 characters long.
by DSguru2B
Wed May 02, 2007 1:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Marking a Flag as "Y"
Replies: 5
Views: 780

Kris is right. I said "Pass only the records which are found" which means that you need a NOT of NOTFOUND constraint.
by DSguru2B
Wed May 02, 2007 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wait for File Activity
Replies: 4
Views: 1023

Depends upon your inhouse standards. If there is an enterprise scheduler, go for it.
by DSguru2B
Wed May 02, 2007 1:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wait for File Activity
Replies: 4
Views: 1023

Thats completely upto you and how much time window is allowed for a file to appear by your requirements.