Search found 111 matches

by eph
Thu Sep 05, 2013 2:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to count repeated rows
Replies: 9
Views: 4528

And by the way, your code is the exact opposite of mine, inverted then&else and inverted internal logic, which is why it is also valid logic-wise.

Eric
by eph
Wed Sep 04, 2013 4:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading same table in db by 2 different parallel jobs
Replies: 5
Views: 3955

Hi,

You have in the bulk load options a "Allow concurrent load sessions" that allow you to run the stage in parallel. I suppose it also allows the behavior that you describe (no locks?)?

Eric
by eph
Wed Sep 04, 2013 4:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to count repeated rows
Replies: 9
Views: 4528

Hi,

Use a transformer and variables to retain the previous value for compare :
Hash Partition & Sort on your input column
sv1=input column
sv2=if sv1<>sv3 then 1 else sv2+1 (default value 0)
sv3=input column

sv2 will give you the desired value

It is a classical design in DS

Eric
by eph
Tue Aug 20, 2013 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validating the file name and column names
Replies: 8
Views: 4271

Hi,

You can count the number of separators for each line and determine if it is ok or not.

Eric
by eph
Fri Jul 12, 2013 3:04 am
Forum: General
Topic: Delete statement in execute command activity
Replies: 4
Views: 3967

Hi,

Maybe you need to make the echo command interpret the \n character as well?

Code: Select all

$ echo "\n"
\n
$ echo -e "\n"
<blank line>
Eric
by eph
Thu Jun 20, 2013 9:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding off using schema files
Replies: 7
Views: 3498

It purely depends on how you build your schema files. Manually? Automatically? Using a Unix script? An excel macro? Then you can build something like <schema file name 1>|<modify spec> <schema file name 2>|<modify spec> Then with a command like below retrieve the modify spec and use it calling the j...
by eph
Thu Jun 20, 2013 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding off using schema files
Replies: 7
Views: 3498

Hi,

You could create a configuration file at the same time you create the schema file. This way, you can parse your configuration before calling the job, sending the right modification spec.

Eric
by eph
Wed Jun 19, 2013 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 139)
Replies: 3
Views: 2396

Hi,

Sorry, IBM gave me that information in a PMR and I can't find out where is the associated technote.

Here is a technote talking about the same problem : http://www-01.ibm.com/support/docview.w ... wg21472651

Eric
by eph
Tue Jun 18, 2013 5:52 am
Forum: General
Topic: Querying xmeta (in Oracle)
Replies: 2
Views: 2392

Hi, I believe that you can use the sql below : TO_CHAR ( (TO_TIMESTAMP_TZ ('1970-01-01 Europe/London', 'yyyy-mm-dd tzr') + NUMTODSINTERVAL ( B.LOCKED_AT / 1000, 'second' )) + 2 / 24, 'DD/MM/YYYY HH24:MI:SS' ) Eric
by eph
Tue Jun 18, 2013 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job reports failure (code 139)
Replies: 3
Views: 2396

Hi,

I've been through this error some time ago, fixed it with setting following variables :
- APT_DISABLE_FASTALLOC=1 (APAR JR33194)
- MALLOC_CHECK_=0

If it's not working, I suggest you to contact your official support provider.

Eric
by eph
Wed May 29, 2013 9:46 am
Forum: General
Topic: DataStage Parallel Routine -- Compile Location
Replies: 6
Views: 8248

Hi, I've seen this : ##I IIS-DSEE-TBLD-00079 15:37:13(010) <transform> Error when checking composite operator: /usr/vacpp/bin/xlC_r which make me think that you are using a gcc compiled object on a non-gcc environment (linux=>AIX?). Your compilator and your compilation options should match DS server...
by eph
Tue May 28, 2013 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mapping higher to lower length transformer
Replies: 7
Views: 2973

You are right, I really need to fix that 2days long headache.... Deepest apologies :?

Eric
by eph
Tue May 28, 2013 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mapping higher to lower length transformer
Replies: 7
Views: 2973

That's strange, according to this technote, the env variable should work on all DS versions : http://www-01.ibm.com/support/docview.w ... wg21586920

Eric
by eph
Mon May 27, 2013 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: mapping higher to lower length transformer
Replies: 7
Views: 2973

Hi,

You may try the APT_IMPORT_REJECT_STRING_FIELD_OVERRUNS environment variable (ibm doc).

Eric
by eph
Wed May 15, 2013 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bulk transfer between oracle databases/tables ?
Replies: 5
Views: 1967

Hi, You don't necessarily need to have partitioned tables to use a partitioned read method. For Oracle, see http://pic.dhe.ibm.com/infocenter/iisinfsv/v8r5/index.jsp?topic=%2Fcom.ibm.swg.im.iis.conn.oracon.usage.doc%2Ftopics%2Fsuppt_partition_reads.html For DB2, you have 3 partitioning methods, a mo...