HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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