Search found 10 matches

by nibble
Fri Feb 16, 2007 4:58 am
Forum: General
Topic: HashFileLookup
Replies: 12
Views: 6291

Error located

Seems that the problem is when the file is in cache. If the file is in cache, in other words if this command returns true: Locate HashTable in FilesOpened Setting POS Then Then this section fails: Read Rec From FileHandles(POS), Keyfield Then With the error: Improper data type Why ? Chris. What does...
by nibble
Fri Feb 16, 2007 4:42 am
Forum: General
Topic: HashFileLookup
Replies: 12
Views: 6291

Else statement

That's the DSRMessage function call.

Chris.
ArndW wrote:What does your function do for the ELSE part of the OPENPATH?
by nibble
Fri Feb 16, 2007 3:16 am
Forum: General
Topic: HashFileLookup
Replies: 12
Views: 6291

Calling the function

I haven't used the function in the ETL job yet, I only use the Test Function functionality. Christer. So, you copied the routine and the only change was from Open to OpenPath, yes? If that's the case, then the problem would not be with the routine itself but how you are calling it. Can you provide a...
by nibble
Fri Feb 16, 2007 2:58 am
Forum: General
Topic: HashFileLookup
Replies: 12
Views: 6291

Changes to the code

I changed the value of the HastTable variable to contain path and filename: HashTable = 'hasfilepath' : Arg1 When I do this change, the function manages to locate the file, if I don't, the function failes to locate the file. The second change was change of Open statement to Openpath. That's it ! The...
by nibble
Thu Feb 15, 2007 8:54 am
Forum: General
Topic: HashFileLookup
Replies: 12
Views: 6291

HashFileLookup

The UtilityHashLookup function only works on the VOC file. If I Change the code to access one of my own HashFiles (Openpath instead of Open). I get an Improper Data Type error message, no matter what!! The sections that fails is: Read RecFrom FileHandlers(POS), KeyField Then Ans = Rec<1> Is there so...
by nibble
Tue Feb 06, 2007 3:12 am
Forum: General
Topic: Has file lookup using less than or rather than
Replies: 2
Views: 1870

Has file lookup using less than or rather than

I have a hash file containing three key colums, one of the columns is a number column containing 100, 200, 500 etc. (sorted) The main input column mapped to the hash file contains numbers between 0 and 1000. I want to be able to map to the correct column in the hash file using less than or grather t...
by nibble
Mon Jan 08, 2007 4:54 am
Forum: General
Topic: Special Characters in password
Replies: 5
Views: 2625

Re: Search

I think I found the solution.
Case closed.
by nibble
Mon Jan 08, 2007 4:49 am
Forum: General
Topic: Special Characters in password
Replies: 5
Views: 2625

Search

Well, I have used some time searching with no luck.

Therefore I created a new post.

Christer.
by nibble
Mon Jan 08, 2007 3:56 am
Forum: General
Topic: Special Characters in password
Replies: 5
Views: 2625

Special Characters in password

Hi. When using the Oracle Enterprice stage, the -dboption don't tolerate $ in the Oracle schema password. Has this anything to do with NLS_LANG settings? Error message: Incorrect -dbotpions option list; it failed on Expected "," or "}", gor: "$", line 1. Why does the -d...
by nibble
Fri Jan 05, 2007 7:30 am
Forum: General
Topic: Paralell jobs an parameters
Replies: 1
Views: 2108

Paralell jobs an parameters

Hi. I'm new to parallel jobs, but have som experience with server jobs. When I use parameters containing quotes, the quotes are removed when the SQL is prepared. I use Source.Read Method=User Defined SQL. I use the Oracle Enterprise stage. Example: I have a job parameter named PARAM1 and it contains...