Search found 297 matches

by jhmckeever
Wed Aug 08, 2007 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim function in a User Variable Activity
Replies: 7
Views: 4318

Are you having trouble accessing the online help? Oconv(expression, conversion [@VM conversion] ...) expression is a string stored in internal format that you want to convert to an output format. If expression is a null value, null is returned. conversion is one or more conversion codes specifying h...
by jhmckeever
Wed May 02, 2007 4:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs Locked (accessed by another User )
Replies: 12
Views: 7732

Amit_111, It's been said before but you can really help yourself alot by using <a href="http://www.dsxchange.com/search.php">search</a>. Searching for "Job Locked" gives 38 matches. <a href="http://www.dsxchange.com/viewtopic.php?t=99125">Here</a>'s a good one that will...
by jhmckeever
Tue Apr 10, 2007 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading input data from Sequential file
Replies: 4
Views: 1895

... or you can skip them in Unix using the 'tail' command as a filter on your sequential file stage:

Code: Select all

 tail +6
HTH,
J.
by jhmckeever
Thu Apr 05, 2007 3:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Use of schema files
Replies: 2
Views: 1344

Duplicate post.

(duplicate is <a href="viewtopic.php?p=229779">here</a>.)

sjordery,

The chances of having your question answered will not increase by posting it in multiple forums.

Have you tried the product documentation?

J.
by jhmckeever
Tue Apr 03, 2007 11:12 am
Forum: IBM QualityStage
Topic: To run job from a file with empty fields
Replies: 1
Views: 1398

LORE, Your NULL data is not meeting the fixed-width requirement of your QualityStage job. Use some tool to substitute the appropriate number of space characters for the missing values (NULLS.) You can achieve this using DataStage, a Unix shell script, or possibly in whatever tool you are employing t...
by jhmckeever
Tue Apr 03, 2007 11:08 am
Forum: IBM QualityStage
Topic: Running Standarize Jobs from ODBC
Replies: 2
Views: 1506

LORE, You rightly said that QualityStage requires data in Flat File format. If you are using DataStage to host your QualityStage job (using the QS-for-DS plugin) you can stream data directly from an ODBC stage into your QualityStage job. If you are not using DataStage (and wish/need to use QualitySt...
by jhmckeever
Wed Mar 21, 2007 9:24 am
Forum: Data Quality Best Practices
Topic: Naming conventions on filters (AuditStage)
Replies: 2
Views: 19820

Hi Eulderma, We chose to use a format like 'DATASOURCE.Text Description'. E.g. ACCOUNTS.Mismatch to Meter_Grps ACCOUNTS.No live mandate for live DD ACCOUNTS.Billing suspension date not null AGREEMENTS.AGRMT_CUST_NAME is null AGREEMENTS.Invalid price for SME AGREEMENTS.No price line for CORPORATE etc...
by jhmckeever
Wed Mar 21, 2007 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage userid as parameter
Replies: 11
Views: 5439

You might also want to take a look at the FAQ here:
viewtopic.php?t=92038

J.
by jhmckeever
Wed Mar 21, 2007 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage userid as parameter
Replies: 11
Views: 5439

vivekreddy, Where are you looking for the environment variables? Try this: - In Job Properties Parameters tab click "Add Environment Variable" - Click 'New' (at the top) and create the variable USER, then select it from the list to add it to your job - In your job give the USER parameter t...
by jhmckeever
Wed Mar 21, 2007 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage userid as parameter
Replies: 11
Views: 5439

Hi vivekreddy ,

I'm on Unix so can't check this for you at the moment but I believe under Windows you should be able to use the environment variables NAME, USER, or USERNAME.

(For the record it's 'LOGNAME' under Unix)

HTH,
John.
by jhmckeever
Thu Mar 15, 2007 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select the record with 0x0 inside the field by using Filter
Replies: 20
Views: 8095

DSguru2B, , We've got a number of jobs which work this way. I streamed a VarChar column containing Integers 0 to 100 into a transformed and had two output links with constraints: Link1 Constraint: Index (InputCol, '1', 1) & Link2 Constraint: Not( Index (InputCol, '1', 1) ) And got the correct re...
by jhmckeever
Thu Mar 15, 2007 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select the record with 0x0 inside the field by using Filter
Replies: 20
Views: 8095

Thanks DSguru2B, Whilst we're on that point, wouldn't a constraint without the >0 work OK? I thought Booleans were expressed as zero for FALSE and non-zero for TRUE? So a positive Index match would be interpreted as TRUE and a Index non-match would equate to FALSE. Is that wrong? (I'm hoping this do...
by jhmckeever
Thu Mar 15, 2007 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select the record with 0x0 inside the field by using Filter
Replies: 20
Views: 8095

Oh ... and if you want to use proper regular expressions in your transformer there's the C source code for a Parallel Routine to achieve this <a href="viewtopic.php?t=107882">here</a>.

HTH,
J.
by jhmckeever
Thu Mar 15, 2007 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select the record with 0x0 inside the field by using Filter
Replies: 20
Views: 8095

Despite the help file documenting that you can use LIKE with regular expressions in Filter stages we've never managed to get it to work on 7.1r2

Wouldn't it be easier to do this in the Transformer?
Try using :

Code: Select all

Index( InStream.InColumn, '0X0',1)
HTH,
J.