DCLKEYS, Programming, Routines to define DCL keys from a program DCLKEYS - Routines to define DCL keys from a program Now includes support for Alpha and VAX Copyright © 1987, 1993, 2000 by Hunter Goatley DCL Key Definition Routines These routines can be called from any VMS language to work with DCL key definitions. There were written to provide a way to perform the DCL command DEFINE/KEY from a program, since there is no LIB$DEFINE_KEY routine. These routines accompanied my VAX PROFESSIONAL article entitled "DCL Key Definition Routines", published in February 1988. They appear here courtesy of Hunter Goatley and Professional Press. The routines presented here can be assembled and placed in an object library. The commands to do this are $ DEFINE DCL$KEYLIB disk:[dir] $ LIBRARY/MACRO/CREATE DCLKEY.MLB DCLKEYMACS.MAR $ MACRO DEFINE,DELETE,STATE,FIND,GETDEF $ LIBRARY/OBJECT/CREATE DCLKEY.OLB *.OBJ Programs that call the routines could then link the object library: $ LINK LOGIN,DCLKEY/LIBRARY A sample LOGIN.MAR program has been supplied to demonstrate how to define a key from MACRO. Any comments are appreciated. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Hunter Goatley, VAX Systems Programmer E-mail: GOATHUNTER@WKUVX1.bitnet ACRS, Western Kentucky University Voice: 502-745-5251 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-