Search found 15 matches

by tgmedear
Mon Dec 01, 2008 1:49 pm
Forum: General
Topic: How to Set a Sequence Parameter based on a Job Activity
Replies: 3
Views: 1629

Thank you. Between the SetUserStatus and "type" of a flat file, I should be able to come to an optimum solution.

Terry Medearis
by tgmedear
Mon Dec 01, 2008 1:23 pm
Forum: General
Topic: How to Set a Sequence Parameter based on a Job Activity
Replies: 3
Views: 1629

How to Set a Sequence Parameter based on a Job Activity

I would like to be able to set parameters for a sequence of job activities based on the results of an initial activity. For instance, I would like to read a column value within a row of an Oracle table and use that value as input to a subsequent job activity. I am failing to determine how to pass th...
by tgmedear
Fri Nov 14, 2008 4:52 pm
Forum: General
Topic: DataStage Basic SUBSTRINGS max start value
Replies: 6
Views: 6512

Seems crazy, but changing to your suggestion worked. SUBSTRINGS function seems a little suspect. THANK YOU
by tgmedear
Fri Nov 14, 2008 4:28 pm
Forum: General
Topic: DataStage Basic SUBSTRINGS max start value
Replies: 6
Views: 6512

Seems crazy, but changing to your suggestion worked. SUBSTRINGS function seems a little suspect. THANK YOU
by tgmedear
Fri Nov 14, 2008 2:38 pm
Forum: General
Topic: DataStage Basic SUBSTRINGS max start value
Replies: 6
Views: 6512

Problem must be something else, as my job seems to be handling several strings that are longer that 6054.
by tgmedear
Fri Nov 14, 2008 2:13 pm
Forum: General
Topic: DataStage Basic SUBSTRINGS max start value
Replies: 6
Views: 6512

DataStage Basic SUBSTRINGS max start value

I am trying to read a string up to 30,000 bytes from a flat file and pass it to a stored procedure. I use the SUBSTRINGS function to break the string into 30 1000 char substrings. It seems that when I get to a string longer than 6054, the SUBSTRINGS function is not working. The doc does not say what...
by tgmedear
Mon Jun 18, 2007 2:49 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Still wondering

Ray... I do not control the purse strings, and going through all the hoops to get it done is frankly too much of a pain. If you can just answer this, I will be happy. Why does DataStage allow me to store two different routines with, ignoring case sensitivity, the same name, in two different categori...
by tgmedear
Mon Jun 18, 2007 7:33 am
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Seems like a bug to me

Ray and ArndW, Thank you for your replies. Unfortunately, much of your replies are cut off, because you are premium posters. To me, this is a significant DataStage bug. If DataStage is able to store separate source code files for routines that are in different categories, then it should be able to s...
by tgmedear
Sat Jun 16, 2007 3:38 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

I may have misunderstood you. My point is that since I have two different routines in two different categories, and DataStage is handling their text existence, it should handle their separate executables.
by tgmedear
Sat Jun 16, 2007 2:59 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

DS Should be smarter than this

I disagree. If DataStage is smart enough to know the difference between the text of the two different routines, it should be able to handle the different executables. Instead, the executable of one is covering the other. In particular, since the files are in different categories, DataStage should ha...
by tgmedear
Sat Jun 16, 2007 12:56 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

DS Should be smarter than this

Well, Windows is smart enough to know that c:\A\getIata.txt is not c:\B\getIata.txt. DS should be able to do the same.
by tgmedear
Sat Jun 16, 2007 9:46 am
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Routine getIataIdk not compatible with getIATAidk

I have figured out the cause of this problem. I have one routine in folder A named getIataIdk and another routine in folder B named getIATAidk. When these two routines are compiled, it appears that the executable of one covers over the executable of the other. Basically, DataStage allows different r...
by tgmedear
Fri Jun 15, 2007 5:09 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Failure is not reliably recreatable

No. Unfortunately, I can not reliably produce the problem. I recompiled the DS job and all the sequences involved, and it appears everything is running correctly, now. But I did that before and the problem came back. I understand that it sounds crazy, but it has happened multiple times, now.
by tgmedear
Fri Jun 15, 2007 3:11 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Examples

Thank you for your interest in my problem. I have the following routine: FUNCTION getIataIdk(iataKey, tvlagtpntreq) IF len(iataKey) > 0 THEN Ans = iataKey END ELSE if len(tvlagtpntreq) > 0 THEN Ans = tvlagtpntreq end else Ans = "" END; After running a DS sequence that calls a DS job that c...
by tgmedear
Fri Jun 15, 2007 2:43 pm
Forum: General
Topic: Routines - When must they be recompiled?
Replies: 19
Views: 7680

Routines - When must they be recompiled?

Greetings, I have experienced multiple events where a DataStage routine produced incorrect results in a DataStage job. I then recompiled the routine, and everything ran fine. I thought I had found the solution when I started recompiling all routines and jobs before execution using the muptiple job c...