Search found 53125 matches

by ray.wurlod
Thu Apr 14, 2016 5:02 pm
Forum: General
Topic: How do I remove NUL from a file?
Replies: 2
Views: 1636

NUL is the byte value 0 (aka 0x00, aka Char(0)). It may be being used in the file to indicate NULL (unknown value). Check with the provider of the file before arbitrarily removing it. Or it may be that 0x00 is being used to pad fields whose data type has been declared as Char. For example NUL is the...
by ray.wurlod
Thu Apr 14, 2016 4:57 pm
Forum: General
Topic: Identify if job is in 'COMPILED' status
Replies: 2
Views: 1712

DSJS_NOTRUNNING means that the job has been compiled but has not been run since it was most recently compiled.
by ray.wurlod
Wed Apr 13, 2016 9:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to perform multiple if else validation in a transformer
Replies: 5
Views: 4210

Trim() will leave one white space character where there are more than one. Prefer StripWhiteSpace() or Convert() to eliminate white space characters totally. And take some time to learn which characters are considered to be white space.
by ray.wurlod
Wed Apr 13, 2016 5:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IN clause in transformer
Replies: 11
Views: 10367

Thinking a little outside the square, another possibility is to use the Data Rules stage with a data rule definition based on an in_reference_list check. Yet another possibility is to use one of the lookup table functions in a Modify stage, with a suitable default value to reflect the "not foun...
by ray.wurlod
Wed Apr 13, 2016 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation help required in Transformer
Replies: 8
Views: 2697

I provided you with the needed functions - please experiment with these as a learning experience.

I prefer to teach you to fish rather than to give you a fish.
If I give you a fish that's consulting, and you pay for my time.
by ray.wurlod
Wed Apr 13, 2016 5:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Line breaks within fields in a file
Replies: 4
Views: 1747

Why/how was your pre-processing unsuccessful?

Using the server Sequential File stage is an easy solution (provided that the string is quoted).
by ray.wurlod
Wed Apr 13, 2016 4:58 pm
Forum: General
Topic: Delete 100 jobs via script
Replies: 6
Views: 3018

I'd still prefer to use Director client. Disable view of folders and you can see all jobs in the project (probably make the refresh interval quite long too). Then you can take your time over selecting the correct jobs before deleting.

Don't forget to backup (export project) before deleting.
by ray.wurlod
Tue Apr 12, 2016 6:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation help required in Transformer
Replies: 8
Views: 2697

Last day of previous month is a one day (-1 day) offset from the first day of the current month. Therefore the easiest solution is to build the first day of the current month by subtracting the current day number in the month from the current date. Functions are DateFromDaysSince() and MonthDayFromD...
by ray.wurlod
Mon Apr 11, 2016 7:37 pm
Forum:
Topic: Models
Replies: 2
Views: 2531

Shame, really.
by ray.wurlod
Mon Apr 11, 2016 7:36 pm
Forum:
Topic: Models
Replies: 2
Views: 2531

The answer is no. It is specifically mentioned in the Deprecated Features of the New Features and Changes page for version 11.3.
by ray.wurlod
Mon Apr 11, 2016 7:34 pm
Forum:
Topic: Models
Replies: 2
Views: 2531

Models

In Metadata Workbench (version 8 and 9) one could view the various models used to store metadata on the Administration tab Model View choice.

Is there an equivalent in Information Governance Catalog and, if so, where?
by ray.wurlod
Fri Apr 08, 2016 3:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating records in ascending sequence
Replies: 10
Views: 6170

<rant>Resist stupid requirements!</rant>
by ray.wurlod
Thu Apr 07, 2016 12:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating records in ascending sequence
Replies: 10
Views: 6170

You will need to employ some kind of sorting, even if you are maintaining the sorted list in the Transformer loop.

It would be much easier to sort the source data so that your job can know the start and end points of the values that need to be interpolated.
by ray.wurlod
Wed Apr 06, 2016 7:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage flow to receive gzip'd files as binary data
Replies: 12
Views: 4096

You might also investigate the Expand stage (in the Processing group).
by ray.wurlod
Wed Apr 06, 2016 7:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating records in ascending sequence
Replies: 10
Views: 6170

Am I missing something, or is this just about sorting?