Search found 95 matches

by evee1
Thu May 26, 2011 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator and (maybe) partial schema
Replies: 4
Views: 1813

I see. In this case, I will just extract the relevant portion of the input records into a defined column in a transformer and pass to the aggregator. It will be parametrized so no problem with making it generic. I will still use the schema file to load the data into he database. I will be dealing wi...
by evee1
Thu May 26, 2011 9:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator and (maybe) partial schema
Replies: 4
Views: 1813

Does it mean that I can only use schema files for simple passing through of fields?
I suppose the same goes for Lookup and SCD stages?
by evee1
Thu May 26, 2011 9:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator and (maybe) partial schema
Replies: 4
Views: 1813

Aggregator and (maybe) partial schema

I have searched through the forum and DS documentation but I couldn't find the similar example :( I have a parallel job that reads the source file using the Sequential File stage with one varchar column, then splits the records into fields using Column Import stage according to the dynamically passe...
by evee1
Thu May 26, 2011 12:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header and footer identification in a sequential file
Replies: 2
Views: 3947

I have just realized I could use the Row Number Column added in the Sequential File stage. Since I'm reading only one file at a time it will run in a sequential mode anyway.
I still need to pass the max numnber of data records, so still waiting for other great ideas :).
by evee1
Thu May 26, 2011 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header and footer identification in a sequential file
Replies: 2
Views: 3947

Header and footer identification in a sequential file

I'm building a PX job that will processes a sequential file, containing a header, a footer and data records. I need to do reconciliation of one of the fields field in the file against a value in a footer. In addition, the job is supposed to be generic, i.e. process files with different data format (...
by evee1
Tue May 24, 2011 1:22 am
Forum: General
Topic: Routine code issue
Replies: 4
Views: 1774

Sorry. Will do.
by evee1
Mon May 23, 2011 11:13 pm
Forum: General
Topic: Routine code issue
Replies: 4
Views: 1774

Routine code issue

Sorry for hijacking this thread. I have a routine that validates whether a file contains a header. It's good enough to check whether the first line in a file starts with "H". My routine contains the following code: ExCmd = "head -1 ":FilePath:"/":FileName:" | cut -...
by evee1
Mon May 23, 2011 1:14 am
Forum: General
Topic: Passing values between jobs (routines) in a sequence
Replies: 4
Views: 2316

Thanks. In the meantime I have found the DSSetUserStatus. I might use this to pass the return value instead of the files.
by evee1
Mon May 23, 2011 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

Yes, I have checked that and it was also correct.
This week we have a proper Datastage environment being installed. Maybe I will have more luck there.
by evee1
Thu May 19, 2011 11:04 pm
Forum: General
Topic: Passing values between jobs (routines) in a sequence
Replies: 4
Views: 2316

Passing values between jobs (routines) in a sequence

I need to build a job sequence that contains few jobs and I need to pass a value from one to the other. Job A calls an SP that returns a value. This value is used as an input parameter in the job B. How best to implement this scenario? In the past I used sequential files to store values between jobs...
by evee1
Thu May 19, 2011 8:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

Played around with this for a while and still cannot find the cause of my problem. I switched on number of reporting options hoping that it would give me more information about the actual SP call, but it did not. Maybe there is some other parameter that I should enable to give me this kind of info? ...
by evee1
Thu May 19, 2011 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

One other question. If I change the contents of tnsnames.ora do I need to restart the Designer, or does it reads the ora file on request?
by evee1
Wed May 18, 2011 11:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

Thanks for help anyway. I'm running out of ideas here. The environment of the server (after I run . dsenv) has the following vars: ORACLE_SID= SVNAME ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 TNS_ADMIN=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin The TNS entry sitting in /u01/app/...
by evee1
Wed May 18, 2011 10:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

If tnsnames.ora is incorrect should I be able to tnsping to the SERVICE_NAME? I can, both from the DS server (VM) and my client machines.
by evee1
Wed May 18, 2011 10:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem when calling SP stage
Replies: 12
Views: 7378

Forgot to mention that I'm also getting the error ORA-12154: TNS:could not resolve service name when trying to import metadata via ODBC connection.