Search found 42189 matches

by chulett
Wed Jun 01, 2011 7:32 am
Forum: General
Topic: datastage job not getting called through batch file
Replies: 11
Views: 5247

That's not how one uses variables like that in DOS. For now just do this:

C:\Ascential\DataStage\Engine\bin\dsjob -run (etc etc)
by chulett
Wed Jun 01, 2011 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get subtotals
Replies: 4
Views: 1933

I meant next time as I'd already done the dirty work for you here. Ah well, that works too. If people want to help, please respond there not here.

Thanks.
by chulett
Wed Jun 01, 2011 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to get TOP 5 sums
Replies: 6
Views: 1781

Join the two, sort the result by the amount descending and constrain the output to the first five records. Note you'll need to run sequentially or on one node for this to work properly.
by chulett
Wed Jun 01, 2011 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage record delimiter
Replies: 3
Views: 2667

No. UNIX uses a LF for a record delimiter while DOS uses a CR/LF pair. To implement a DOS newline, use the Record delimiter string property set to ″\R\N″ or chooseFormat as → DOS line terminator from the shortcut menu. This is straight from the docs.
by chulett
Wed Jun 01, 2011 7:05 am
Forum: General
Topic: Scripts involved in Application enable/disable
Replies: 6
Views: 2340

So, actually a QualityStage question? Just trying to determine what the proper forum is to move this to...
by chulett
Wed Jun 01, 2011 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file stage record delimiter
Replies: 3
Views: 2667

Use a Record Delimiter String as that DOS 'newline' is actually two characters.
by chulett
Wed Jun 01, 2011 6:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get subtotals
Replies: 4
Views: 1933

[split from this topic] First let's start by not hijacking someone else's old post and start your own. Post a link to the other post if you think it will really be helpful, but we need your particulars - version, O/S, etc - and an example of your issue/question in order to help you. Also, that way y...
by chulett
Wed Jun 01, 2011 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while doing View Data
Replies: 6
Views: 6975

Sorry, but what were you trying to accomplish here? Other than make my eyes bleed. I don't see anything other than a quote of the original post... :?
by chulett
Wed Jun 01, 2011 6:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data is getting trimmed in Trunc Load of OE stage
Replies: 2
Views: 1183

Set $APT_ORACLE_PRESERVE_BLANKS to true to override that default sqlldr behaviour.
by chulett
Wed Jun 01, 2011 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calling a .txt or .sql file in ODBC stage
Replies: 3
Views: 1569

As long as 'some piece' means 'the whole statement' then yes, you should be able to do that. The mechanism is documented, from what I recall off the top of my head there's either a specific "SQL File" option or you use custom sql with a {FILE} or [FILE] prefix before the pathname.
by chulett
Wed Jun 01, 2011 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-00942: table or view does not exist
Replies: 7
Views: 4918

Please don't hijack old posts, when you have a problem no matter how "similar" it may be to something you've found, start your own post. Then you have control over its fate.

Also, please edit your post and add the required information we're missing - O/S, version, etc.
by chulett
Wed Jun 01, 2011 6:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset and schemas
Replies: 7
Views: 2543

Whitespace (i.e. formatting) is preserved only in 'code', otherwise the forum software removes all those silly extra, unneeded spaces it thinks you accidentally put in.
by chulett
Wed Jun 01, 2011 6:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSGetStageInfo for Datasets
Replies: 9
Views: 4032

Code: Select all

> Job control fatal error (-7) 
> (DSGetStageInfo) Unknown stage name dsNgr32 in job NGR_34_TTP_FEE
Yup, don't think anyone but Mr Enthusiasm could have figured that one out.

(I kid, I kid, put away the torches)
by chulett
Wed Jun 01, 2011 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Facing problem with compilation
Replies: 3
Views: 3838

So... do you have a problem compiling any job with a Transformer, or just this particular one?
by chulett
Wed Jun 01, 2011 6:17 am
Forum: General
Topic: datastage job not getting called through batch file
Replies: 11
Views: 5247

That or fix your PATH environment variable to now include the new path to the Datastage bin directory.