Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

DECC$FD_LOCKING - OpenVMS 8.4

 
Toine_1
Regular Advisor

DECC$FD_LOCKING - OpenVMS 8.4

Hi,

 

For some applications we had to define a C RTL logical name  DECC$FD_LOCKING to have a better memory management for some multi-threaded Java applications.

$ DEFINE/PROCESS/NOLOG DECC$FD_LOCKING TRUE

This worked OK on OpenVMS 8.3-1H1.

On OpenVMS 8.4 I don't know if we still should use this logical or not?

 

I found out last week that Oracle 10gR2 on OpenVMS 8.4 will not work anymore when this logical is defined.

Oracle can't create any file (table space or Archive file)  or do a RMAN backup.

On OpenVMS 8.3-1H1 I didn't have this behaviour.

 

Are there any release notes about the changes in the C Runtime library on OpenVMS 8.4 or where can I find them ?

 

/Toine


DECC$FD_LOCKING  
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: DECC$FD_LOCKING - OpenVMS 8.4

 
x2084
Trusted Contributor

Re: DECC$FD_LOCKING - OpenVMS 8.4

>>> $ DEFINE/PROCESS/NOLOG DECC$FD_LOCKING TRUE

<<<

As already said, $ DEFINE/USER is what you want to avoid conflicts. Setting any DECC feature logical process wide will get you in trouble, sooner or later.

 

>>> (If anyone knows a simple recipe for getting a user-supplied LIB$INITIALIZE function called in a C++
program, I'd be interested.)

<<<

Define/describe what you mean by "a simple recipe".


There is no such thing like a "user-supplied LIB$INITIALIZE function". There are user-supplied init routines, which are listed in a LIB$INITIALIZE PSECT.  There is a VMS-supplied LIB$INITIALIZE routine which calls the user-supplied init routines in the order in which they appear in the LIB$INITIALIZE PSECT. 

 

Regarding C++, this was already answered in  http://h30499.www3.hp.com/t5/Languages-and-Scripting/C-v-LIB-INITIALIZE-DECC-ARGV-PARSE-STYLE/m-p/4371453: you need a shareable image with a user-supplied init routine. (I  tried to explain image initialization in a VTJ article, including a C++ example.  But the article was not accepted.)

Dennis Handly
Acclaimed Contributor

Re: DECC$FD_LOCKING - OpenVMS 8.4

>I tried to explain image initialization in a VTJ article, including a C++ example. But the article was not accepted.

 

Did you want to create a Knowledge Base article?