Search found 11 matches

by pietrangeli
Fri Nov 07, 2003 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Continuous Wait for File
Replies: 9
Views: 7078

I've taken a bit of both suggestions, but made a quick and dirty controller job that looks like this: DONE = @FALSE LOOP OPENSEQ "KillLoop.Txt" TO KillFile THEN CLOSESEQ KillFile DONE = @TRUE END UNTIL DONE DO SLEEP 300 OPENSEQ "FilesExist.Txt" TO ExistFile THEN CLOSESEQ ExistFil...
by pietrangeli
Thu Nov 06, 2003 2:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Continuous Wait for File
Replies: 9
Views: 7078

Continuous Wait for File

Hello, I have a job that waits for a specific type of file to be FTP'd into a directory. I have the DSWaitForFile setup as a before subroutine. The file is FTP'd into the folder and the job works like charm. My problem is that the job then finishes. I want it to reset and start looking for the file ...
by pietrangeli
Thu Nov 06, 2003 2:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Continuous Wait for File
Replies: 0
Views: 691

Continuous Wait for File

Hello, I have a job that waits for a specific type of file to be FTP'd into a directory. I have the DSWaitForFile setup as a before subroutine. The file is FTP'd into the folder and the job works like charm. My problem is that the job then finishes. I want it to reset and start looking for the file ...
by pietrangeli
Fri Oct 31, 2003 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 9
Views: 3446

Thanks for all of the help. You are correct in that I can probably get away with a sequential file. I am definately in a learning state with this tool and all of your help is greatly appreciated. Can you suggest any documentation which give tips and tricks like you have provided? I use the BASIC man...
by pietrangeli
Thu Oct 30, 2003 2:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 9
Views: 3446

Awesome!!! I was so close....

Thanks alot.
by pietrangeli
Thu Oct 30, 2003 1:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 9
Views: 3446

Thanks. I understand what you are saying. Please forgive me as this is my first time working with reading data/hash files through the code. This now only goes through one iteration of the loop. If I dont run the hJob2 then the correct iterations occur. Why would the execution of job 2 effect my posi...
by pietrangeli
Thu Oct 30, 2003 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 9
Views: 3446

Extracting Data from a Hash File

I have a HashTable with 2 fields in it: FILENAME and CFG_FILENAME. I have setup a loop to read through all records in this hash table and I want to pass the CFG_FILENAME as a parameter to another job. I cannot figure out how to extract the value from the CFG_FILENAME field. Here is my code: OPEN &qu...
by pietrangeli
Thu Oct 30, 2003 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 0
Views: 671

Extracting Data from a Hash File

I have a HashTable with 2 fields in it: FILENAME and CFG_FILENAME. I have setup a loop to read through all records in this hash table and I want to pass the CFG_FILENAME as a parameter to another job. I cannot figure out how to extract the value from the CFG_FILENAME field. Here is my code: OPEN &qu...
by pietrangeli
Thu Oct 30, 2003 10:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Data from a Hash File
Replies: 0
Views: 589

Extracting Data from a Hash File

I have a HashTable with 2 fields in it: FILENAME and CFG_FILENAME. I have setup a loop to read through all records in this hash table and I want to pass the CFG_FILENAME as a parameter to another job. I cannot figure out how to extract the value from the CFG_FILENAME field. Here is my code: OPEN &qu...
by pietrangeli
Tue Oct 28, 2003 10:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed Width Flat File Stage
Replies: 7
Views: 4345

Thanks......THis is my first DS job and the help files led me to believe that every field would need to be the same length. It also made reference to a completely different stage to use.

I've got it working.

Thanks again.
Frank.
by pietrangeli
Tue Oct 28, 2003 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fixed Width Flat File Stage
Replies: 7
Views: 4345

Fixed Width Flat File Stage

I have a flat text file that I want to use as input and output. This is not a delimited file, nor is each column the same fixed length. Each column is in its own positions(ie: Emp#=Pos1..6 SSN=Pos 7-17 Salary=Pos18..30). From what I can see a sequential stage cannot handle this type of file definiti...