Search found 47 matches

by aaikat
Tue Sep 05, 2006 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Routine questions
Replies: 3
Views: 2126

Parallel Routine questions

1.Please let me know how one should be sure whether C/C++ compiler is installed in the server or not.

2.What are the DS parameters need to be set to run a parallel routine.

3.Where to write the code of the routine in DS.

4.Please give me an example of a simple C/C++ Parallel routine code.

Thanks
by aaikat
Thu Aug 17, 2006 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Storing duplicate records
Replies: 3
Views: 1992

Storing duplicate records

Using 'Remove Duplicate' stage we can remove the duplicates. Now since we can not have Reject link with that stage so how to collect (and store them in a file) the duplicate records that are being rejected.
by aaikat
Fri Aug 11, 2006 2:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting record count from Transformer
Replies: 6
Views: 7784

I am not clear about how to collect these.Will you plz elaborate.
I dbout due to partitioning I am not getting the correct count.
say there are 1000 input record counts
the variable doesn't show 1,2,3....,1000
Rather it is showing 1,2,3,...100,1,2,3,....
How to get rid of that.
by aaikat
Fri Aug 11, 2006 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting record count from Transformer
Replies: 6
Views: 7784

Getting record count from Transformer

I have 2 source tables followed by Join stage(outer join),followed by Transformer stage which branches data into 4 output sequential files. Now I want to calculate the total records coming into Transformer stage and write it to a sequential file. I used a stage variable 'TotalCounts' in Transformer,...
by aaikat
Thu Aug 10, 2006 7:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Mainframe jobs
Replies: 5
Views: 2555

So,extracting (using COBOL or SQL) MVS data into file & FTP that to some location can be done from Parallel job itself. Right?
by aaikat
Thu Aug 10, 2006 6:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Mainframe jobs
Replies: 5
Views: 2555

Creating Mainframe jobs

Please let me know whether I can extract data from MVS database & transform it using a Parallel job or I need to create a Mainframe job for that.
by aaikat
Thu Aug 10, 2006 4:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL Handling using Modify stage
Replies: 2
Views: 1991

Thanks,it is solved
by aaikat
Thu Aug 10, 2006 4:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULL Handling using Modify stage
Replies: 2
Views: 1991

NULL Handling using Modify stage

I want to convert any NULL values in column XYX to "NULLXYZ" using Modify stage. I used the following statement as specification : XYZ:string = NullToValue(XYZ,"NULLXYZ") But it is giving error like : main_program: Error parsing modify adapter: Error in binding: Unknown conversio...
by aaikat
Fri Aug 04, 2006 4:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort stage with duplicate values in input
Replies: 4
Views: 2248

yes...It is appearing correctly in sequential file..thanks
by aaikat
Fri Aug 04, 2006 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort stage with duplicate values in input
Replies: 4
Views: 2248

Sort stage with duplicate values in input

I have a sequential file as Sort stage input containing data like : empid 1 2 3 1 2 4 4 Now when I use the Sort stage on this input file with ascending empid (Allow Duplicate=True,all other options default), I get the following output empid 3 1 1 2 2 4 4 which shows repeating values are sorted but n...
by aaikat
Wed Jun 21, 2006 4:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a SQL statement using parameter
Replies: 4
Views: 2431

Running a SQL statement using parameter

Can I do the following(dynamic building of SQL query) in a server job : I am using a DB2 UDB stage. In it output custom SQL I write : #SQL_STATEMENT# Then define the parameter SQL_STATEMENT as Select count(*) as all from ABC.X_CONTACTS where XID = 'RVH' Now when I run the job I get error like : An u...
by aaikat
Tue Jun 20, 2006 1:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS job from Unix server
Replies: 1
Views: 1311

Calling a DS job from Unix server

I have been using Director from DS client to invoke a DS server job.Please let me know the command to invoke a DS job from Unix server(also DS server).
by aaikat
Mon Jun 19, 2006 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Unix/AIX environment variables
Replies: 10
Views: 3980

Hi ArndW, I even tried that to set the variables from within the DS batch & then tried to access the variables.That also didn't work.Here was the code : command1 = 'export sbpath=/MyProject/recent' Call DSExecute("UNIX",command1,Output,Status) If Status = 1 Then Call DSLogWarn("Co...
by aaikat
Mon Jun 19, 2006 4:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Unix/AIX environment variables
Replies: 10
Views: 3980

Thanks for the help. The problem was solved using 'UNIX' instead of 'NT' as shown below :- command = 'echo $PATH > /MyProjects/Path.txt' Call DSExecute("UNIX",command,Output,Status) If Status = 1 Then Call DSLogWarn("Command Failed","JobControl") End My next question is...