DSD.UVOpen Unable to open file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gallaghm
Participant
Posts: 3
Joined: Sat Sep 24, 2005 3:00 pm

DSD.UVOpen Unable to open file

Post by gallaghm »

Hello -

This error can occur every few days or every few weeks, it's random. The design is as follows:

Oracle > Transformer > delete/create hashed file A
Oracle > Transformer > Reference hashed file A

When the error occurs, it always occurs on the Reference link. DataStage Tech support tells me the 1st thread, delete/create, will always run 1st followed by the Reference link and this should not occur. Another engineer suggested changing the create/delete to a clear. Another suggested creating the file in the project or default directory. I can do all this, but am not sure this will fix the problem. Today I read about MFILES 50 and T30FILE 200 configuration parameters in the uvconfig file not being large enough and thought perhaps this might also be related.

Any help is appreciated ... Thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Looks like a timing issue, with the first write to the hashed file happening during the delete and causing your error message. Can you redesign the job so that your reference link comes from the same hashed file stage object as you are writing to? That will ensure that you don't get timing issues.
gallaghm
Participant
Posts: 3
Joined: Sat Sep 24, 2005 3:00 pm

Post by gallaghm »

The error does not happen on the write, it happens on the read.

ORACLE> Transformer2
/\ (Ref link always works)
ORACLE >Transformer1 > Hashed File A
\/ (Ref link sometimes fails)
ORACLE > Transformer3

The middle thread deletes/creates hashed file A, then the transformer2 and transformer3 reference it. The Ref link to transformer3 sometimes fails. When this job fails, I just reset it and rerun it and it works.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Just split your job up into 2 jobs and you won't have the timing issue. Your job control just coordinates the efforts, plus your design will be more modular to boot. :D
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply