Search found 6797 matches

by DSguru2B
Wed Oct 25, 2006 9:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: length of a dynamic file
Replies: 10
Views: 3818

Can you post the routine so that we can try to see whats going on and possible try to pin point the culprit.
by DSguru2B
Wed Oct 25, 2006 9:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I count the total number of Jobs is a project?
Replies: 17
Views: 5945

Ofcourse they do. How exactly are you typing it in ?
by DSguru2B
Wed Oct 25, 2006 6:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read .dtl files
Replies: 15
Views: 4748

Ray, is RMM stage part of the IBM Integration Server :wink:
by DSguru2B
Wed Oct 25, 2006 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I count the total number of Jobs is a project?
Replies: 17
Views: 5945

you can also do it in the command prompt using the dsjob command

Code: Select all

dsjob -ljobs <Project Name> | wc -l
by DSguru2B
Tue Oct 24, 2006 1:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load SQL from a file
Replies: 3
Views: 948

This is right out of dsbooks -> Plugin Documentation -> DB2/UDB API Stage (page 14) If the property value begins with {FILE}, the remaining text is interpreted as a pathname, and the contents of the file supplies the property value. Provided you have 7.5.1A. If you have any other version then i am n...
by DSguru2B
Tue Oct 24, 2006 1:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load SQL from a file
Replies: 3
Views: 948

Welcome Aboard,
Specify the keyword {FILE} before giving the fully qualified path for the sql file. That should do the trick.
by DSguru2B
Tue Oct 24, 2006 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cron Scheduling issue
Replies: 3
Views: 677

check out this post.
by DSguru2B
Tue Oct 24, 2006 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 3863

I am sure, for testing purposes just create a simple routine with one arg and paste either mine or kumar's solution there. Test it there. You will see that they both work. Try loading it to a sequential file. What database are you loading it too. For most databases, the date format is YYYY-MM-DD Try...
by DSguru2B
Tue Oct 24, 2006 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command
Replies: 5
Views: 1607

For db2 its just db2 then you go ahead with 'connect to blabla user blabla using blablabla'. But for that he needs to setup the environment first. Like how for oracle you need to run the . ~oracle/92.env file first. Similarly there is a db2 env file that needs to be executed first. But that referenc...
by DSguru2B
Tue Oct 24, 2006 6:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing UserID and Password for DB connection
Replies: 10
Views: 2613

Kumar, you want the poor fellow to get in trouble with his DBA ? :wink:
by DSguru2B
Tue Oct 24, 2006 6:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert string to date
Replies: 12
Views: 3863

ArndW is right. That option will work.
You can also try

Code: Select all

OCONV(ICONV(in.date,"DMDY[2,2,2]":@VM:"MCN"),"D/MDY[2,2,2]")
by DSguru2B
Tue Oct 24, 2006 6:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command
Replies: 5
Views: 1607

Why dont you add that info in the dsenv file. This way whenever datastage runs, the db2 environment will also be set.
You can also source that file directly by providing the fully qualified path name in the cmd of the execute command activity.
by DSguru2B
Tue Oct 24, 2006 6:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODCIINDEXUPDATE
Replies: 2
Views: 2290

Try this result.
by DSguru2B
Mon Oct 23, 2006 1:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing UserID and Password for DB connection
Replies: 10
Views: 2613

tiozzo wrote:Can a few more gurus confirm what DSguri2b is saying is true?

DSguri ???
Dude, you made me a female :?
by DSguru2B
Mon Oct 23, 2006 1:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing UserID and Password for DB connection
Replies: 10
Views: 2613

I get what his DBA is wanting. Correct me if i am wrong tiozzo, your dba wants your database stage to point to a connection file and dynamically pick up the username and password from there. Tell him its out of the scope of this tool. Such a file does exist, the uvodbc.config and .odbc.ini files. Th...