Search found 53125 matches

by ray.wurlod
Fri Oct 14, 2005 6:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject Empty Rows
Replies: 8
Views: 3264

You need to check every column. The Format tab of your Sequential File stage specifies that "" is to be understood as NULL, so you need either to change this or to check using the IsNull() function. Another possibility is to read the file as if it contains just one large string column, and then to u...
by ray.wurlod
Fri Oct 14, 2005 6:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting a Date in An integer format
Replies: 8
Views: 2054

If the input date is already in YYYY-MM-DD then the solution given is non-optimal. All you need to do to get YYYYMMDD is to strip out the "-" characters. Some possible solutions are: Trim(inLink.TheDate, "-", "A") Convert("-", "", inLink.TheDate) Oconv(inLink.TheDate, "MCN") inLink.TheDate[1,4] : in...
by ray.wurlod
Fri Oct 14, 2005 6:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access DB and spaces in column names
Replies: 9
Views: 11705

The ODBC standard forbids spaces so the ODBC driver enforces the rule. That MS Access does not is just Microsoft not following its own standards!

About your only choice is to use user-defined SQL. Let DataStage generate the SQL and then modify it.
by ray.wurlod
Fri Oct 14, 2005 6:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert to csv - header, detail, trailer - in same file
Replies: 8
Views: 2879

Create three files with DataStage - header, detail, trailer. Assemble them subsequently with the UNIX cat command.
by ray.wurlod
Fri Oct 14, 2005 6:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Diff between server Job Parallel Job
Replies: 30
Views: 9759

Server jobs are extremely flexible, don't require a lot of thinking to build. But, like any endeavour, to be done well they do require some planning and preparation. Have a source-to-target mapping document. Have your metadata already in the Repository. Parallel jobs require slightly more preparati...
by ray.wurlod
Fri Oct 14, 2005 6:27 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: ProfileStage
Replies: 4
Views: 2779

I don't know the answer to your question, but I agree with your expectation. Did you have a sample size set anywhere that might have limited the reported number?
by ray.wurlod
Fri Oct 14, 2005 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ambiguous Error Message!
Replies: 16
Views: 4712

Funnily enough, and despite what Oracle bin Larry would have you believe, there are other databases than Oracle. SYS.MESSAGE is a UniVerse table. You can query it from the Administrator client Command window, or from a TCL prompt. TCL is UniVerse (DataStage) approximate equivalent of Oracle's sqlplu...
by ray.wurlod
Fri Oct 14, 2005 8:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Varchar to Oracle Date
Replies: 15
Views: 4008

"ISO format" for dates means ISO 8601, which is an international standard for how to format dates, timestamps, times. The standard date format is YYYY-MM-DD. ISO8859 (various parts) is a standard relating to encoding of characters, and is irrelevant on this thread. NLS character maps don't come into...
by ray.wurlod
Fri Oct 14, 2005 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob not showing the same status as Director
Replies: 4
Views: 1970

-14 is an error code from DSRunJob, not a job exit status. It indicates that some resource could not be obtained within the required time. The job status of 3 is "Aborted". The reason is "timed out waiting for event" (the "event" may have been for the job to start, or to acquire some resource, or to...
by ray.wurlod
Fri Oct 14, 2005 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clear the contents of a Hash file.
Replies: 11
Views: 2906

There's no ON ERROR clause for the OPENPATH statement in Arnd's code, yet this is where a system error is most likely to occur. And I consider any use of DSLogFatal (or STOP or ABORT) (...or CHAIN) to be sloppy programming. clearfile (in the DataStage bin folder) can be run from the operating system...
by ray.wurlod
Fri Oct 14, 2005 8:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Client on Citrix Server
Replies: 2
Views: 1514

I've done this with PCs in Bangalore (India) and the clients in New York, and it was fine (except when the power went off!). Version 7.1.
by ray.wurlod
Fri Oct 14, 2005 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mainframe flat file
Replies: 5
Views: 1426

Plug-in stages can only be installed on the DataStage server. You use the package installer (dspackinst script) to achieve this. If there is a custom GUI, then you install this on the DataStage client machine using a standard InstallShield setup.exe program.
by ray.wurlod
Fri Oct 14, 2005 8:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: steps to import CFD
Replies: 1
Views: 668

FTP the copybook to the AIX machine.

From Manager, choose Import > Table Definition > COBOL FD.

Note that you have to tell it (the import wizard), accurately, in which column position the LEVEL 01 item resides.

Done.
by ray.wurlod
Fri Oct 14, 2005 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PX training course
Replies: 8
Views: 1994

It may be that it tours next year. India is not out of the question. This is neither a promise nor an undertaking - ultimately it will be DCS's call.
by ray.wurlod
Fri Oct 14, 2005 4:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Varchar to Oracle Date
Replies: 15
Views: 4008

In the USA, use MDY rather than DMY in the expression.