Search found 87 matches

by mab_arif16
Wed Jun 07, 2006 10:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise load error
Replies: 16
Views: 5457

Oracle Enterprise load error

Hi I have the input date format to oracle enterprise stage in the format 12/09/1991 10:48:00 ,and the metadata of the date column in target table is timestamp (6) . When I do an upsert its loading the table ,but whe I change the option to load instead of upsert I am getting the error Oracle_Enterpri...
by mab_arif16
Tue May 23, 2006 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sybase stored procedure
Replies: 2
Views: 1087

Hi, Look in the stpstage.pdf (in the install CD if your Docs library doesn't have it) to see if your version supports sybase using the stp stage. (7.5.1 Docs say Sybase is supported So go over the pdf and see if you missed anything) What exactly do you need to do? I was able to get a SP result set ...
by mab_arif16
Tue May 23, 2006 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run job for each row in sequential file
Replies: 3
Views: 1300

You an use Looping activity in Job Sequence to have a loop for 10 times and pass the value of n to the job 1-10. So that you can retrive nth row for each iteration. Pass on this value either as UserStatus or write into an external file and read it and pass it as command output through Execute comma...
by mab_arif16
Mon May 22, 2006 5:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run job for each row in sequential file
Replies: 3
Views: 1300

Run job for each row in sequential file

I have found several posts on the topic but as I am new to datastage probably I dont find them quite useful I have a sequential file with 2 columns and 10 rows I wish to call a job one time for each row and pass the columns/values as parameters to that job. If possible please include a breif detail ...
by mab_arif16
Mon May 22, 2006 5:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7117

Hi Abdul, Yes you can use UtilityJobRun transform function for parallel job too orelse as suggested by DSGURU2B you can pass these values through the unix script. Thanks Sam I dont see the UtilityJobRun transform function in the transformer stage ,it is in user variable activity stage ,but dont kno...
by mab_arif16
Mon May 22, 2006 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7117

Job5 is not able to pickup the parameters because it is not in the format that it requires. It should be pipe delimited. Gateleys provided you with the correct format. Notice that you must create and string to define all your parameter as : " Paremeter = value | parameter2 = value | paramenter...
by mab_arif16
Mon May 22, 2006 11:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: count of number of records
Replies: 10
Views: 1784

chulett wrote:You'll get one number - the total number inserted and/or updated - but not the two distinct numbers the OP wants.
Using a shell script can't we do it twice once for inserted and other for updated ,if there are two nodes you can add the numbers
Thanks
Arif
by mab_arif16
Mon May 22, 2006 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: count of number of records
Replies: 10
Views: 1784

If you really want the insert/update logic to be handled by the database, all you need to do is do a lookup on the target, that will give you the inserts, subtract that from the total, that will give you updates. Just a thought ,if you can access the director log ,using dsjob -logdetail command fro...
by mab_arif16
Fri May 19, 2006 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: STP unable to generate procudure call
Replies: 1
Views: 986

STP unable to generate procudure call

I am calling a sybase stored procedure from the transform STP stage , It has an seq file as input ,and I am using transform STP stage,but the stage is not generating a procedure call using parametrs and column mapping. like Oracle stored procedure generates BEGIN procname(:1,:2) END Does some body k...
by mab_arif16
Wed May 17, 2006 5:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sybase stored procedure
Replies: 2
Views: 1087

sybase stored procedure

Hi
Is it possible to call the syabse stored procedure using a transform STP stage.
I am not able to generate the procedure call syntax ,and getting error
Procedure expecting input parameters .
by mab_arif16
Mon May 15, 2006 11:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error Segment Fault
Replies: 1
Views: 905

Error Segment Fault

Hi
When I run the job I am getting the following error
Contents of phantom output file =>
4801 Segmentation Fault
I am not using any sequential files,I am just extracting the data from ODB C looking up against target and Upserting it in target.
Does somebody knows about this error
Thanks
Arif
by mab_arif16
Thu May 11, 2006 7:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting am to hours
Replies: 7
Views: 2804

Thats the same thing I tried
Does something need to be changed here before the equation and can this be used in modify stage
Date4:Timestamp=StringToTimestamp(Date1)
Thanks
Arif
by mab_arif16
Thu May 11, 2006 5:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting am to hours
Replies: 7
Views: 2804

Re: converting am to hours

I am trying to use it in modify stage.
Date4:Timestamp=StringToTimestamp(Date1)
The error is
main_program: Error parsing modify adapter: Error in binding: Unknown conversion: StringToTimestamp
Expected destination field selector, got: ")"; input:
Date4:Timestamp=StringToTimestamp(Date1)
by mab_arif16
Thu May 11, 2006 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting am to hours
Replies: 7
Views: 2804

converting am to hours

Hi
I have arequirement to convert MMM DD YYYY HH:MM:SS AM orPM
to mm/dd/yyyy HH:MM:SS
I cant use a basic transformer for ICONV and OCONV
I am trying to use string to timestamp fn but its not working out.
Any suggestions
Thanks
:roll:
by mab_arif16
Wed May 10, 2006 1:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Get no. of rows inserted and updated
Replies: 8
Views: 2145

[Hi
Can you tell something more about the ETL stats,how can I access them from command prompt to extract the no of inserted and updated rows and write to a unix file