Search found 3329 matches

by Sainath.Srinivasan
Thu Jul 02, 2009 2:35 am
Forum: General
Topic: Adding current Date with the file
Replies: 23
Views: 6147

Timestamps has colon (:) symbol which is generally interpretted for remote hostname or ip address.

Parameter must not be computed within the job.

Use an afterjob rountine for now.
by Sainath.Srinivasan
Wed Jul 01, 2009 3:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert to Oracle and Triggers
Replies: 5
Views: 2157

Maybe the keys in the stage are more than you need.
by Sainath.Srinivasan
Wed Jul 01, 2009 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Header
Replies: 10
Views: 2435

Maybe you can filter them out in a stage or do 'grep -v' for something special in header.
by Sainath.Srinivasan
Wed Jul 01, 2009 2:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Find the Number of jobs in UNIX Server
Replies: 4
Views: 5168

As Craig noted, the job information is distributed across multiple objects.

Also the size of log file will vary depending on number of runs, warnings etc.

Maybe you can count the stages in the job to determine its size - logically speaking !!
by Sainath.Srinivasan
Wed Jul 01, 2009 2:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete all Datasets from folder Datasets
Replies: 19
Views: 5165

Even though you can, it will leave a mess around - especially if you try to read any.

So best is to use "orchadmin rm".

A simple

Code: Select all

for dsName in `ls -1 *.ds`
do
  orchadmin rm $dsName
done
wil do the trick.
by Sainath.Srinivasan
Wed Jul 01, 2009 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to Date Conversion
Replies: 3
Views: 1453

or use %dd%mm%yyyy or %mm%dd%yyyy format (US or UK) to your source date rather than splitting.
by Sainath.Srinivasan
Wed Jul 01, 2009 10:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help Required
Replies: 10
Views: 1884

Sourt -> Sort -> Transformer -> Output

Sort by key1
Check all columns with previous using stage variables in xfm.
by Sainath.Srinivasan
Mon Jun 29, 2009 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: compare data flowing out
Replies: 2
Views: 945

You can set commit size to 0 which will make it everything or nothing.
by Sainath.Srinivasan
Mon Jun 29, 2009 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read unix file from Server job or sequence
Replies: 8
Views: 1489

Select the record where flag='YES' and do a Getlinkinfo in the output link.
by Sainath.Srinivasan
Mon Jun 29, 2009 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Orchadmin issue
Replies: 6
Views: 2824

Are you saying that the columns are not ordered as you expect.

This depends on the way you created it. For example, do you use RCP?
by Sainath.Srinivasan
Mon Jun 29, 2009 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environemt Variables
Replies: 17
Views: 5266

What is your plan for

Code: Select all

int DSSetEnvVar(DSPROJECT Projname,char *EnvVarName,char *Value); 
?
by Sainath.Srinivasan
Mon Jun 29, 2009 10:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating New Project
Replies: 5
Views: 1540

Did you delete a project with same name before ? Or perhaps aborted the creation ?
by Sainath.Srinivasan
Mon Jun 29, 2009 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Database Insert/Update taking long time in datastage server
Replies: 4
Views: 7466

Even though trigger can be another design, I doubt it will increase the speed efficiency as it will be another SQL fired for each row. Alternative solution may be to identify currval of sequence number before and after the run and use it to obtain list of inserted values. This is just a starting poi...
by Sainath.Srinivasan
Thu Jun 25, 2009 1:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Opeartion
Replies: 2
Views: 1163

If the input brings unique keys, you can reverse the main and reference streams.
by Sainath.Srinivasan
Wed Jun 24, 2009 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Master job fails
Replies: 22
Views: 5086

Did you compile ?