Search found 98 matches

by monaz
Thu Apr 23, 2009 9:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pivot stage
Replies: 3
Views: 1152

pivot stage

I am new datastage can anyone guide me where to write deravations in the pivot stage and what kind of derivation can be wrriten

Please advice
by monaz
Thu Apr 23, 2009 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: if i have more than 10 keys columns to vertical pivot logic
Replies: 7
Views: 2308

The order of the Stage variables is of paramount importance. The number of keys is not. If the order is as you've listed them above then the "IF" stage variable will never detect a key change. The "current" comes first followed by the stage variable that detects the key change a...
by monaz
Thu Apr 23, 2009 12:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to use max function in transformer without aggregator
Replies: 3
Views: 3562

how to use max function in transformer without aggregator

Hi can anyone guide me how to use max function in the stage variable of the transformer.

I dont want to use aggregator for this i wanted to know is it possible to implement in the transformer stage

example:-if input is
1 m
1 m
1 o
1n

Output i am loking for
1 mmon
by monaz
Fri Apr 17, 2009 9:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: if i have more than 10 keys columns to vertical pivot logic
Replies: 7
Views: 2308

if i have more than 10 keys columns to vertical pivot logic

hi All, I have a requirement in which i have 10 keys columns and i need to perform vertical pivot conversion for the data. Please suggest.. Here is the example INPUT:- AKey BKey CKey DKey EKEY FKEY GKEY HKEY IKEY JKEY SeqNoKEY ADD 1 2 11 a b c d e f g 1 A 1 2 11 a b c d e f g 1 P 1 2 11 a b c d e f ...
by monaz
Thu Apr 16, 2009 11:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass transfer two files in after job sub routine
Replies: 1
Views: 801

How to pass transfer two files in after job sub routine

Hi All,

I have requirement which i need to transfer two generated .txt files using after job sub rouitne.

One qustion will after job sub routine will help us to get output of the scriptu after passing two files
by monaz
Thu Apr 16, 2009 11:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call a file in external routine C
Replies: 2
Views: 954

How to call a file in external routine C

Hi can anyone please guide me how to open and dataastage generated .txt file to open in external C routine. I am using C routine in Parallel job. I am unable to open the datastage generated .txt file in External C rouitne. If i remove the .txt file from the C routine and hard code the values instaed...
by monaz
Thu Apr 16, 2009 12:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job execution abort
Replies: 5
Views: 2525

Looks like a problem with the external c++ routine to me. What does this routine do? Copy paste the code here. Thanks Mahadev here is the C code int get_mapping_code ( entry_cd,trans_acct_hist_cd,batch_cd,debit_credit_cd,security_adp_nbr,tran_total_amt,share_trans_qty,desc_sec_line1_txt,desc_trans_...
by monaz
Wed Apr 15, 2009 11:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel job execution abort
Replies: 5
Views: 2525

Parallel job execution abort

Hi All, I am using 4 datasets and a funnel stage to join all of them and then the transformer stage calling and external routine(C programming routine) in the stage variable and load into ODBC stage to load in the table. I am getting the below fatal and the job is aborting after inserting new record...
by monaz
Tue Apr 14, 2009 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External routine compliation problem
Replies: 4
Views: 1548

I don't see any mention of compiling and linking your C++ routine, nor any evidence that it compiled successfully and lacked a main() function. ... HERE is the C program Code i have wrriten for the External Routine #include <stdio.h> #include <string.h> int map_code = 0; int get_mapping_code ( char...
by monaz
Tue Apr 14, 2009 3:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External routine compliation problem
Replies: 4
Views: 1548

ray.wurlod wrote:I don't see any mention of compiling and linking your C++ routine, nor any evidence that it compiled successfully and lacked a main() function. ...
Thanks Ray,

Its my first routine so please guide me if i have missed anythiing.

Its will be greatfull if you give me steps to follow
by monaz
Tue Apr 14, 2009 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External routine compliation problem
Replies: 4
Views: 1548

External routine compliation problem

Hi All, i am developing an external routine in C programing and calling in the transformer stage . I am facing the problem while compling the code. Output from transformer compilation follows: ##I TFCN 000001 03:15:47(000) <main_program> Ascential DataStage(tm) Enterprise Edition 7.5 Copyright (c) 2...
by monaz
Fri Apr 10, 2009 3:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge stage
Replies: 2
Views: 3075

Merge stage

Hi All, I am using a parallel job which uses 4 datasets files as the input which are created in other job . I am merging the four Dataset files using Merge stage and using in the sort stage to sort the data and then through the transformer and finally loaded back to table. I am getting the below war...
by monaz
Thu Apr 09, 2009 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting the data in sequential file
Replies: 1
Views: 918

Extracting the data in sequential file

Hi All, I am desigining the a server job for extracting of data from the tableA and loading into sequential file.Job finished successfully Next i am calling the sequential file in parallel job and performing some transformation The problem is that i job is finished wiht the warnings as Bad trailing ...
by monaz
Tue Apr 07, 2009 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read the file in routines
Replies: 5
Views: 2382

How to read the file in routines

Hi Can anyone please guide me how to open a file and read a file in routines, The routine can be server or parallel routine. The requirement is that i need to take a parameters from the file1 and use it in the routine. the routine need to open the file2 and perform some actions by taking file1 param...
by monaz
Tue Mar 31, 2009 5:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine or Unix Script
Replies: 5
Views: 1646

I don't see a problem with option 1, nor a need for any 'looping'. A routine can be used to retrieve the values and called twice in the Sequence, once for each value. Or a UserVariables stage could pu ... thanks for your reply. Can anyone guide me in steps how to follow It will be really helpfull a...