Search found 11 matches

by haisen
Tue Feb 10, 2009 1:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning: unable to chdir(/root): Permission denied
Replies: 1
Views: 1317

Warning: unable to chdir(/root): Permission denied

Directory to be accessed has already been granted with 777 and owner of directory is same name as the credential ID. Jobs can still continue to run.
by haisen
Tue Jun 24, 2008 7:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete existing record before insert
Replies: 12
Views: 5447

Yes, is there a way to do insert, update & delete all in a single job?
by haisen
Sun Jun 22, 2008 7:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete existing record before insert
Replies: 12
Views: 5447

It is a transaction refresh to Oracle stage. We did not use truncate nor replace as there is both new & amended records.
by haisen
Sun Jun 22, 2008 7:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete existing record before insert
Replies: 12
Views: 5447

It is a transaction refresh to Oracle stage. We cannot do truncate nor replace as there is both new and amended records.
by haisen
Sun Jun 22, 2008 3:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete existing record before insert
Replies: 12
Views: 5447

Delete existing record before insert

Is there any way to delete existing record before insert into the database in a single job? There is a delete before insert in version 7, however I no longer see it in version 8. The work-around I am doing now is to have a job to read from source and delete from target, and then another job to read ...
by haisen
Mon Jun 02, 2008 6:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: running order of container within job
Replies: 1
Views: 980

running order of container within job

Requirement: To delete existing record in table before insert, based on a sequential file. Version 7.2 used to have an option to delete existing records before insert but I don't see it in version 8. Problem: Parallel job batch up the delete and insert of records. Eg. The file have 500 records, it d...
by haisen
Fri May 30, 2008 4:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: process current record based on value from previous record
Replies: 3
Views: 2075

Actually, I just got a very roundabout way to get what I want. Sample Main Data: ID CODE 1 A 1 * 1 B 1 C 2 D 3 * 3 # Result: ID FINDING 1 * Found 2 NIL 3 * and # found Method: 1) Based on the file, get a distinct list of ID that contain * and another list for #. 2) Using the main data, do a lookup t...
by haisen
Fri May 30, 2008 3:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dynamic directory in actual execute command via parameter
Replies: 3
Views: 1461

dynamic directory in actual execute command via parameter

Requirement: 1) Run unix shell script via Execute Command to get text file's data for downstream processing. 2) The directory of the unix script will be based on the value in parameter set due to UAT & PRD environment. 3) Value retrieve will be used to read another file or to use it as a where c...
by haisen
Wed May 28, 2008 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: process current record based on value from previous record
Replies: 3
Views: 2075

process current record based on value from previous record

Requirement: 1) For record of the same ID, check that if CODE only contains * then derive as '1' and if contains both * & # then derive as '2'. 2) There is no fixed number of occurances for the same ID. Restriction: We do not have pivot installed. Sample Data: ID CODE 1 A 1 * 1 B 1 C 2 D 3 * 3 #...
by haisen
Mon May 26, 2008 10:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass multiple parameters from flat file to job sequence
Replies: 3
Views: 2687

Thanks, got it to work using 1st mtd. Will try the method to globalise it.
by haisen
Mon May 26, 2008 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass multiple parameters from flat file to job sequence
Replies: 3
Views: 2687

Pass multiple parameters from flat file to job sequence

Requirement: 1) Pass multiple parameters from flat file to parallel job. 2) Parameters to be used globally by other jobs. Flat File's Content:- FILE_NAME=abc.txt START_DATE=20080526 END_DATE=20080531 Currently, I managed to use a Execute Command to pass a SINGLE parameter to a Job Activity. However,...