Operating System - OpenVMS
1753483 Members
4082 Online
108794 Solutions
New Discussion юеВ

Re: Macro and lib$lock_image

 
SOLVED
Go to solution
R. Verkerk
Frequent Advisor

Macro and lib$lock_image

Hello,

Has anybody used LIB$LOCK_IMAGE in macro?

If I say in a macro command file: $LOCK_IMAGE. and than "$ macro" it it says something like: "unknown verb"

It comes from a library.

Which step am I missing?
Should I include something special or macro it with special commands

The OpenVMS manual has no examples. Has anybode an example of using this?

greetings,

Robert Verkerk
7 REPLIES 7
Hein van den Heuvel
Honored Contributor

Re: Macro and lib$lock_image

Robert,

LIB$LOCK_IMAGE is a system library function a (macro) program should call. It is not a macro to execute.

See:

http://h71000.www7.hp.com/doc/82final/5932/5932pro_033.html#lock_image

And:
http://h71000.www7.hp.com/DOC/82final/6673/6673pro_004.html

Met vriendelijke groetjes,
Hein van den Heuvel.
Hein van den Heuvel
Honored Contributor

Re: Macro and lib$lock_image

LIB$LOCK_IMAGE was new with 8.2 was it not?

There is a recent discussion in comp.os.vms mentioning LIB$LOCK_IMAGE.

Is it in a topic by the 'always entertaining' Richard Mahler and titled:
"Is VMS Security being dumbed-down for Java?"

http://groups.google.com/group/comp.os.vms/search?group=comp.os.vms&q=lock_IMAGE&qt_g=1

Groetjes,
Hein.



R. Verkerk
Frequent Advisor

Re: Macro and lib$lock_image

Hello,

so I should use: Call LIB$LOCK_IMAGE ?

greetings,

Robert Verkerk
Robert Gezelter
Honored Contributor
Solution

Re: Macro and lib$lock_image

Robert,

Yes. On OpenVMS, in MACRO, all of the runtime library and system service entry points are called using CALL instuctions of various forms.

- Bob Gezelter, http://www.rlgsc.com
Richard J Maher
Trusted Contributor

Re: Macro and lib$lock_image

Hi Hein,

> Is it in a topic by the 'always
> entertaining' Richard Mahler and titled:
> "Is VMS Security being dumbed-down for Java?"

It's "Maher" as in Car, Mars Bar, or Ma and Pa Kettle! "MahLer" on the other hand had talent :-)

Cheers Dickie

PS. The system service version should have the $lk..._s macros available if it helps anybody.
R. Verkerk
Frequent Advisor

Re: Macro and lib$lock_image

Hello,

I used: CALLS #1,G^LIB$LOCK_IMAGE

This worked.

Thanks.

R. Verkerk
Frequent Advisor

Re: Macro and lib$lock_image

Hello,

I used the commands above. Than it worked

greetings,

Robert Verkerk