Search found 53125 matches

by ray.wurlod
Wed Jun 16, 2004 2:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date parameter
Replies: 2
Views: 1488

Welcome aboard! :D Glad you've gotten a solution quickly. Recommend the site to your (DataStage) friends!
by ray.wurlod
Tue Jun 15, 2004 11:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EndTime
Replies: 2
Views: 869

Get the timestamp of the most recent event in the job log file.

Code: Select all

Event = DSGetNewestLogId(hJob, DSJ.LOGANY)
Entry = DSGetLogEntry(hJob, Event)
TimeStamp = Field(Entry, "\", 1, 1)
by ray.wurlod
Tue Jun 15, 2004 11:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EndTime
Replies: 2
Views: 869

When do you pick up the job's exit status? Straight after DSWaitForJob? Grab the system time then.

Code: Select all

FinishTimeStamp = Oconv(Date(),"D-YMD[4,2,2]") : " " : Oconv(Time(),"MTS:")
by ray.wurlod
Tue Jun 15, 2004 11:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Which Jobs Load Hashed Files?
Replies: 15
Views: 4413

kduke wrote:Ray,
Wouldn't this be easier.

Will have to run both through EXPLAIN when I get some time. :!:
by ray.wurlod
Tue Jun 15, 2004 11:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Which Jobs Load Hashed Files?
Replies: 15
Views: 4413

In the Administrator client's command window.

At the TCL prompt via a telnet session.

Via ExecTCL (before/after subroutine).

By calling DSExecute with a shell argument of "UV".

Enclosed in double quotes following a uv command at the server's operating system shell.

... and more.
by ray.wurlod
Tue Jun 15, 2004 9:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: When do changes to cache size parms take affect?
Replies: 2
Views: 767

... and reported in the job log, should you require proof! :)
by ray.wurlod
Tue Jun 15, 2004 7:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Which Jobs Load Hashed Files?
Replies: 15
Views: 4413

Which Jobs Load Hashed Files?

Today I needed to determine which jobs in a project loaded hashed files. Here is a query to do just that. The query uses publicly-documented column names from the DS_JOBOBJECTS table, so is totally legal (not a "hack"). SELECT NAME FMT '40L', OBJIDNO FMT '6R' COL.HDG 'Job No' FROM DS_JOBOBJECTS WHER...
by ray.wurlod
Tue Jun 15, 2004 5:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flat file loading on UNIX
Replies: 8
Views: 1823

You could have used print with $3 and $4 in awk, thereby only needing one output file. But, heck, you've got DataStage. 8)
by ray.wurlod
Tue Jun 15, 2004 5:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Any Ascential Certification ??
Replies: 14
Views: 4640

I recently attended a user group meeting offered by Ascential and this topic came up. Ascential currently does not offer any certification for there products but they are planning to in the near future. There is suppose to be three levels. The first is certification in a single product like datasta...
by ray.wurlod
Tue Jun 15, 2004 5:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mapped Network Drive not visible
Replies: 4
Views: 1620

What is the value of ALLOWNFS in your uvconfig file? Originally DataStage did not automatically allow use of mapped network drives, because this was the default behaviour in UniVerse (for reasons unconnected with DataStage). Later versions of DataStage (certainly 5.2 and later) DataStage's default w...
by ray.wurlod
Tue Jun 15, 2004 12:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flat file loading on UNIX
Replies: 8
Views: 1823

There's an easy DataStage job solution. Read the file and write another, with four output columns. Field001 and Field002 are directly derived from input. Field003 is derived as If Len(inlink.Field003) = 10 Then inlink.Field003 Else inlink.Field004 and Field004 is derived as If Len(inlink...
by ray.wurlod
Tue Jun 15, 2004 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file lookup with an empty string
Replies: 7
Views: 1775

TRIM("") yields "", which doesn't help the original problem. The OP needs to determine how the "" values came to be in the hashed file's key columns in the first place. It is entirely legal for them to be there (since "" is a known value, unlike NULL), but is clearly causing a problem. What are the ...
by ray.wurlod
Tue Jun 15, 2004 12:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The Connection is Broken [810020]
Replies: 5
Views: 2393

It's a fairly common problem. The inactivty timeout for client connections is set in the Administrator client. On the General tab there is a frame for Inactivity Timeout in which you can set the number of seconds, or check the "do not timeout" check box. The connection with the server drops if it is...
by ray.wurlod
Tue Jun 15, 2004 12:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Did you know? Running Oracle blocks, trapping rejects &
Replies: 5
Views: 3463

Arguably, though, "end" is not an SQL statement but rather a metasyntactic variable marking the end of a block of SQL statements.
:P
by ray.wurlod
Mon Jun 14, 2004 4:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to run Manager after 5.2 to 7.0 conversion
Replies: 17
Views: 4525

We run 5.2 and 7.0 clients on the same PC, and use the unsupported utility ClientSwitcher to switch between them.
Are you trying to open a connection to a 7.0 server from a 5.2 Manager? (Use Help About to determine the client version.)