Search found 6797 matches

by DSguru2B
Mon Jun 18, 2007 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use of Server routines in Parallel Jobs
Replies: 13
Views: 5475

No. Because you cannot use a basic transformer then.
by DSguru2B
Mon Jun 18, 2007 9:23 am
Forum: General
Topic: Get Data from the Database based on a key column.
Replies: 10
Views: 1826

Well, instead of the DRS stage, you can use an odbc stage for direct lookup and specify that this link returns multi-row result set.
by DSguru2B
Mon Jun 18, 2007 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use of Server routines in Parallel Jobs
Replies: 13
Views: 5475

An enterprise edition will also let you develop server jobs so the engine is still there. That is why it allows you to use a basic transformer in px jobs, provided you are on an smp environment.
by DSguru2B
Mon Jun 18, 2007 8:26 am
Forum: General
Topic: Get Data from the Database based on a key column.
Replies: 10
Views: 1826

A better way would be to do a select from your table and do a lookup on your first sequential file stage based on the key and get the output.
by DSguru2B
Mon Jun 18, 2007 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Use of Command Line to list datastage jobs
Replies: 7
Views: 12875

Do you have to use -user option? Try running the following from your datastage server.

Code: Select all

dsjob -ljobs <<ProjectName>>

where <<ProjectName>> is your project.
by DSguru2B
Mon Jun 18, 2007 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use of Server routines in Parallel Jobs
Replies: 13
Views: 5475

You can use these BASIC routines in a basic transformer in a parallel job.
by DSguru2B
Mon Jun 18, 2007 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Desiging Jobs
Replies: 7
Views: 1646

Another good point by gateleys. Modularization has lots of benefits as opposed to its couterpart design.
by DSguru2B
Mon Jun 18, 2007 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Desiging Jobs
Replies: 7
Views: 1646

More number of jobs (modularity) will give you ease of debugging, along with restartability. A single huge job will make debugging a nightmare. Forget about restartability. Weigh your options. You can probably create a single job to extract, transform and load to staging datasets. Two more jobs, one...
by DSguru2B
Fri Jun 15, 2007 1:27 pm
Forum: General
Topic: Caught ORCHESTRATE
Replies: 2
Views: 1117

Have you defined all lengths and precisions of decimal fields in your job? One of them might be missing. Double check your meta data.
by DSguru2B
Fri Jun 15, 2007 9:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 64bit hased file bad performance
Replies: 22
Views: 4848

Thats enough information Ken. As always, you rock, and we learn.
Regards,
by DSguru2B
Fri Jun 15, 2007 8:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [Urgent] Mutiple Input Files and Mutiple Tables
Replies: 11
Views: 1962

Welcome Aboard If you know the maximum number of columns your csv file can have, you can create the metadata according to that. For missing columns yo can go to the column's tab and specify the 'Missing Column' option, so that the sequential file stage wont complain. You can set constraints in the t...
by DSguru2B
Fri Jun 15, 2007 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 64bit hased file bad performance
Replies: 22
Views: 4848

Understood. The main point for this design is to ensure both the reference and source keys end up in the same partition. Beautiful.
Is you syncsort cat up on your website for public usage or its client propriety material :?:
by DSguru2B
Fri Jun 15, 2007 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if then else problem
Replies: 4
Views: 1085

O crap. Totally missed that one. :oops:
by DSguru2B
Fri Jun 15, 2007 7:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Compilation Error
Replies: 5
Views: 1771

This is not a routine but a complete program. Get rid of the main an change it to your function name. Test it out from command line by having a main function. Make sure it works. Then take out the main and compile the function again. Then call it from within datastage.
by DSguru2B
Fri Jun 15, 2007 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if then else problem
Replies: 4
Views: 1085

You need an End statement after each condition.

Code: Select all

      IF Arg1 = '+'
      THEN
         Res = a1 + a2
      END
         ELSE IF Arg1 = '-'
      THEN
         Res = a1 - a2
      END
         ELSE IF Arg1 = '*'
      THEN
         Res = a1 * a2
      END