Search found 53125 matches

by ray.wurlod
Sat Aug 20, 2005 1:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting string to decimal
Replies: 13
Views: 20466

In server we don't need StringToDecimal().
by ray.wurlod
Sat Aug 20, 2005 1:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How the find a File in the Directory in DOS
Replies: 19
Views: 5317

Why should uvwalk be different from any other operating system command? :roll:
by ray.wurlod
Sat Aug 20, 2005 1:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to read a file and rewrite it?
Replies: 8
Views: 2915

You can open the file's directory with OpenPath which treats the directory as a database table. You can then use ReadU to read the record in its entirety, looping through it with Remove. Using this algorithm, you CAN update individual lines. Make sure to release the update lock if you don't Write th...
by ray.wurlod
Sat Aug 20, 2005 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Storing Date in Integer Field
Replies: 5
Views: 1131

Multiple Conversion Technique

Iconv() and Oconv() functions can perform multiple conversions; the list of conversion specifications is presented as a multi-valued field (that is, conversion specifications separated from each other by value marks). It's a handy shortcut sometimes. The DIGITS Transform is, under the covers, Oconv(...
by ray.wurlod
Sat Aug 20, 2005 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to turn few rows into one row?
Replies: 2
Views: 817

Welcome aboard! :D

The technique you describe is called a "vertical pivot". If you search for this term you should get a couple of techniques from which to choose.
by ray.wurlod
Fri Aug 19, 2005 5:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: transforms need to replace OConv and FMT
Replies: 5
Views: 3434

Read the Parallel Job Developer's Guide chapters on Modify stage - particularly the list of data type conversion functions, such as decimal_from_string or decimal_from_decimal. When you use the expression editor in the Transformer stage you are presented with a set of functions, one class of which a...
by ray.wurlod
Fri Aug 19, 2005 5:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange behaviour of a Before-Job Sub routine
Replies: 3
Views: 1147

Look in the job log. The second or third entry for a job shows the environment variable settings. Check that PATH is correct.
When you find that it isn't, you will need either to correct PATH in the BAT file, or provide the full pathname of the osql command.
by ray.wurlod
Fri Aug 19, 2005 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transformer_9: Pin 4 not initialized error
Replies: 2
Views: 1224

Pin 4 refers to the fourth (or is it fifth?) link connected to a stage. A "pin" is one end of a link. There is another "pin" at its other end. The terminology comes from links on printed circuit boards in electronics. Chances are that it is a stage variable that lacks an initial value, but where the...
by ray.wurlod
Fri Aug 19, 2005 5:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Storing Date in Integer Field
Replies: 5
Views: 1131

Or

Code: Select all

Oconv(Date(), "D-YMD[4,2,2]" : @VM : "MCN")
by ray.wurlod
Fri Aug 19, 2005 5:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Copying Project folders
Replies: 5
Views: 2482

Copying folders won't help. You might try logging in to the server as a user with DBA privilege and granting CONNECT privilege to the user in question, doing manually what DataStage seems unable to have done. Ultimately, however, you need to have the integrity of your Engine and SQL Catalog database...
by ray.wurlod
Fri Aug 19, 2005 5:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How the find a File in the Directory in DOS
Replies: 19
Views: 5317

There is a little-known utility that ships in the DataStage bin folder. The utility is called uvwalk and can perform a treewalk in a directory structure, much like find does in UNIX. This might provide a more flexible solution. Get to a DOS prompt and execute uvwalk with no command line arguments; i...
by ray.wurlod
Fri Aug 19, 2005 5:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of populated columns
Replies: 5
Views: 1044

dls wrote:What's wrong with using stage variables?

In your case, it seems appropriate.

Stage variables approach isn't flexible enough to handle an arbitrary number of columns.

Otherwise it's viable.
by ray.wurlod
Fri Aug 19, 2005 4:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any limit for aggregator stage in handling rows
Replies: 7
Views: 2023

You can use a UV stage (or any other database stage) to sort your data. If the data are in a file, however, you may find it easier - and faster - to use the UNIX sort command (perhaps as a before/stage subroutine) to effect the sort. Sort by the grouping column(s). You must then inform the Aggregato...
by ray.wurlod
Fri Aug 19, 2005 4:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting string to decimal
Replies: 13
Views: 20466

SADD did not give you an error. Your job would have compiled correctly with SADD(x,y) in an expression. What you saw was the expression being red, which indicates that the expression editor's parser discovered a syntax problem. This is because the SADD function - which is a legal BASIC function - do...
by ray.wurlod
Fri Aug 19, 2005 4:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS files on AIX
Replies: 2
Views: 1582

DS_TEMPnn contains information about the relationships between objects in the design of job number nn. This information is used to construct the run-time configuration (RT_CONFIGnn) when the job is compiled.

If you delete DS_TEMPnn you will not be able to compile the job.