Search found 3329 matches

by Sainath.Srinivasan
Fri Jul 10, 2009 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: C++ routine error
Replies: 16
Views: 4437

Make the code write incoming values into a file so you can cross-check the failed values.
by Sainath.Srinivasan
Fri Jul 10, 2009 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: C++ routine error
Replies: 16
Views: 4437

Test the code as a stand-alone before calling from datastage.
by Sainath.Srinivasan
Fri Jul 10, 2009 3:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status to tgt file when no src recs
Replies: 13
Views: 2723

After job script - something like

Code: Select all

if test -s yourOutputFileName
then
  echo "Records available" 
else
  echo "No records " > yourOutputFileName
fi 
by Sainath.Srinivasan
Fri Jul 10, 2009 2:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: C++ routine error
Replies: 16
Views: 4437

Your call_terminating_nbr in 6 needs strcmp.

Please enclose the code in 'code' tag so others can see better.

Also you may reduce the burden by removing all codes after 6 and check whether 1-6 works fine.
by Sainath.Srinivasan
Fri Jul 10, 2009 2:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: C++ routine error
Replies: 16
Views: 4437

Your call_terminating_nbr in 6 needs strcmp.

Please enclose the code in 'code' tag so others can see better.

Also you may reduce the burden by removing all codes after 6 and check whether 1-6 works fine.
by Sainath.Srinivasan
Fri Jul 10, 2009 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Job
Replies: 2
Views: 673

Mainframe activity by DataStage is done by generating cobol and jcl codes.

Can you please clarify whether you are asked to write the code or are you trying to use existing PX to assist or are you planning to buy new piece of DataStage which will help you with MainFrame?
by Sainath.Srinivasan
Fri Jul 10, 2009 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing fixed width file with COBOL datatypes
Replies: 3
Views: 1209

Pic X(2) and Pic S9(7)v99 must be straight-forward.

For Comp-3, ArndW provided a routine.

In PX, you can use CFF as output.
by Sainath.Srinivasan
Fri Jul 10, 2009 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in Reading sequential file
Replies: 2
Views: 705

Is the source from COBOL structures?

Maybe it is declared as imperative signed - i.e. S.

Try 111b. Does it return -2 ? Normally it starts from p. i.e. 000p = -1.

From the look it appears to be using as Comp-9.
by Sainath.Srinivasan
Fri Jul 10, 2009 2:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Limiting the records to load into sequential file
Replies: 8
Views: 1992

Maybe you can load all records into a temporary table with a serial number and constraint the load into your target table. But why do anybody have such a requirement !!?? Maybe they want to split their daily workload of checking the data !!?? What is the expected action if the following day's record...
by Sainath.Srinivasan
Fri Jul 10, 2009 2:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status to tgt file when no src recs
Replies: 13
Views: 2723

I will forcefully write the 'No records' line first in the file even before the job starts.

Then in the job, I will write a link with @INROWNUM = 1 (or something similar) to just overwrite with same key as 'No records'.
by Sainath.Srinivasan
Fri Jul 10, 2009 2:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status to tgt file when no src recs
Replies: 13
Views: 2723

I will forcefully write the 'No records' line first in the file even before the job starts.

Then in the job, I will write a link with @INROWNUM = 1 (or something similar) to just overwrite with same key as 'No records'.
by Sainath.Srinivasan
Thu Jul 09, 2009 8:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join in server job
Replies: 6
Views: 1754

Can you split the rows into multiple groups - something like if tableCustomer returns any rows then follow tableCustomerDetails else follow tableInternalCustomer etc. If you can split by either logic or subject area, you can break the SQL into multiple jobs with simpler logic. This way it will also ...
by Sainath.Srinivasan
Thu Jul 09, 2009 7:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Join in server job
Replies: 6
Views: 1754

Server join are from static files.

You can do lookup, but you can join in database and use DataStage for other transformation activities.
by Sainath.Srinivasan
Thu Jul 09, 2009 7:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE error
Replies: 5
Views: 3383

Or the hash directory parameter not passed any value.
by Sainath.Srinivasan
Thu Jul 09, 2009 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Perfomace Improvement??
Replies: 22
Views: 4590

Balu,

DataStage runs pipeline parallelism mode. So the 29 minutes of Oracle extration will have impact due to stages further down the line.

Did you try applying @FALSE in the transformer stage?

If that shows any improvement, we can work on other stages to carry it till the end.