Search found 6797 matches

by DSguru2B
Mon May 14, 2007 9:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: time stamp conversion
Replies: 19
Views: 7432

If you are comfortable with the transformer then you can preprocess the date in a stage variable to get two digit day. Something like the following: Specify a stage variable, say FixDay . Its derivation will be If Len(Field(in.Col, " ", 2)) = 1 then Field(in.Col, "...
by DSguru2B
Mon May 14, 2007 9:13 am
Forum: General
Topic: datastage versions 7.5(EE)/7.1/6.0/5.2
Replies: 4
Views: 2045

Perhaps an interview :roll:
by DSguru2B
Mon May 14, 2007 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem while opening the job
Replies: 6
Views: 1097

Avoid using unix kill . Kill -9 is a really killer. There might be zombie threads after that. There are so many clean methods of unlocking a job. Go to each and every pid and at the bottom, click, show by process . When you see your job, click on Release All . Remember the pid because then you have ...
by DSguru2B
Mon May 14, 2007 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: time stamp conversion
Replies: 19
Views: 7432

O yea, forgot to mention that.
date_fmt is your source column name and
date_tst is your target column name. They can be same too, I think.
by DSguru2B
Mon May 14, 2007 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: time stamp conversion
Replies: 19
Views: 7432

Use the following in Modify stage. date_fmt:timestamp = timestamp_from_string [%mmm %dd %yyyy %hh:%nn:%ss] (date_tst) But in order for this to work, you will have to pre process your date to have two digits for day. To get the scale of 3, in your target stage, set the default timestamp forma...
by DSguru2B
Mon May 14, 2007 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem while opening the job
Replies: 6
Views: 1097

The job is locked. Either by someone else (which you say is not the case) or by yourself (this can happen if connection between the server and client is lost abruptly). You need to unlock the job. Search for it. There are numerous method advised.
by DSguru2B
Mon May 14, 2007 7:29 am
Forum: General
Topic: u
Replies: 4
Views: 1385

You can find gazillions of awk scripts online. Even awk one liners. If you search on awk here, you will find quite a few examples.
by DSguru2B
Fri May 11, 2007 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORACLE Data conversion warning
Replies: 2
Views: 919

What is the length and scale of the double field? It might be more than the target and hence the warning.
by DSguru2B
Fri May 11, 2007 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2_Bulkloading_records not inserting
Replies: 7
Views: 2105

TEMP_FILE should be a file that is local to DB2 and not on your datastage server.
by DSguru2B
Fri May 11, 2007 1:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: timestamp issue?
Replies: 5
Views: 2826

Use generated sql. Also, '11-MAY-2007' is a mere representation of the date format set for your sql tool. Also, trunc() will not elimiate the time part it will just set the time to '00:00:00' . Try the following if you insist for user defined sql. select TO_CHAR(batch_strt_tmstp, 'YYYY-MM-DD HH2...
by DSguru2B
Fri May 11, 2007 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: timestamp issue?
Replies: 5
Views: 2826

Are you able to view data? Can you post the sql you are using? Also you are using tunc() function on the timestamp, but I do not see any time part, just the date part. Is it really a timestamp or just date, and if just date, then why are you using the trunc() function?
by DSguru2B
Fri May 11, 2007 12:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error calling a DS job
Replies: 4
Views: 2197

The error indicates that the engine requested a job run but the resouces were not available and hence the request timed out. This may happen if you are running one too many jobs at the same time and hence exhausting the resources.
by DSguru2B
Fri May 11, 2007 12:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Server Routine which can give information about the link.
Replies: 6
Views: 1261

Use the search facility to get code by others. There are quite a few examples here.
Another place where you can look is, in the source code of the sdk routine, DSRunJob(), under 'Utility'. Look at the section "* Retrieve more information about this job run."
by DSguru2B
Fri May 11, 2007 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fixed length
Replies: 5
Views: 995

Read the sequential file as a delimited file and then load it to a fixed width file. This will be much better than manually going in and removing the delimiters.
by DSguru2B
Fri May 11, 2007 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Install MQ Series Server plugin
Replies: 3
Views: 1717

Welcome Aboard :)
You dont need multiple posts for the same question. Please delete the other post before anyone else replies to it.
As for your question, refer to Plug-In Documentation, specifically DataStage WebSphere MQ Stage guide in DataStage pdf guides.