Search found 53125 matches

by ray.wurlod
Wed Aug 05, 2009 6:11 pm
Forum: General
Topic: Guide or tutorial to write Datastage Routines
Replies: 5
Views: 9968

I'm sure if you Search on DSXchange you will be able to find some examples.
by ray.wurlod
Wed Aug 05, 2009 6:10 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Profiling flat files on Profile Stage
Replies: 1
Views: 1751

Welcome aboard. The correct forum for this post was "Information Analyzer (formerly Profile Stage)". The suite of ODBC drivers has one for text files. Basically you create a DSN that uses that driver. You will need to make the parent directory one of the properties mentioned in the .odbc.i...
by ray.wurlod
Wed Aug 05, 2009 1:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential Files : Null values are converted to symbol €
Replies: 7
Views: 9737

DataStage represents null internally using a single byte with bit pattern 1000000 (or Char(128)). Windows uses this byte to represent the Euro symbol. I believe there's a way to change the DataStage internal representation, but can't recall what it is (and am not currently working on a Windows serve...
by ray.wurlod
Wed Aug 05, 2009 12:31 am
Forum: General
Topic: moving from production to testing environment
Replies: 6
Views: 2068

Were you intending this to be a topic for an FAQ?

If not, please re-post in the General forum.
by ray.wurlod
Wed Aug 05, 2009 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine
Replies: 7
Views: 2607

No.

But you can use dsjob -jobinfo project jobname in your script and parse out the information you require.
by ray.wurlod
Wed Aug 05, 2009 12:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get the list of Datastage users
Replies: 20
Views: 10821

Try XMETA.USERS_2 for users and XMETA.USERPROFILES_2 for roles and groups.
by ray.wurlod
Wed Aug 05, 2009 12:10 am
Forum: General
Topic: Guide or tutorial to write Datastage Routines
Replies: 5
Views: 9968

For lines that will never be more than a small multiple of 132, you could also use substrings onto multiple outputs of a Transformer stage (constrain each with an expression that guarantees existence of that line fragment) and combine those with a Funnel stage.
by ray.wurlod
Wed Aug 05, 2009 12:08 am
Forum: General
Topic: Guide or tutorial to write Datastage Routines
Replies: 5
Views: 9968

You can use a server job or BASIC Transformer stage in a parallel job and the Fold() function or the Fmt() function in either.

Do you want to break at the exact character boundary, or preserve whole words on a single line? Both are possible.
by ray.wurlod
Tue Aug 04, 2009 5:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert Binary data to ascii format
Replies: 10
Views: 8646

Yes you can, but using Complex Flat File stage is much easier.
by ray.wurlod
Tue Aug 04, 2009 5:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Connectivity between AS 400 and AIX
Replies: 2
Views: 1170

Welcome aboard.

You can FTP the files to the AIX server, you could also access them as DB2/400 tables through ODBC or DB2 Connect.
by ray.wurlod
Tue Aug 04, 2009 5:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it possible to pass a job parameter inside another?
Replies: 17
Views: 4499

The example i gave was just to for ur understanding. Ur was a city in ancient Babylon; it has not existed for thousands of years and is therefore probably beyond understanding anything - even assuming that a city can understand at all. The second person personal possessive pronoun in English is spe...
by ray.wurlod
Tue Aug 04, 2009 5:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting the Current timestamp with fractional milliseconds
Replies: 5
Views: 4122

You can use a server routine. If $OPTIONS TIME.MILLISECOND is set, then SYSTEM(12) returns the current time in milliseconds since midnight, provided that the operating system supports milliseconds. FUNCTION NowMS(Format) $COPYRIGHT "Copyright (c) 2004, Ray Wurlod. All rights reserved. May be fr...
by ray.wurlod
Tue Aug 04, 2009 5:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSR.ADMIN: Failed to set entries in ACL
Replies: 1
Views: 1254

They should be hidden. Whatever your DataStage Administrator user ID is needs to have write permission to these files. It appears that you are using Access Control Lists as part of Windows security; the error message suggests that the user is attempting to change the ACL and lacking the requisite pr...
by ray.wurlod
Tue Aug 04, 2009 5:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command to reset Aborted job
Replies: 5
Views: 2194

Gosh, and here's me thinking the original question was "is there a command equivalent".
:roll:
by ray.wurlod
Tue Aug 04, 2009 5:08 pm
Forum: IBM QualityStage
Topic: Replacing a substring with another using a Lookup
Replies: 4
Views: 2044

Good point, but the same story is true whether you're using a Lookup stage or a Standardization stage - you need to include all partial forms in the lookup/classification table.