Search found 53125 matches

by ray.wurlod
Tue Aug 31, 2004 4:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Adding head and tail recs
Replies: 4
Views: 1230

In the controlling job, or in a before-job subroutine, write the header record to the file. Within the job itself use "append to file" as the rule in the target Sequential File stage. In the controlling job, or in an after-job subroutine, write the trailer record to the file. The count can be obtain...
by ray.wurlod
Tue Aug 31, 2004 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATATYPE CHECK
Replies: 4
Views: 1300

No. There is only one data type in a text file, "text". Once the data are in DataStage, you can use expressions or Routines to check data types. For example: FUNCTION IsInteger(Arg1) * Returns 1 if Arg1 is an integer, 0 otherwise. * Can not use arithmetic functions in case Arg1 is non-numeri...
by ray.wurlod
Tue Aug 31, 2004 12:50 am
Forum:
Topic: Hash File
Replies: 1
Views: 1713

Welcome aboard! :D A hashed file is like a database table, in that it is a way of storing rows and columns. "Hashed" means that the location of a record is determined by applying a hashing algorithm to the primary key value, rather than by using a table scan or primary key index. This means that loo...
by ray.wurlod
Mon Aug 30, 2004 4:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Line Terminators
Replies: 4
Views: 2182

Single character replacements are more efficiently handled using the Convert function rather than Ereplace.
Also for efficiency, initialize a stage variable (or a constant in code, using Equate) so that Char(10) is only evaluated once.

Code: Select all

Convert(svLF," ",TheField)
by ray.wurlod
Mon Aug 30, 2004 4:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple statements in derivation
Replies: 8
Views: 1799

You can, however, use nested expressions. Use parentheses to make things clearer. For example, if you want to use the result of the function to add to a column: If (Condition) Then Func1(arg1,arg2) + DSLink.SourceSystem Else DSLink.SourceSystem You do need to do something with the re...
by ray.wurlod
Mon Aug 30, 2004 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job finished see log
Replies: 1
Views: 1833

It appears that the end-of-line character (\n) is missing from the last line of your text file. DataStage survives this, but issues a warning so that you're aware of it. Edit the text file and position to the end. You should be at the beginning of an empty line. If you're at the end of the last line...
by ray.wurlod
Sun Aug 29, 2004 5:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: jobs halts
Replies: 3
Views: 1085

How did you determine that?
by ray.wurlod
Sat Aug 28, 2004 4:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to access data from UV on remote server
Replies: 11
Views: 2802

I can only suggest that the project account is not fully/properly installed, or that the Administrator client is filtering what you're permitted to do (for example, you can't LOGTO from the client). Try adding a new project simply to see whether DS_CONNECT is in the VOC there. You can delete the new...
by ray.wurlod
Sat Aug 28, 2004 3:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to access data from UV on remote server
Replies: 11
Views: 2802

Try DS_CONNECT rather that DS.CONNECT. I'm very surprised that there's no CONNECT. Are you in an account that is a DataStage project?
by ray.wurlod
Fri Aug 27, 2004 10:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do I set up user permissions to protect projects
Replies: 5
Views: 2259

DataStage access security is based around operating system groups, not user IDs. You will need to create separate groups, let's say dsproj1 and dsproj2, and put user1 in one and user2 in the other. In the Administrator client, configure the security for project1 so that group dsproj1 is in the Devel...
by ray.wurlod
Fri Aug 27, 2004 6:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem using update insert in the oraoci 8 stage
Replies: 2
Views: 680

Reset (not re-compile) the job after it aborts, and post the "from previous run..." message. This usually provides additional diagnostic information that helps to solve the problem.
by ray.wurlod
Fri Aug 27, 2004 5:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to access data from UV on remote server
Replies: 11
Views: 2802

The entry in UV.ACCOUNT would allow UV/Net to access the remote account, except that UV/Net is no longer a part of DataStage. This entry is not used by the BCI/UCI mechanism, so is not needed. I believe, though have never tested the theory, that the remote account name and the entry name in uvodbc.c...
by ray.wurlod
Fri Aug 27, 2004 5:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Other clauses box is grayed out
Replies: 11
Views: 1302

Looks like the DRS behaves differently from other stage types. Report it as a bug. Workaround could be to use explicit stage type, or ODBC, which I'm aware isn't an acceptable workaround for PeopleSoft deployment.
by ray.wurlod
Fri Aug 27, 2004 5:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot access Job and Routine Activity stages' properties
Replies: 15
Views: 6434

I recently saw a similar problem where it took nearly five minutes to open a Job Activity in a Job Sequence. Systematic diagnosis, using server-side tracing, showed that most of this time was taken up with building the drop-down list of job names in the Job Activity, and there was a large number of ...
by ray.wurlod
Fri Aug 27, 2004 5:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After Routine & Transform Functions
Replies: 5
Views: 1687

Documentation on the use of header files is in the DataStage BASIC manual (basic.pdf), one of the standard manual set. I've just looked at the code you posted a bit more closely; it seems to be missing an outer loop where the "all" column names might be incorporated. Is there more to this routine th...