(go to: table of contents, index, list of VMSDEF modules, next: vms_dcdef)
This file is then run through the macro assembler by using the following
command:
$ @PYTHON_VMS:VMSDEF2MAR VMSDEF_$fac.DAT
Due to a deficy in VMSDEF2MAR.COM at least one item code, even if it is
a dummy one, MUST be present.
$ @PYTHON_VMS:BLDRUN VMS_MACRO VMSDEF_$fac.MAR
The resulting object file (VMSDEF_$fac.OBJ) is put into the object library
in [.VMS.O_architecture]VMS_MACRO.OLB.
('architecture' is either 'ALPHA' or 'VAX').
$ @PYTHON_VMS:BLDRUN VMS_MACRO VMSDEF_DIRECTORY.MAR
The resulting object file is, too, put in VMS_MACRO.OLB.
>>> import vms_jpidef
>>> print vms_jpidef.JPI_K_BATCH
2
>>> print vms_jpidef.JPI_M_PASSWORD_EXPIRED
4
>>>
While one can directly use numbers, a reference through the symbolic name
in the module makes the programs much more readable.