(go to: table of contents, index, list of vms_sys, prev: IDTOASC, next: MOD_HOLDER)
special notes about some item codes:
Examples:
INIT_VOL - Initialize Volume
Formats a disk or magnetic tape volume.
17-JAN-1999 ZE.
Format:
dict = vms_sys.init_vol (devnam, volnam [,itmlst])
Returns:
Arguments:
On OpenVMS VAX V6.1 it was not possible to specify more than one (LBN,count)
combination. As this item code is unlikely to be used very often this issue
has been put aside for the moment (24-JAN-1999).
>>> import vms_sys
>>> vms_sys.init_vol ('VDA0:','LBL',(('INIT$_CLUSTERSIZE',7),))
{'status': 1}
>>>
>>> vms_sys.init_vol ('VDA0:','LBL',
... (
... ('INIT$_CLUSTERSIZE',1),
... ('INIT$_ERASE')
... )
... )
>>>
>>> vms_sys.init_vol ('VDA0:','LBL',
... (
... ('INIT$_BADBLOCKS_LBN', ((30,1),(40,2)) ),
... ('INIT$_CLUSTERSIZE' , 1)
... )
... )
{'status': 20}
---------------
>>> vms_sys.init_vol ('VDA0:','LBL',(('INIT$_CLUSTERSIZE',7),))
%INIT-F-NOVOLPRO, operation requires VOLPRO privilege
{'status': 276113580}
>>>
@@ INIT_VOL - more examples, text
>>>
(go to: table of contents,
index,
list of vms_sys,
prev: IDTOASC,
next: MOD_HOLDER)