Search found 53125 matches

by ray.wurlod
Tue Dec 21, 2004 4:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last Change Date and User
Replies: 11
Views: 4126

DTM, MODIFIER and REASON are multi-valued columns within the DS_AUDIT table. Together they form a "nested table" called MODS. You can see all this with LIST.DICT DS_AUDIT. To expose the MODS table, one way is to use the UNNEST operator in the FROM clause. This "explodes" the other columns (the singl...
by ray.wurlod
Tue Dec 21, 2004 4:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get job name for list of hash file
Replies: 22
Views: 6642

Three methods (at least) are available, and that's without writing a program. Method 1 Define a "spool channel" output as a disk file. SETPTR 3,132,20000,0,0,3,BANNER filename,BRIEF Channel number (the first argument) can be anything from 0 through 255. The other numeric arguments, in order, are pag...
by ray.wurlod
Tue Dec 21, 2004 4:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read XML from Oracle BLOB
Replies: 8
Views: 3541

I think you'd be surprised at how large DataStage allows VarChar to be! 8)
Whether the database server can manage VarChar(64000) is a different question!
by ray.wurlod
Tue Dec 21, 2004 4:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problems in running a job using subroutines
Replies: 5
Views: 1519

Well, you're re-inventing the wheel by wanting to run job B for each row processed by job A.
Look in the Routines branch (sdk\Utility category) at the routine called UtilityRunJob, which does exactly what you're trying to achieve. :wink:
by ray.wurlod
Tue Dec 21, 2004 2:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Not able to import a routine
Replies: 6
Views: 1358

You will have to un-protect the project. The point of a protected project is that it does not allow change. Import the Routine into the unprotected project then re-protect the project. Of course, you will need to be in a group that is a member of the DataStage Business Manager role for this to be ef...
by ray.wurlod
Tue Dec 21, 2004 2:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read XML from Oracle BLOB
Replies: 8
Views: 3541

You have to figure out, perhaps by DESCRIBE, perhaps by inspecting ALL of the metadata in your job (for example, are any parameter markers binding to the wrong columns), why Oracle expected NUMBER. Create a test job that only accesses this one column. See if the problem goes away. If it does, the pr...
by ray.wurlod
Tue Dec 21, 2004 2:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can a DataStage Basic Program be run from Unix shell
Replies: 10
Views: 3593

Provided it's a PROGRAM (and not a FUNCTION or a SUBROUTINE), the following steps are required. Get to the UNIX prompt. Ensure that your $DSHOME environment variable is set to the correct value (the location of the DSEngine directory). Execute the $DSHOME/dsenv shell script. Change directory to the ...
by ray.wurlod
Tue Dec 21, 2004 1:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple Tranformer/Basic Transformer
Replies: 5
Views: 1689

Hashed files are not used in parallel jobs.

Lookups are performed with Join, Merge or Lookup stage types.

It's a completely different approach to that used in server jobs.

The (parallel) Transformer stage does, indeed, support only one input link.
by ray.wurlod
Tue Dec 21, 2004 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read text files from a folder
Replies: 7
Views: 3270

You've posted in the Parallel Extender forum.

The Parallel Sequential File stage does indeed have these properties.

Now you're complaining that the same properties are not there in server jobs.

It is NOT THE SAME STAGE TYPE!
by ray.wurlod
Tue Dec 21, 2004 12:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problems in running a job using subroutines
Replies: 5
Views: 1519

"is not in a runnable state" is an error message that suggests that your job was not eligible to be run. Your assertion that the job is in a runnable state is therefore questionable. The only possible states in which a job is eligible to run are "Finished OK", "Finished (see log)", "Validated OK", "...
by ray.wurlod
Tue Dec 21, 2004 12:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Refresh in Director very slow
Replies: 3
Views: 1490

Which view in Director? Status view needs to refer to the RT_STATUSnnn table for each job in the currently selected category. (Hint: don't have too many jobs per category.) Log view needs to refer only to the RT_LOGnnn table for the currently selected job, but this may involve a large number of even...
by ray.wurlod
Tue Dec 21, 2004 12:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where can i get a Universe BASIC Compiler
Replies: 4
Views: 1430

You can purchase UniVerse from IBM. But, is that what you really want? If (as other threads suggest) you are trying to create DataStage BASIC programs, then you need a DataStage BASIC compiler. This is not compatible (any more) with a UniVerse BASIC compiler. Each will successfully compile the same ...
by ray.wurlod
Tue Dec 21, 2004 12:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can a DataStage Basic Program be run from Unix shell
Replies: 10
Views: 3593

Everything in the UniVerse BASIC and DataStage BASIC manuals assumes that you are interactively in the shell (uvsh or dssh respectively). To achieve this in DataStage you must be attached to a project directory, have executed the dsenv script (on UNIX only), and have issued the dssh command ($DSHOME...
by ray.wurlod
Mon Dec 20, 2004 7:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dsjob Status Code: 39204
Replies: 4
Views: 1705

Error code 39204, you can ascertain from the InterCall Developer's Guide, decodes as "slave failed to start correctly".
Looks like a (temporary?) process allocation problem.

Search the forum for other instances of 39204 and "slave".
by ray.wurlod
Mon Dec 20, 2004 7:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dsjob Status Code: 39204
Replies: 4
Views: 1705

This has got to be a recent change. I'm running 7.1r1 on AIX, and dsjob -lprojects alone was fine. Followed that with dsjob -ljobs projectname and that with dsjob -lprojects again. Everything was OK, with status = 0. Perhaps there's something you missed out in your environment? I have execution of $...