Search found 53125 matches

by ray.wurlod
Fri Oct 07, 2011 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Unknown characters while Fetching from SQL SERVER
Replies: 6
Views: 1443

Ctrl-@ is the ASCII NUL character, which is used to pad fixed length strings by default. Setting APT_STRING_PADCHAR to a different character uses that character instead. For the case where SQL Server returns five NUL characters I'd be interested to know what's really stored in SQL Server. You can ce...
by ray.wurlod
Fri Oct 07, 2011 4:53 pm
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: need to capture client IP address in web service log file
Replies: 6
Views: 4059

There's one of the obscure DataStage engine functions that can do that (System(42), but this only works on a Windows server :cry:) but you would need to incorporate some server functionality - either a before/after subroutine or a BASIC Transformer stage to be able to use that. AND be on a Windows s...
by ray.wurlod
Fri Oct 07, 2011 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Unknown characters while Fetching from SQL SERVER
Replies: 6
Views: 1443

pps. The second person personal pronoun in English is spelled "you". Spelling it "u" upsets at least some of the natives.
by ray.wurlod
Fri Oct 07, 2011 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tranformer logic
Replies: 5
Views: 1315

No.

DataStage takes only one pass through the data. It can "remember" and access only the previous row.
by ray.wurlod
Fri Oct 07, 2011 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Prefix a MINUS sign before a decimal number through trsfmr
Replies: 4
Views: 1223

Of course, but none as elegant as multiplying by -1.
by ray.wurlod
Fri Oct 07, 2011 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Execution steps
Replies: 1
Views: 669

That's a very long topic. The best way to find out is to attend the Advanced DataStage class offered by IBM.
by ray.wurlod
Fri Oct 07, 2011 9:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort
Replies: 2
Views: 955

Welcome aboard. Find information about the Sort stage in the Server Job Developer's Guide.
by ray.wurlod
Fri Oct 07, 2011 9:11 am
Forum: General
Topic: Usage of CLEAR.FILE
Replies: 2
Views: 948

Think of it as the DataStage equivalent of TRUNCATE TABLE, with the additional benefit that DataStage engine can treat directories and hashed files as tables in this context.
by ray.wurlod
Fri Oct 07, 2011 9:09 am
Forum: General
Topic: Number of execution/ per day
Replies: 2
Views: 702

It may also, depending on the strategy you adopt, depend on your log auto-purge settings.
by ray.wurlod
Fri Oct 07, 2011 9:08 am
Forum: General
Topic: Datastage environmental variables
Replies: 2
Views: 1875

Note that there are two entries in DSParams per environment variable; basically one to define it and one to store its value.
by ray.wurlod
Fri Oct 07, 2011 9:06 am
Forum: General
Topic: Usage of & directories
Replies: 1
Views: 645

The &-based names originate in the PRIMOS operating system, where the ampersand character did not have a special meaning. The names are so ubiquitous throughout the engine code that it would have been more trouble than it was worth to change the names. Please search - I'm sure I've documented th...
by ray.wurlod
Fri Oct 07, 2011 9:04 am
Forum: General
Topic: how to get the username from userno in LIST.READU
Replies: 9
Views: 7185

DESC is a reserved word (ORDER BY columnname DESC). You can enclose column names in double quotes to avoid these issues.

Code: Select all

SELECT "NAME", "TYPE", "DESC" FROM "VOC";
by ray.wurlod
Fri Oct 07, 2011 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Viewing Data in DataStage Hashed files
Replies: 3
Views: 1563

If the hashed file is account (project) based you use a query language - either DataStage SQL or RetrieVe.

If the hashed file is not account based you need to create a VOC pointer to it then use a query language.

Yes, you do need to have executed the dsenv script first.
by ray.wurlod
Fri Oct 07, 2011 3:58 am
Forum: General
Topic: how to get the username from userno in LIST.READU
Replies: 9
Views: 7185

dsenv is in the DSEngine directory. You are working in its parent directory. DS.TOOLS is a menu. LISTU is an interlude to a UNIX command who. LIST.USERS doesn't exist - I did mention in my earlier post that I was not 100% if the names. Someone else may have access to them; right now I am preparing t...
by ray.wurlod
Fri Oct 07, 2011 12:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: duplicate issue
Replies: 8
Views: 1659

Lookup returns the first one found, but still checks for others, unless you enable multiple row return from that reference input link.