Search found 97 matches

by leomauer
Fri Apr 22, 2005 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting metadata using a shell script
Replies: 8
Views: 1916

I played with tis task before and came up with the following code: Call DSGetLinkMetaData(Result, JobName, StageName, LinkName) print "JobName = ":JobName print "LinkName = ":LinkName print "Result =":Result print "StageName = ":StageName print Result<1,1> pri...
by leomauer
Wed Apr 06, 2005 2:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing job parameter to after job routine
Replies: 6
Views: 1730

I do not think you can use # for delimiting parameter name in BASIC routine. For example in job control it does not read variable if you use #varname# but works fine with just varname.
by leomauer
Thu Mar 31, 2005 1:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling multipls files.
Replies: 15
Views: 5854

You can do it with Unix script.
Something like that:

Code: Select all

cd [folder name] 
for fn in $(ls)
do
  dsjob .... [parmeter name]=$fn  ... [DS job name] 
  rm $fn
done
by leomauer
Fri Feb 18, 2005 10:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instance job link info problem
Replies: 3
Views: 2056

Check the job status with the invocation id. You can decide the result upon the return. I tried it. Return code is still 0 but the output gives something ward /etl/test/scripts$ dsjob -jobinfo galaxy MyJob.AA Job Status : NOT RUNNING (99) Job Controller : not available Job Start Time : Thu Feb 17 1...
by leomauer
Fri Feb 18, 2005 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instance job link info problem
Replies: 3
Views: 2056

Multiple Instance job link info problem

I have the following problem. I am retrieving the link info from the multiple instance job. Code in UNIX script is as follows dsjob -linkinfo $DSproject $DSjob.$parmTypCd$dtTypCd $DSTransform $DSLink>$linkInfoFile 2>&1 rc=$? if (($rc != 0)) then cat $linkInfoFile rm $linkInfoFile print ABORT WIT...
by leomauer
Thu Feb 03, 2005 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage malfunction while adding a number to a huge number
Replies: 5
Views: 3016

The way it is described it sounds like the same old problem with TRUENUMERICS setting. It is set to 15 by default and the DataStage is not able to process larger integers. So the suggestion will be to increase the TRUENUMERIC value let's say to 20. Just search the forums for directions. BUT. As did ...
by leomauer
Mon Jan 31, 2005 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database password changed
Replies: 17
Views: 4938

I don't think that's supported in DataStage, it will try to use the fields user id and password whether you fill it in or not. If DataStage did a more general authorization you could get e.g. Oracle and DB2 to work on the local machine without passwords. Ogmios It does work with our DS installation...
by leomauer
Mon Jan 31, 2005 10:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database password changed
Replies: 17
Views: 4938

Back to the original question.
What is the opinion about not using user id and password for Database access at all. I mean living the fields blank and let DataStage accuire id and password of the user who initiate the job :?:
by leomauer
Fri Jan 28, 2005 2:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database password changed
Replies: 17
Views: 4938

You can have a master control job that reads from an ini file for the values and attaches to a job (name being a parameter to the master) and set the parameters as found necessary in the job. Thanks. But I am working with UNIX server. I can read a protected file but when I pass the password value t...
by leomauer
Fri Jan 28, 2005 12:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database password changed
Replies: 17
Views: 4938

Only if you use the dsjob program to set parameters and run jobs. If you build your own job control using a Batch job, Sequencer, or custom job control, you have the ability to fetch parameter values and directly control the setting and running of jobs. We are using dsjob program. Password must be ...
by leomauer
Fri Jan 28, 2005 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database password changed
Replies: 17
Views: 4938

This is all nice and dandy. I love parameters. But the password is a different animal. It is a security issue. If hard codded in the job then it is masked. Yet passed as a perameter value it is open to everybody who can ps -ef the processes.
Any ideas?
by leomauer
Wed Dec 01, 2004 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: about reference table and driving table
Replies: 9
Views: 2803

Another trick. Also a little involved: 1. Unload your hash file into flat file format same as the input file. 2. Concatenate input file to this unload file (input file last). 3. Load the result into new hash file with the key to eliminate duplicates(this will keep input file row where it duplicates ...
by leomauer
Fri Nov 05, 2004 3:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting Stage Variables
Replies: 3
Views: 1036

Just an idea: The missing argument may be a stage name. But it is for you to figure out in what position to put it.
I had similar problem with the other function. Documentation was incorrect.
by leomauer
Tue Nov 02, 2004 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading in strings with quotes from a csv file
Replies: 12
Views: 12009

Logically it can be done by removing a quote character not followed by comma. I am not too fluent in regular expressions but I believe it can be coded. Of course if you have the ", combination inside the field then there is no way you can recognize it.
Therefore Ray is right - GIGO.
by leomauer
Thu Oct 28, 2004 12:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "First line is column names" setting
Replies: 1
Views: 1061

"First line is column names" setting

I am new to PX and being used to have "First line is column names" setting in DS Server.
Is there such setting in PX sequential fies?