Search found 592 matches

by JoshGeorge
Sun Nov 18, 2007 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate multiple output files for a single output stage
Replies: 3
Views: 3391

pxCreateFile: Parallel routine (C++) which creates files dynamically. //Creates and writes on a text file for each record //Pass the FileName with path as first parameter Ex: <Path>: LinkName.InputColumn : '.txt' //Pass the Content of the file as second parameter Ex: LinkName.InputColumn //Px routi...
by JoshGeorge
Sun Nov 18, 2007 8:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate multiple output files for a single output stage
Replies: 3
Views: 3391

A parallel (C++) routine which creates files dynamically will be the best way to do this 'in a single run'.
by JoshGeorge
Sat Nov 10, 2007 12:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: semi-colon not allowed in password field in OCI stage
Replies: 1
Views: 959

You need to enclose the password in double quotes if it has special characters. If that didn't solve the issue ask your support provider for a fix available for this.
by JoshGeorge
Thu Nov 08, 2007 5:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Header, Detail design issue
Replies: 5
Views: 2963

Pre-process to pick the date part from header in file and pass the date as a job parameter.
by JoshGeorge
Wed Nov 07, 2007 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: file column name mixed up when files number is greater nodes
Replies: 3
Views: 2328

Set APT_IMPORT_PATTERN_USES_FILESET to True and try. If this didn't work you might have to get a patch from IBM for fixing this issue. Been discussed this before here.
by JoshGeorge
Wed Nov 07, 2007 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: attaching zeros on left side.
Replies: 4
Views: 1606

ArndW, I doubt if there is any inbuild function called PadChar() available. Did you mean to say PadString() ? That function is not the best fit to this requirement (Left side / Beginning Padding). Str() function can be used directly without stage variable specification: Str("0", 6 - Len(In...
by JoshGeorge
Mon Nov 05, 2007 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use an Environment Variable into Userdefine routine
Replies: 4
Views: 2384

If you have a job attached inside the routine:

Code: Select all

DSGetParamInfo(hJob1, "$VarName", DSJ.PARAMDEFAULT) 
where hJobName is the job attached using DSAttachJob 
by JoshGeorge
Mon Nov 05, 2007 1:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage not aggregating XML correctly
Replies: 8
Views: 2886

In the above case everything after "/STORES /STORE /" falls into the same level and any field in that level is to be considered as 'repetition element'. "/STORES /STORE /<repetition element level (lowest)>" To get different store information as repetitive level (blocks) of aggreg...
by JoshGeorge
Sun Nov 04, 2007 6:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Output stage not aggregating XML correctly
Replies: 8
Views: 2886

In the input column tab of your XML output stage specify key as any non-nullable column other than your first column ie. STOREID. For example try with STATE as key. Also make sure in the Output -> Transformation Settings tab you have checked Output Mode as 'Aggregate all rows'.
by JoshGeorge
Sun Nov 04, 2007 5:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Director: error
Replies: 5
Views: 2906

Job monitor application (JobMonApp), which is a Java program that collect audit data / job statistics is not running on the server. See this LINK on how to check this status, if not running, investigate and start JobMonApp on your server.
by JoshGeorge
Sat Nov 03, 2007 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it possible to use the values accross the records?
Replies: 8
Views: 2601

Sort and partition your records by key field\s so that matching rows are adjacent to each other and on the same node in the transformer. Assign stage variables in below order (Note: Stage variables are processed in order) svPrev = svCurr svCurr = Input.Col1 svOutput (Default Value set to 1)= If svCu...
by JoshGeorge
Fri Nov 02, 2007 11:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect slave sessions
Replies: 5
Views: 3228

In that case things are straight forward, FastLoad supports only one target table, so TD enterprise stage initiate/invoke only one fastload per stage.
by JoshGeorge
Fri Nov 02, 2007 11:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect slave sessions
Replies: 5
Views: 3228

Depends on the number of TD Enterprise stages you have in your job. So you can count the utility slot by counting the number of stages used per job. Not sure if your job is having some statements written in Before and after sql (open and close command) option available in Enterprise stage to invoke ...
by JoshGeorge
Fri Nov 02, 2007 3:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect slave sessions
Replies: 5
Views: 3228

This is a TeraData side issue. The number of fastload / multiload / fastexport (block operations) that you can do concurrently is controlled by the limit set in the "dbscontrol" record - MaxLoadTasks. This limit depends on the database release and the local settings. When this limit is bre...
by JoshGeorge
Thu Nov 01, 2007 5:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access to Queue manager
Replies: 2
Views: 1389

Re: Access to Queue manager

You have already tested and found out the MQ manager name you used is not right. Reason code 2058 means Error in Queue Manager Name. You will have to find out the right MQ manager name from the MQ admin and try again. How to find out ,whether i have the access priviledges to the particular MQ queue ...