Search found 53125 matches

by ray.wurlod
Thu Jul 27, 2006 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flag Logic
Replies: 4
Views: 1418

Sort by Type then in descending order by Value. Use stage variables to detect a change in Type and set the flag to 'Y' where this occurs and to 'N' otherwise. svIsChanged @INROWNUM = 1 Or InLink.Type <> svPrevType svPrevType InLink.Type svFlag If svIsChanged Then "Y" Else "N" Not...
by ray.wurlod
Thu Jul 27, 2006 3:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert a dummy record if file is empty
Replies: 7
Views: 2480

On what basis are you trying to look up file count and reject file count? If the source file is empty, then no rows will be processed and no lookups will be performed. Create a filter command on the source file to test whether it is zero length. Then you will have one row on your input stream, conta...
by ray.wurlod
Thu Jul 27, 2006 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange message
Replies: 2
Views: 908

You are trying to create a job name that is already in use as a hashed file (or UniVerse table) name. This is not permitted. Choose a different job name, or rename the hashed file. One name, one thing.

Out of curiosity, what is the job name that is being refused?
by ray.wurlod
Thu Jul 27, 2006 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage administrator login message
Replies: 1
Views: 635

Check for permissions on the DSParams and DSMFParams files in your project on the server. Also check for the existence and permissions on files matching the pattern .*.adm in your project on the server.
by ray.wurlod
Thu Jul 27, 2006 3:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: mainframe file issue
Replies: 3
Views: 618

You claim that the second field is an integer but have described the "H" record type as having a date in the second field.
by ray.wurlod
Thu Jul 27, 2006 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing Dates to Stored Procedure
Replies: 2
Views: 1775

The problem is with your stored procedure, or perhaps with the syntax of the CALL statement. It might be worth enabling an ODBC trace to see what's being requested. Can you post the code of your stored procedure? Does your DBA suggest what the "unimplemented optional feature" may be? Have you search...
by ray.wurlod
Thu Jul 27, 2006 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date formatting
Replies: 11
Views: 7182

Oh, there is so too!

Code: Select all

Oconv(internal_date, "D/YMD[4,2,2]" : @VM : "MCN")
by ray.wurlod
Thu Jul 27, 2006 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Check NULL
Replies: 7
Views: 1336

If you right-click on a red expression, you can choose "Validate Expression" from the menu, and DataStage will report t you what the parser in the Expression Editor believes is wrong with your syntax. There is also a Transform called NullToZero that you may prefer to use - though it only gives a si...
by ray.wurlod
Thu Jul 27, 2006 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to convert integer date (YYYYMMDD) to date
Replies: 14
Views: 15952

All you need is date_from_string[%yyyy%ddd](InputDate) in a Modify stage, or StringToDate(InputDate, "%yyyy%ddd") in a Transformer stage. The result is a date. Its internal format is immaterial. It can be used to populate a field whose data type is date. If you need to convert it back to a string, t...
by ray.wurlod
Thu Jul 27, 2006 3:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping in Sequencer
Replies: 2
Views: 1066

A job sequence? JOB1 --> P1 --> ExecuteCommand --> JOB2

If P1 is an ExecuteCommand activity in its own right, then it might be wrapped in a script whose exit status can be tested, thereby avoiding the second ExecuteCommand activity.
by ray.wurlod
Thu Jul 27, 2006 3:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: internal error 990000 while compiling
Replies: 4
Views: 1922

Check that you have write permission to the folder where the COBOL and JCL are to be written (configurable, so you might also like to try a different location). Check also that the disk is not full and that there are no quota restrictions.
by ray.wurlod
Thu Jul 27, 2006 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning
Replies: 7
Views: 1830

Use (Auto) here. You only need explicit partitioning if rows need to be grouped (for example by key for join/lookup).
by ray.wurlod
Thu Jul 27, 2006 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Aborted
Replies: 1
Views: 866

Reset the job. Look for a log event "from previous run". It will tell you what happened. You would be better off designing this job with a Transformer stage between the source and the Hashed File stages; even though it does nothing it makes stage tracing and debugging much easier. Did any rows get i...
by ray.wurlod
Thu Jul 27, 2006 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Review checklist & Estimation document/guidelines
Replies: 8
Views: 2583

It's the "D" word that will get you guys. :wink:


Guiding principle: there will never be time to retrofit documentation. Do it first. "Later" never happens.
by ray.wurlod
Thu Jul 27, 2006 7:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FLOAT Datatype; Minimum Value?
Replies: 4
Views: 1151

Maximum precision of numeric data within DataStage server jobs is, by default, 15 significant digits. This default can be overridden with the EXACTNUMERIC configuration parameter in uvconfig. The PRECISION statement in BASIC affects the maximum number of digits that will appear to the right of the d...