Search found 57 matches

by inter5566
Thu Oct 02, 2003 3:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trim Functions
Replies: 6
Views: 1684

Jim, When you specify the R option with the trim statement, you need to pick a value you want to -R-emove. Perhaps DS assumed that you wanted to remove nulls. Either way, I believe that the R option will never remove all characters in the string, it reduces to one occurance. I have successfully used...
by inter5566
Fri Sep 05, 2003 2:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generated files with 0 bytes
Replies: 6
Views: 3062

Guillermo,

My off the wall guess is that the generated files are not trully empty or null. Check the files to verify that there is no white space on the first line,i.e. tab, space, nonprintable characters.
Perhaps your process is passing one blank field or record to the output.

Steve
by inter5566
Mon Aug 25, 2003 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sorting Issues...
Replies: 7
Views: 2334

Rasi,

Vladimir pretty well covered the answer. But put in shorter terms, the sort column in the aggregator stage is only for indicating that the incoming data is already sorted.

Steve
by inter5566
Thu Aug 21, 2003 8:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Conversion.
Replies: 3
Views: 783

Not to be "nit-picking" but with the syntax you used to originally define these variables, they will be zoned numeric in EBCDIC and the first one will be char(9) and the second char(11). The lengths of 10 and 12 only hold true if you had stated that "sign is [leading/trailing] separat...
by inter5566
Thu Aug 14, 2003 9:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: EBCDIC to ASCII Conversion
Replies: 4
Views: 2666

Viji, If your mainframe EBCDIC files are completely composed of character fields, then you should be able to just perform an ftp stage with mode set to ascii. Otherwise, you can follow Craigs advise and perform an ftp stage in binary mode into a transformer stage with output derivations of ascii(INP...
by inter5566
Thu Jul 24, 2003 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP to NOVEL Server
Replies: 5
Views: 1454

JB,

Have you tried to set the trace level to the max value. I know I've used the trace to find ftp errors in the past. Generates a large log, but will contain all the ftp transaction messages.

hope this helps,
Steve
by inter5566
Thu Jul 17, 2003 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup 1 Key in a 2 Key Hash
Replies: 10
Views: 3898

Tony,

Thanks for the tip. It would be nice if we could do this from a hash stored in a directory path. We use some fairly large hash tables and prefer to clean them up from the UNIX side using a general cleaning script.

Thanks, it helped

Steve
by inter5566
Thu Jul 17, 2003 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup 1 Key in a 2 Key Hash
Replies: 10
Views: 3898

ND, I don't think you will be able to do what your trying with a hash file. I may stand corrected after some of the more enlightened members chime in on this. To resolve your situation you may want to switch to feeding your transformer stage from a UV stage. With the UV stage, you can load it using ...
by inter5566
Fri Jul 11, 2003 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Informix temp tables possible?
Replies: 2
Views: 1557

Informix temp tables possible?

Morning,
Anyone using Informix temp tables in a DS project? Probably doesn't work, but asking anyway.[:D]

Steve
by inter5566
Fri Jul 11, 2003 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple output from single (variable) input
Replies: 9
Views: 3731

Andy, You could try a multirow lookup to a uv stage table containing the data: 1 2 2 3 3 3 ... This might work if your occurance field is limited and you can hard code enough data in the uv stage. You might have to add another field so there is something to carry into the lookup. If so then you coul...
by inter5566
Thu Jul 10, 2003 4:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Finding week in year and week in month
Replies: 11
Views: 4517

Roy, There is a predefined routine that is close to what you are looking for. It's called weektag, located under routines/examples/functions. If you want to start your weeks with Sunday, then you will have to use your own code. The basis of the routine is that the internal date format is the number ...
by inter5566
Wed Jul 09, 2003 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing Leading Zeroes
Replies: 4
Views: 1420

Check the help Docs. for trim

Steve
by inter5566
Tue Jul 08, 2003 8:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC and native connection to same data source?
Replies: 7
Views: 2373

Wolfgang, Thanks for the suggestion. The job I designed needed to perform a multirow lookup and reference to reference linking. The appearent problem is that DS ties itself to the Informix DB through one type of connection ( InformixCLI or ODBC ) and cannot establish a separate link using the opposi...
by inter5566
Mon Jul 07, 2003 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC and native connection to same data source?
Replies: 7
Views: 2373

Tony,

Sorry for the long break (on vacation), I received word from Ascential that Informix and ODBC stages do not play nicely together. At least with DS version 5.2

Hope this helps,
Steve
by inter5566
Fri Jun 27, 2003 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function in user defined SQL
Replies: 8
Views: 3738

Simon,

Have you tried to manually enter the derivation for the third column using your stored procedure? Maybe DS doesn't like the as clause.

Steve