Search found 4992 matches

by kcbland
Tue Nov 09, 2004 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Basic WriteSeq
Replies: 20
Views: 7732

You don't need WeofSeq at the end. CloseSeq will write an end of file mark if you have written to the file. Okay, I haven't tested to back this up, but I believe Ray is mistaken. I have always used WEOFSEQ to insure that a file is truncated. If you open an existing file and then write to it fewer r...
by kcbland
Tue Nov 09, 2004 1:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP zip file
Replies: 6
Views: 3366

Your solution is not the work-around, it is the solution. If you're just moving a file, better off using command line with a compressed file. You can search this forum, we've debated the FTP stage and its merits/usage at length.
by kcbland
Tue Nov 09, 2004 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Conversion
Replies: 2
Views: 797

Search this forum for the oft covered ICONV and OCONV functions, as well has how to use substring notation ( variable[x,y] ) and FIELD functions to parse dates.
by kcbland
Tue Nov 09, 2004 12:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP zip file
Replies: 6
Views: 3366

Moving a file means picking it up as it sits and copying it. Reading a file and writing the results elsewhere is a totally different concept. In the case of moving a file, you don't care about the internal structure, it's just a collection of bytes. By reading a file, you care about carriage returns...
by kcbland
Tue Nov 09, 2004 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP zip file
Replies: 6
Views: 3366

The FTP stage is a remote file reader or writer. If you need a file mover, just invoke the command line ftp program and use either the Command stage or a shell exection.
by kcbland
Tue Nov 09, 2004 12:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Basic WriteSeq
Replies: 20
Views: 7732

chulett wrote:If you want to 'truncate' the sequential file before you start writing to it, use (from memory) WEOFSeq first.


You can use it last as well, it just lops off the remainder of the file.
by kcbland
Tue Nov 09, 2004 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Basic WriteSeq
Replies: 20
Views: 7732

The easiest way to "read" a file into an array is to simply "cat" or "type" the file. Example: UNIXcmd = "cat yourfilename" Call DSExecute("UNIX", UNIXcmd, ScreenOutput, ReturnCode) The screen output is put into a variable called ScreenOutput. Now it's just an array. Each...
by kcbland
Tue Nov 09, 2004 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Basic WriteSeq
Replies: 20
Views: 7732

What are you trying to do? Using readseq and writeseq to manipulate data in a file is very tricky. Use readseq to scan a file from beginning to end. Use writeseq to sequentially write to a file from beginning to end. You cannot move backwards and forwards in a file, manipulating one row, reading ano...
by kcbland
Tue Nov 09, 2004 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run px on windows
Replies: 7
Views: 2666

There's also no warp-drive engine, time travel machine, or cure for the common cold.

Yet.

Really helps out the here and now, don't it? :lol:
by kcbland
Tue Nov 09, 2004 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run px on windows
Replies: 7
Views: 2666

There is no PX for Windows.
by kcbland
Mon Nov 08, 2004 10:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file lookup
Replies: 3
Views: 1515

Your error message is that the hash file, as named, does not exist and could not be opened. The name of your hash file is "hfDSErrorFileC113648" and it exists in your project. You need to verify that whatever job creates this hash file has run and did create the file under the name and metadata you ...
by kcbland
Mon Nov 08, 2004 6:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: i need to see the job names, of a table name given
Replies: 5
Views: 896

Your request is impossible. You're asking for a single command to parse the job design repository to find all usage of a table name. Searching the table definitions for using in the job designs is a broken search method, this trick doesn't work (see MetaStage user complaints). What you want could be...
by kcbland
Mon Nov 08, 2004 5:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORABULK Error
Replies: 1
Views: 368

The control file was unable to be locked by DataStage for creation/update. Make sure that you aren't simultaneously using it in another job.
by kcbland
Mon Nov 08, 2004 5:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 7.0
Replies: 4
Views: 939

Oracle 8 client works with 7,8, and 9. Oracle 9 client works only with 8 and 9. The Oracle 8 client seems to be the best choice given your requirements, so therefore the Oracle 8 plugin is your DataStage requirement. Note: Oracle 9 cannot use a dblink to Oracle 7, it's not supported. So, there's no ...
by kcbland
Mon Nov 08, 2004 5:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how can i get list of all the hash files created in VOC?
Replies: 1
Views: 714

The problem you will face is that there are hundreds of DataStage internal hash files as part of the product. The engine command "LISTF" will list all files in a given project. You will have to discriminate which files relate to your jobs, and which files are part of DataStage. You can get help for ...