Search found 97 matches

by leomauer
Fri Aug 20, 2004 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion
Replies: 28
Views: 11301

My Oconv returns date like this 2004 08 20
Then this should work fine too:
Trim(Oconv(LinkName.DateColumnName, "DYMD[4,2,2]") , Space(1), "A")

But the question is: what is your input value look like?
Oconv input shoud be integer.
by leomauer
Tue Jun 29, 2004 1:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkMetaData
Replies: 12
Views: 7031

What Michael is saying is it should be 4 arguments so guess one. Call DSGetLinkMetaData(Result, JobName, LinkName, X) and print out all the arguments afterwards. I tried that: Code: Call DSGetLinkMetaData(Result, JobName, LinkName, X) print "JobName = ":JobName print "LinkName = &quo...
by leomauer
Tue Jun 29, 2004 9:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkMetaData
Replies: 12
Views: 7031

mhester wrote:DSGetLinkMetaData is a function and returns a value.

Regards,

Michael Hester


I know that but I also see the statement in the online manual. It states that the Result is the returned dinamic array.
And I do not have compile problems. The error I am getting are the execution error.
Any idea?
by leomauer
Fri Jun 25, 2004 3:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Padding null fields with # does not work in designer
Replies: 2
Views: 1087

Re: Padding null fields with # does not work in designer

Hi I was trying to fill all the null values in a Oracle table with # sign which is the default setting in DS designer. But once i run and look at the output in the oracle table the table still displays null values. I dont know whats wrong.Is there a way to do this? Did you look using DataStage brow...
by leomauer
Wed Feb 18, 2004 3:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get field displacement from outside DataStage
Replies: 6
Views: 1771

I am sorry. It is not an answer to my question. Did you try to answer somebody else? A rough check on line length might suffice. Line length is the quotient after dividing characters in file ( wc -c file ) by lines in file ( wc -l file ) which you can do using the UNIX command expr . Check out the m...
by leomauer
Wed Feb 18, 2004 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get field displacement from outside DataStage
Replies: 6
Views: 1771

How to get field displacement from outside DataStage

Yes, I would like to have a data file with a file format. But I would like to get file format dynamically at runtime. Knowing a job name, a file name and a link name is it possible to access the job design at runtime and dump the file map into sum file where I can grep on field name and get a displa...
by leomauer
Wed Feb 18, 2004 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get field displacement from outside DataStage
Replies: 6
Views: 1771

How to get field displacement from outside DataStage

I am working with flat fixed length ASCII files in UNIX. I have the non-DataStage processes that need to know the current file layout (field name, start position, size). I would like to be able to retrieve this info dynamically from the most current version of a Data Stage job that creates this fil...