https://wiki.vmssoftware.com/api.php?action=feedcontributions&user=185.9.201.123&feedformat=atomVSI OpenVMS Wiki - User contributions [en]2024-03-29T07:09:37ZUser contributionsMediaWiki 1.31.0https://wiki.vmssoftware.com/index.php?title=Lexical_functions&diff=21Lexical functions2018-08-22T07:34:03Z<p>185.9.201.123: </p>
<hr />
<div>'''Lexical''' functions are constructs that return information about your OpenVMS system and arithmetic and string expressions and perform other functions. There are 43 lexical functions in OpenVMS 8.4-L2.<br />
<br />
=Format=<br />
<br />
F$function-name([args,...])<br />
<br />
Note that you must use the brackets even if no arguments are required. Sometimes it is required to specify an empty string ("") as an argument, and sometimes they follow a specific order and you need to keep the commas in place if you omit certain arguments.<br />
<br />
=Lexical functions by topic=<br />
<br />
Lexical functions serve a number of purposes: unit, data type, datetime conversion, returning information about system objects and establishing context for such information, etc.<br />
<br />
==Conversion and data types==<br />
* [[F$STRING()]] returns the string equivalent of the result of the specified expression.<br />
<pre>$ write sys$output f$string(5)<br />
5</pre><br />
* [[F$INTEGER()]] returns the integer equivalent of the result of the specified expression.<br />
<pre>$ write sys$output f$integer("y")<br />
1<br />
$ write sys$output f$integer("a")<br />
0</pre><br />
* [[F$IDENTIFIER()]] converts an identifier in named format to its integer equivalent, or vice versa.<br />
<pre>$ WRITE SYS$OUTPUT F$IDENTIFIER("SLOANE","NAME_TO_NUMBER")<br />
15728665</pre><br />
* [[F$CUNITS]] converts a number from one specified unit of measure to another.<br />
* [[F$CVUI]] extracts bit fields from character string data and converts the result, as an unsigned value, to an integer.<br />
* [[F$CVSI()]] extracts bit fields from character string data and converts the result, as a signed value, to an integer.<br />
* [[F$TYPE]] determines the data type of a symbol<br />
<br />
==String operations==<br />
* [[F$LOCATE()]] locates a character or character substring within a string and returns its offset within the string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$LOCATE("E","HELLO")<br />
1</pre><br />
<br />
* [[F$LENGTH()]] returns the length of a specified string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$LENGTH("HELLO")<br />
5</pre><br />
<br />
* [[F$FAO()]] converts the specified control string to a formatted ASCII output string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$FAO("!5SL !5UB !5SL",-1,2,"pcs")<br />
-1 2 pcs<br />
<br />
$ REPORT = F$FAO("There !0UL!1%Cis!%Eare!%F !-!UL !-!0UL!1%Cchild!%Echildren!%F here",OFFSPRING)<br />
$ SHOW SYMBOL REPORT<br />
$ REPORT ="There is 1 child here"<br />
</pre><br />
* [[F$EXTRACT()]] extracts a substring from a character string expression.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$EXTRACT("1,2,"HELLO")<br />
EL<br />
</pre><br />
* [[F$ELEMENT()]] extracts an element from a string in which the elements are separated by a specified delimiter.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$ELEMENT(0,"/","1/2/3")<br />
1</pre><br />
<br />
* [[F$EDIT()]] edits a character string based on the edits specified (upcases, removes spaces and comments).<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$EDIT(" HELLO ","COLLAPSE,LOWERCASE")<br />
hello</pre><br />
<br />
<br />
==Files==<br />
* [[F$SEARCH()]] looks for the file you specify<br />
* [[F$PARSE()]] invokes the $PARSE RMS service to parse a file specification and return either the expanded file specification or the particular file specification field that you request.<br />
* [[F$FILE_ATTRIBUTES()]] returns attribute information for a specified file.<br />
* [[F$FID_TO_NAME()]] translates a file identification to a file specification.<br />
<br />
==Processes==<br />
* [[F$CONTEXT]] specifies selection criteria for use with the F$PID function.<br />
* [[F$GETJPI]] returns accounting, status, and identification information for a process.<br />
* [[F$PID()]] for each invocation, returns the next process identification number in sequence.<br />
<br />
==Devices==<br />
* [[F$DEVICE()]] returns device names of all devices on a system that meet the specified selection criteria.<br />
* [[F$GETDVI()]] returns information about a specified device.<br />
* [[F$MULTIPATH()]] returns a specified item of information for a specific multipath-capable device.<br />
<br />
==Time==<br />
* [[F$TIME()]] returns the current date and time of day, in the format dd-mmm-yyyy hh:mm:ss.cc.<br />
* [[F$DELTA_TIME()]] returns the time difference between a given start and end time.<br />
* [[F$CVTIME()]] retrieves information about an absolute, combination, or delta time string.<br />
<br />
==System and cluster==<br />
* [[F$GETSYI()]] returns status and identification information about the local system, or about a node in the local cluster, if your system is part of a cluster.<br />
* [[F$CSID()]] returns an OpenVMS Cluster identification number and updates the context symbol to point to the current position in the system's cluster node list.<br />
<br />
==Queues==<br />
* [[F$GETQUI()]] returns information about queues, batch and print jobs currently in those queues, form definitions, and characteristic definitions kept in the queue database.<br />
<br />
==Logical names==<br />
[[F$TRNLNM]] used for translating logical names and obtaining their attributes.<br />
<br />
==User environment==<br />
* [[F$USER()]] returns the current user's UIC<br />
* [[F$VERIFY()]] returns the integer 1 if command procedure verification is set on; returns the integer 0 if command procedure verification is set off. The F$VERIFY function also can set new verification states.<br />
* [[F$PROCESS()]] returns the current process name string.<br />
* [[F$MODE()]] shows the mode in which a process is executing.<br />
* [[F$MESSAGE()]] returns the message text associated with a specified system status code value.<br />
* [[F$GETWNV()]] returns the value of the specified console environment variable.<br />
* [[F$ENVIRONMENT()]] obtains information about the DCL command environment.<br />
* [[F$DIRECTORY()]] returns the current default directory name string.<br />
===Privileges===<br />
* [[F$SETPRV()]] sets the specified privileges and returns a list of keywords indicating the previous state of these privileges for the current process.<br />
* [[F$PRIVILEGE()]] returns a value of TRUE or FALSE depending on whether your current process privileges match the privileges listed in the argument.<br />
<br />
==Miscellaneous===<br />
* [[F$MATCH_WILD()]] performs a wildcard matching between a candidate and a pattern string.<br />
* [[f$LICENSE()]] Checks whether the specified license is loaded on the system (Alpha/Integrity).<br />
<br />
=See also=<br />
<br />
[[Alphabetic list of lexical functions]]</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=Lexical_functions&diff=20Lexical functions2018-08-22T07:33:51Z<p>185.9.201.123: </p>
<hr />
<div>Lexical functions are constructs that return information about your OpenVMS system and arithmetic and string expressions and perform other functions. There are 43 lexical functions in OpenVMS 8.4-L2.<br />
<br />
=Format=<br />
<br />
F$function-name([args,...])<br />
<br />
Note that you must use the brackets even if no arguments are required. Sometimes it is required to specify an empty string ("") as an argument, and sometimes they follow a specific order and you need to keep the commas in place if you omit certain arguments.<br />
<br />
=Lexical functions by topic=<br />
<br />
Lexical functions serve a number of purposes: unit, data type, datetime conversion, returning information about system objects and establishing context for such information, etc.<br />
<br />
==Conversion and data types==<br />
* [[F$STRING()]] returns the string equivalent of the result of the specified expression.<br />
<pre>$ write sys$output f$string(5)<br />
5</pre><br />
* [[F$INTEGER()]] returns the integer equivalent of the result of the specified expression.<br />
<pre>$ write sys$output f$integer("y")<br />
1<br />
$ write sys$output f$integer("a")<br />
0</pre><br />
* [[F$IDENTIFIER()]] converts an identifier in named format to its integer equivalent, or vice versa.<br />
<pre>$ WRITE SYS$OUTPUT F$IDENTIFIER("SLOANE","NAME_TO_NUMBER")<br />
15728665</pre><br />
* [[F$CUNITS]] converts a number from one specified unit of measure to another.<br />
* [[F$CVUI]] extracts bit fields from character string data and converts the result, as an unsigned value, to an integer.<br />
* [[F$CVSI()]] extracts bit fields from character string data and converts the result, as a signed value, to an integer.<br />
* [[F$TYPE]] determines the data type of a symbol<br />
<br />
==String operations==<br />
* [[F$LOCATE()]] locates a character or character substring within a string and returns its offset within the string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$LOCATE("E","HELLO")<br />
1</pre><br />
<br />
* [[F$LENGTH()]] returns the length of a specified string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$LENGTH("HELLO")<br />
5</pre><br />
<br />
* [[F$FAO()]] converts the specified control string to a formatted ASCII output string.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$FAO("!5SL !5UB !5SL",-1,2,"pcs")<br />
-1 2 pcs<br />
<br />
$ REPORT = F$FAO("There !0UL!1%Cis!%Eare!%F !-!UL !-!0UL!1%Cchild!%Echildren!%F here",OFFSPRING)<br />
$ SHOW SYMBOL REPORT<br />
$ REPORT ="There is 1 child here"<br />
</pre><br />
* [[F$EXTRACT()]] extracts a substring from a character string expression.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$EXTRACT("1,2,"HELLO")<br />
EL<br />
</pre><br />
* [[F$ELEMENT()]] extracts an element from a string in which the elements are separated by a specified delimiter.<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$ELEMENT(0,"/","1/2/3")<br />
1</pre><br />
<br />
* [[F$EDIT()]] edits a character string based on the edits specified (upcases, removes spaces and comments).<br />
<br />
<pre>$ WRITE SYS$OUTPUT F$EDIT(" HELLO ","COLLAPSE,LOWERCASE")<br />
hello</pre><br />
<br />
<br />
==Files==<br />
* [[F$SEARCH()]] looks for the file you specify<br />
* [[F$PARSE()]] invokes the $PARSE RMS service to parse a file specification and return either the expanded file specification or the particular file specification field that you request.<br />
* [[F$FILE_ATTRIBUTES()]] returns attribute information for a specified file.<br />
* [[F$FID_TO_NAME()]] translates a file identification to a file specification.<br />
<br />
==Processes==<br />
* [[F$CONTEXT]] specifies selection criteria for use with the F$PID function.<br />
* [[F$GETJPI]] returns accounting, status, and identification information for a process.<br />
* [[F$PID()]] for each invocation, returns the next process identification number in sequence.<br />
<br />
==Devices==<br />
* [[F$DEVICE()]] returns device names of all devices on a system that meet the specified selection criteria.<br />
* [[F$GETDVI()]] returns information about a specified device.<br />
* [[F$MULTIPATH()]] returns a specified item of information for a specific multipath-capable device.<br />
<br />
==Time==<br />
* [[F$TIME()]] returns the current date and time of day, in the format dd-mmm-yyyy hh:mm:ss.cc.<br />
* [[F$DELTA_TIME()]] returns the time difference between a given start and end time.<br />
* [[F$CVTIME()]] retrieves information about an absolute, combination, or delta time string.<br />
<br />
==System and cluster==<br />
* [[F$GETSYI()]] returns status and identification information about the local system, or about a node in the local cluster, if your system is part of a cluster.<br />
* [[F$CSID()]] returns an OpenVMS Cluster identification number and updates the context symbol to point to the current position in the system's cluster node list.<br />
<br />
==Queues==<br />
* [[F$GETQUI()]] returns information about queues, batch and print jobs currently in those queues, form definitions, and characteristic definitions kept in the queue database.<br />
<br />
==Logical names==<br />
[[F$TRNLNM]] used for translating logical names and obtaining their attributes.<br />
<br />
==User environment==<br />
* [[F$USER()]] returns the current user's UIC<br />
* [[F$VERIFY()]] returns the integer 1 if command procedure verification is set on; returns the integer 0 if command procedure verification is set off. The F$VERIFY function also can set new verification states.<br />
* [[F$PROCESS()]] returns the current process name string.<br />
* [[F$MODE()]] shows the mode in which a process is executing.<br />
* [[F$MESSAGE()]] returns the message text associated with a specified system status code value.<br />
* [[F$GETWNV()]] returns the value of the specified console environment variable.<br />
* [[F$ENVIRONMENT()]] obtains information about the DCL command environment.<br />
* [[F$DIRECTORY()]] returns the current default directory name string.<br />
===Privileges===<br />
* [[F$SETPRV()]] sets the specified privileges and returns a list of keywords indicating the previous state of these privileges for the current process.<br />
* [[F$PRIVILEGE()]] returns a value of TRUE or FALSE depending on whether your current process privileges match the privileges listed in the argument.<br />
<br />
==Miscellaneous===<br />
* [[F$MATCH_WILD()]] performs a wildcard matching between a candidate and a pattern string.<br />
* [[f$LICENSE()]] Checks whether the specified license is loaded on the system (Alpha/Integrity).<br />
<br />
=See also=<br />
<br />
[[Alphabetic list of lexical functions]]</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=F$GETQUI()&diff=16F$GETQUI()2018-08-22T07:00:17Z<p>185.9.201.123: </p>
<hr />
<div>'''F$GETQUI()''' is a [Lexical functions|lexical function]] that returns information about queues, including batch and print jobs currently in the queues, form definitions, characteristic definitions kept in the queue database, and queue managers. For most operations, read access is required.<br />
<br />
=Format=<br />
<br />
F$GETQUI (function,[[F$GETQUI()#item|[item]]],[[F$GETQUI()#object-id|[object-id]]],[[F$GETQUI()#flags|[flags]]])<br />
<br />
<br />
<br />
Brackets ([]) denote an optional argument. Some function arguments cannot be specified with the item-code, the object-id, or the flags argument; visit the [[F$GETQUI()#function|function section]] below for more information.<br />
<br />
=Arguments=<br />
<br />
==function==<br />
<br />
Specifies the action that the F$GETQUI lexical function is to perform. F$GETQUI supports all functions that can be specified with the $GETQUI system service. The following table lists these functions:<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Description<br />
|-<br />
| [[CANCEL_OPERATION]] || Terminates any wildcard operation that may have been initiated by a previous call to F$GETQUI.<br />
|-<br />
| DISPLAY_CHARACTERISTIC || Returns information about a specific characteristic definition or the next characteristic definition in a wildcard operation.<br />
|-<br />
| DISPLAY_ENTRY || Returns information about a specific job entry or the next job entry that matches the selection criteria in a wildcard operation. The DISPLAY_ENTRY function code is similar to the DISPLAY_JOB function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established. Only those entries that match the user-name of the current process will be processed.<br />
|-<br />
| DISPLAY_FILE || Returns information about the next file defined for the current job context. Before you make a call to F$GETQUI to request file information, you must make a call to display queue and job information (with the DISPLAY_QUEUE and DISPLAY_JOB function codes) or to display entry information (with the DISPLAY_ENTRY function code).<br />
|-<br />
| DISPLAY_FORM || Returns information about a specific form definition or the next form definition in a wildcard operation.<br />
|-<br />
| DISPLAY_JOB || Returns information about the next job defined for the current queue context. Before you make a call to F$GETQUI to request job information, you must make a call to display queue information (with the DISPLAY_QUEUE function code). The DISPLAY_JOB function code is similar to the DISPLAY_ENTRY function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established.<br />
|-<br />
| DISPLAY_MANAGER || Returns information about a specific queue manager or the next queue manager in a wildcard operation.<br />
|-<br />
| DISPLAY_QUEUE || Returns information about a specific queue definition or the next queue definition in a wildcard operation.<br />
|-<br />
| TRANSLATE_QUEUE || Translates a logical name for a queue to the equivalence name for the queue.<br />
|}<br />
<br />
Some function arguments cannot be specified with the item-code, the object-id, or the flags argument. The following table lists each function argument and corresponding format line to show whether the item-code, object-id, and flags arguments are required, optional, or not applicable for that specific function. In the following format lines, brackets ([ ]) denote an optional argument. An omitted argument means the argument is not applicable for that function. Note that two commas (,,) must be used as placeholders to denote an omitted (whether optional or not applicable) argument.<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Format Line <br />
|-<br />
| CANCEL_OPERATION || F$GETQUI("CANCEL_OPERATION") or F$GETQUI(" ")<br />
|-<br />
| DISPLAY_CHARACTERISTIC || F$GETQUI("DISPLAY_CHARACTERISTIC", [item],object-id,[flags])<br />
|-<br />
| DISPLAY_ENTRY || F$GETQUI("DISPLAY_ENTRY",[item], [object-id],[flags])<br />
|-<br />
| DISPLAY_FILE || F$GETQUI("DISPLAY_FILE",[item],,[flags])<br />
|-<br />
| DISPLAY_FORM || F$GETQUI("DISPLAY_FORM",[item], object-id,[flags])<br />
|-<br />
| DISPLAY_JOB || F$GETQUI("DISPLAY_JOB",[item],,[flags])<br />
|-<br />
| DISPLAY_MANAGER || F$GETQUI("DISPLAY_MANAGER",[item],object-id,[flags])<br />
|-<br />
| DISPLAY_QUEUE || F$GETQUI("DISPLAY_QUEUE",[item],object-id,[flags])<br />
|-<br />
| TRANSLATE_QUEUE || F$GETQUI("TRANSLATE_QUEUE",[item],object-id)<br />
|}<br />
<br />
==item==<br />
<br />
Corresponds to a [[$GETQUI output item codes|$GETQUI system service output item code]]. The item argument specifies the kind of information you want returned about a particular queue, job, file, form, or characteristic.<br />
<br />
==object-id==<br />
<br />
Corresponds to the $GETQUI system service QUI$SEARCH_NAME, QUI$_SEARCH_NUMBER, and QUI$_SEARCH_JOB_NAME input item codes. The object-id argument specifies either the name or the number of an object (for example, a specific queue name, job name, or form number) about which F$GETQUI is to return information. The asterisk (*) and the percent sign (%) wildcard characters are allowed for the following functions:<br />
<br />
DISPLAY_CHARACTERISTIC <br />
DISPLAY_ENTRY <br />
DISPLAY_FORM <br />
DISPLAY_MANAGER <br />
DISPLAY_QUEUE<br />
<br />
By specifying an asterisk (*) or percent sign (%) wildcard character as the object-id argument on successive calls, you can get status information about one or more jobs in a specific queue or about files within jobs in a specific queue. When a name is used with wildcard characters, each call returns information for the next object (queue, form, and so on) in the list. A null string ("") is returned when the end of the list is reached. A wildcard can represent only object names, not object numbers.<br />
<br />
==flags==<br />
<br />
Specifies a list of keywords, separated by commas, that corresponds to the flags defined for the $GETQUI system service [[QUI$_SEARCH_FLAGS input item codes|QUI$_SEARCH_FLAGS input item code]]. (These flags are used to define the scope of the object search specified in the call to the $GETQUI system service.) Note that the keywords can be used only with certain function codes.</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=F$GETDVI()&diff=15F$GETDVI()2018-08-22T05:27:59Z<p>185.9.201.123: fixed links</p>
<hr />
<div>'''F$GETDVI()''' is a [[Lexical functions|lexical function]] that returns information about a specified device. <br />
<br />
=Format=<br />
<br />
F$GETDVI(device-name,item[,pathname])<br />
<br />
==device-name==<br />
<br />
Specifies a physical device name or a logical name equated to a physical device name. Specify the device name as a character string expression.<br />
<br />
After the device-name argument is evaluated, the F$GETDVI function examines the first character of the name. If the first character is an underscore (_), the name is considered a physical device name; otherwise, a single level of [[Logical names|logical name]] translation is performed and the equivalence name, if any, is used.<br />
<br />
==item==<br />
<br />
Specifies the type of device information to be returned. The item must be specified as a character string expression (use quotes). You can specify any one of the items listed below. For detailed descriptions of each item code, see the VSI OpenVMS DCL Dictionary.<br />
<br />
==pathname==<br />
<br />
If the pathname argument is specified, it is validated against the existing paths for the specified device. If the path does not exist, the NOSUCHPATH error is returned, even if the specified item code does not make use of the pathname argument.<br />
<br />
=List of F$GETDVI() items by topic=<br />
<br />
==Logicals==<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| CONCEALED|| String|| TRUE or FALSE to indicate whether the logical device name translates to a concealed device.<br />
|}<br />
<br />
===Volumes===<br />
<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| ACCESSTIMES_RECORDED || String || TRUE or FALSE to indicate whether the volume supports the recording of access times <br />
|-<br />
| CLUSTER || Integer || Volume cluster size <br />
|-<br />
| CYLINDERS || Integer || Number of cylinders on the volume (disks only) <br />
|-<br />
| DIR || String || TRUE or FALSE to indicate whether the device is directory structured <br />
|-<br />
| EXPSIZE || Integer || Current expansion limit on the volume <br />
|-<br />
| ERASE_ON_DELETE || String|| TRUE or FALSE to indicate whether disk blocks are zeroed upon file deletion on the volume.<br />
|-<br />
| FREEBLOCKS || Integer|| Number of free blocks on the volume (disks only)<br />
|-<br />
| HARDLINKS_SUPPORTED || String|| TRUE or FALSE to indicate whether hardlinks, rather than aliases, are supported on the volume<br />
|-<br />
| LOGVOLNAM || String|| Logical volume name<br />
|-<br />
| MAXBLOCK || Integer || Number of logical blocks on the volume<br />
|-<br />
| MAXFILES || Integer || Maximum number of files on the volume<br />
|-<br />
| NEXTDEVNAM || String || Device name of the next volume in a volume set<br />
|-<br />
| ROOTDEVNAM || String || Device name of the root volume in a volume set (disks only)<br />
|-<br />
| NOCACHE_ON_VOLUME || String|| TRUE or FALSE to indicate whether the volume is mounted with all caching disabled<br />
|-<br />
| NOHIGHWATER || String || TRUE or FALSE to indicate whether high-water marking is disabled on the volume<br />
|-<br />
| NOSHARE_MOUNTED || String || TRUE or FALSE to indicate whether the volume is mounted with /NOSHARE<br />
|-<br />
| NOXFCCACHE_ON_VOLUME || String || TRUE or FALSE to indicate whether the XFC caching is disabled on the volume<br />
|-<br />
| ODS2_SUBSET0 || String || TRUE or FALSE to indicate whether the volume mounted supports only a subset of the ODS-2 file structure<br />
|-<br />
| ODS5 || String || TRUE or FALSE to indicate whether the volume is mounted ODS-5<br />
|-<br />
| SDI || String || TRUE or FALSE to indicate whether the device is single-directory structured<br />
|-<br />
| SECTORS || Integer || Number of sectors per track (disks only)<br />
|-<br />
| SERIALNUM || Integer || Volume serial number (disks only)<br />
|-<br />
| TRACKS || Integer || Number of tracks per cylinder (disks only)<br />
|-<br />
| TRANSCNT || Integer || Volume transaction count<br />
|-<br />
| VOLCHAR || String || 128-bit string (16 bytes) that represents the volume characteristics or capabilities of the mounted device. If a bit is set, the volume is capable of performing the function<br />
|-<br />
| VOLCOUNT || Integer || The count of volumes in a volume set (disks only)<br />
|-<br />
| VOLNAM || String || The volume name<br />
|-<br />
| VOLNUMBER || Integer || Number of the current volume in a volume set (disks only)<br />
|-<br />
| VOLSETMEM || String || TRUE or FALSE to indicate whether the device is a volume set (disks only)<br />
|-<br />
| VOLSIZE || Integer || The volume's current logical volume size<br />
|-<br />
| VOLUME_EXTEND_QUANTITY || Integer || Number of blocks to be used as the default extension size for all files on the volume<br />
|-<br />
| VOLUME_MOUNT_GROUP || String || TRUE or FALSE to indicate whether the volume is mounted /GROUP<br />
|-<br />
| VOLUME_MOUNT_SYS || String || TRUE or FALSE to indicate whether the volume is mounted /SYSTEM<br />
|-<br />
| VOLUME_PENDING_WRITE_ERR || строка || The number of pending write errors on the volume<br />
|-<br />
| VOLUME_RETAIN_MAX || String || The maximum retention time for the volume, as specified with the DCL command SET VOLUME/RETENTION<br />
|-<br />
| VOLUME_RETAIN_MIN || String || The minimum retention time for the volume, as specified with the DCL command SET VOLUME/RETENTION<br />
|-<br />
| VOLUME_SPOOLED_DEV_CNT || Integer|| The number of devices spooled to the volume<br />
|-<br />
| VOLUME_WINDOW || Integer || The default window size for the volume<br />
|-<br />
| VPROT || String || The volume protection mask<br />
|-<br />
| WRITETHRU_CACHE_ENABLED || String || TRUE or FALSE to indicate whether the volume is mounted with write through caching enabled<br />
|}<br />
<br />
===Tapes===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| MT3_DENSITY || String || Current density of the device<br />
|-<br />
| MT3_SUPPORTED || String || TRUE or FALSE to indicate whether the device supports densities defined in the MT3DEF (for Alpha tapes only)<br />
|-<br />
| SQD || String || TRUE or FALSE to indicate whether the device is sequential block-oriented<br />
|}<br />
<br />
===Fibre Channel===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| FC_HBA_FIRMWARE_REV || String || Firmware revision information of a Fibre Channel host bus adapter. A null string is returned for all other devices<br />
|-<br />
| FC_NODE_NAME || String || The Fibre Channel host bus adapter node name<br />
|-<br />
| FC_PORT_NAME || String || The Fibre Channel host bus adapter node name<br />
|-<br />
| WWID || String || Worldwide Identifier for a Fibre Channel device<br />
|}<br />
<br />
===SCSI===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| SCSI_DEVICE_FIRMWARE_REV || String || Firmware revision number of a SCSI disk or SCSI tape. A null string is returned for any other device<br />
|}<br />
<br />
===Shadow sets===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| SHDW_CATCHUP_COPYING || String || TRUE or FALSE to indicate whether the device is a member that is the target of a full copy operation<br />
|-<br />
| SHDW_COPIER_NODE || String || The name of the node that is actively performing the copy or merge operation<br />
|-<br />
| SHDW_DEVICE_COUNT || Integer || The total number of devices in the virtual unit, including devices being added as copy targets<br />
|-<br />
| SHDW_GENERATION || String || The current internal revision number for the virtual unit. This value is subject to change<br />
|-<br />
| SHDW_MASTER || String || TRUE or FALSE to indicate whether the device is a virtual unit<br />
|-<br />
| SHDW_MASTER_MBR || String || The name of the master member unit that will be used for merge and copy repair operations and for shadow set recovery operations<br />
|-<br />
| SHDW_MASTER_NAME || String || Device name of the virtual unit that represents the shadow set of which the specified device is a member. F$GETDVI returns a null string ("") if the specified device is not a member, or is itself a virtual unit<br />
|-<br />
| SHDW_MBR_COPY_DONE || String || The percent of the copy operation completed on this member unit<br />
|-<br />
| SHDW_MBR_COUNT || Integer || The number of full source members in the virtual unit. Devices being added as copy targets are not full source members<br />
|-<br />
| SHDW_MBR_MERGE_DONE || String || The percent of the merge operation completed on this member unit<br />
|-<br />
| SHDW_MBR_READ_COST || String || The current value set for the member unit. This value can be modified to use a user-specified value<br />
|-<br />
| SHDW_MEMBER || String || TRUE or FALSE to indicate whether the device is a shadow set member<br />
|-<br />
| SHDW_MERGE_COPYING || String || TRUE or FALSE to indicate whether the device is a merge member of the shadow set<br />
|-<br />
| SHDW_MINIMERGE_ENABLE || String || A value of TRUE indicates that the virtual unit will undergo a mini-merge, not a full merge, if a system in the cluster crashes<br />
|-<br />
| SHDW_NEXT_MBR_NAME || String || Device name of the next member in the shadow set. If you specify a virtual unit, F$GETDVI returns the device name of a member of the shadow set. If you specify the name of a shadow set member unit with the device name and item arguments, F$GETDVI returns the name of the "next" member unit or a null string if there are no more members. To determine all the members of a shadow set, first specify the virtual unit to F$GETDVI; on subsequent calls, specify the member name returned by the previous F$GETDVI call until it has finished, when it returns a null member name. The device name includes the allocation class if the allocation class is not zero; otherwise it includes the device name of the disk controller<br />
|-<br />
| SHDW_READ_SOURCE || String || The name of the member unit that will be used for reads at this time. The unit with the lowest sum total of its queue length and read cost is used. This is a dynamic value<br />
|-<br />
| SHDW_SITE || Integer || The site value for the specified device. This value is set by the SET DEVICE or SET SHADOW command<br />
|-<br />
| SHDW_TIMEOUT || Integer || The user-specified timeout value set for the device. If the user has not set a value by using the SETSHOSHADOW utility, the value of the SYSGEN parameter SHADOW_MBR_TMO is used for member units and the value of MVTIMEOUT is used for virtual units<br />
|}<br />
<br />
===Multipath===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| MULTIPATH || String || TRUE or FALSE to indicate whether the device is a member of a multipath set<br />
|-<br />
| ALT_HOST_AVAIL || String || TRUE or FALSE to indicate whether the host serving the alternate path is available<br />
|-<br />
| ALT_HOST_NAME || String || Name of the host serving the alternate path<br />
|-<br />
| ALT_HOST_TYPE || String || Hardware type of the host serving the alternate path<br />
|-<br />
| AVAILABLE_PATH_COUNT || Integer || Number of available, working paths for a multipath-capable device<br />
|-<br />
| HOST_AVAIL || String || TRUE or FALSE to indicate whether the host serving the primary path is available<br />
|-<br />
| HOST_COUNT || Integer || Number of hosts that make the device available to other nodes in the OpenVMS Cluster<br />
|-<br />
| HOST_NAME || String || Name of the host serving the primary path<br />
|-<br />
| HOST_TYPE || String || Hardware type of the host serving the primary path<br />
|-<br />
| MPDEV_AUTO_PATH_SW_CNT || Integer || Number of times a multipath device has automatically switched paths because of an I/O error or as the result of automatically "failing back" to a local path from a remote path once the local path became available<br />
|-<br />
| MPDEV_CURRENT_PATH || String || Current path name for multipath devices. If the device is not part of a multipath set, this lexical returns the name of the device path if the class driver for this device supports path names. SYS$DKDRIVER, SYS$DUDRIVER, SYS$MKDRIVER, and SYS$GKDRIVER support path names. Returns a null string if the class driver for the device does not support path names<br />
|-<br />
| MPDEV_MAN_PATH_SW_CNT || Integer || Number of times a multipath device has manually switched paths because of a SET DEVICE /PATH /SWITCH command or use of the $SET_DEVICE system service<br />
|-<br />
| PATH_AVAILABLE || String || TRUE or FALSE to indicate whether the specified path is available. This item code is typically used with the pathname parameter. If the pathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| PATH_NOT_RESPONDING || String || TRUE or FALSE to indicate whether the specified path is marked as not responding. This item code is typically used with the pathname parameter. If the pathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| PATH_POLL_ENABLED || String || TRUE or FALSE to indicate whether the specified path is enabled for multipath polling. This item code is typically used with the pathname parameter. If the pathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| PATH_SWITCH_FROM_TIME || String || Time from which this path was switched, either manually or automatically. This item code is typically used with the pathname parameter. If the pathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| PATH_SWITCH_TO_TIME || String || Time to which this path was switched, either manually or automatically. This item code is typically used with the pathname parameter. If thepathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| PATH_USER_DISABLED || String || TRUE or FALSE to indicate whether the specified path has been disabled using the SET DEVICE /PATH /NOENABLE command. This item code is typically used with the pathname parameter. If thepathname parameter is omitted, information about the current path of the multipath device is returned<br />
|-<br />
| TOTAL_PATH_COUNT || Integer || Number of paths for a multipath-capable device<br />
|}<br />
<br />
===Network devices===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| NET || String || TRUE or FALSE to indicate whether the device is a network device<br />
|-<br />
| LAN_ALL_MULTICAST_MODE || String || TRUE or FALSE to indicate whether the device is enabled to receive all multicast packets rather than only packets addressed to enabled multicast addresses<br />
|-<br />
| LAN_AUTONEG_ENABLED || String || TRUE or FALSE to indicate whether the device is set to autonegotiate the speed and duplex settings<br />
|-<br />
| LAN_DEFAULT_MAC_ADDRESS || String || The default MAC (media access control) address of the device<br />
|-<br />
| LAN_FULL_DUPLEX || String || TRUE or FALSE to indicate whether the device is operating in full-duplex mode<br />
|-<br />
| LAN_JUMBO_FRAMES_ENABLED || String || TRUE or FALSE to indicate whether jumbo frames are enabled on the device<br />
|-<br />
| LAN_LINK_STATE_VALID || String || TRUE or FALSE to indicate whether or not the device driver for the LAN device correctly maintains the link status. The device drivers for the following devices do not maintain the link status: DEMNA, any TURBOchannel adapter, any PCMPIA Ring adapter, Galaxy shared memory, TGEC, DE205, DE422, DE425, DE434, DE435, DE500 (the -XA and -AA variants; only the -BA variant is supported.)<br />
|-<br />
| LAN_LINK_UP || String || TRUE or FALSE to indicate whether the link is up. This item code is valid only for the template device (that is, unit number 0); this item returns 0 if used with a non-template LAN device. This item is supported only on newer adapters; to determine whether or not a particular device supports LAN_LINK_UP, you must first use F$GETDVI with the item LAN_LINK_STATE_VALID. See that item description for more information. If LAN_LINK_UP is used on an adapter that does not maintain the link status, the returned status will be SS$_UNSUPPORTED.<br />
|-<br />
| LAN_MAC_ADDRESS || String || The current MAC (media access control) address of the device. For more information about the distinction between the default and current MAC addresses, see the HP OpenVMS System Services Reference Manual|<br />
|-<br />
| LAN_PROMISCUOUS_MODE || String || TRUE or FALSE to indicate whether the device is enabled to receive all packets, rather than only packets addressed to the MAC addresses and to enabled multicast addresses<br />
|-<br />
| LAN_PROTOCOL_NAME || String || The name of the LAN protocol running on the device<br />
|-<br />
| LAN_PROTOCOL_TYPE || String || The type of the LAN protocol running on the device<br />
|-<br />
| LAN_SPEED || Integer || The speed of the LAN device, in units of megabits per second. Valid values are 4, 10, 16, 100, 1000, and 10000<br />
|-<br />
| SET_HOST_TERMINAL || String || TRUE or FALSE to indicate whether the device is a remote terminal for a SET HOST session from a remote node<br />
|}<br />
<br />
===Printers===<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| QLEN || Integer|| The queue length for the device. This value is the number of I/O requests already in the driver --- not the depth of the I/O pending queue<br />
|-<br />
| SPL || String || TRUE or FALSE to indicate whether the device is being spooled<br />
|-<br />
| SPLDEVNAM || String || Name of the device being spooled<br />
|}<br />
<br />
==Terminals==<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| TRM || String || TRUE or FALSE to indicate whether the device is a terminal<br />
|-<br />
| TT_ACCPORNAM || String || The terminal server name and port name<br />
|-<br />
| TT_ALTYPEAHD || String || TRUE or FALSE to indicate whether the terminal has an alternate type-ahead buffer<br />
|-<br />
| TT_ANSICRT || String || TRUE or FALSE to indicate whether the terminal is an ANSI CRT terminal<br />
|-<br />
| TT_APP_KEYPAD || String || TRUE or FALSE to indicate whether the keypad is in applications mode<br />
|-<br />
| TT_AUTOBAUD || String || TRUE or FALSE to indicate whether the terminal has automatic baud rate detection<br />
|-<br />
| TT_AVO || String || TRUE or FALSE to indicate whether the terminal has a VT100-family terminal display<br />
|-<br />
| TT_BLOCK || String || TRUE or FALSE to indicate whether the terminal has block mode capability<br />
|-<br />
| TT_BRDCSTMBX || String || TRUE or FALSE to indicate whether the terminal uses mailbox broadcast messages<br />
|-<br />
| TT_CHARSET || Integer || A bitmap indicating the coded character set supported by the terminal<br />
|-<br />
| TT_CRFILL || String || TRUE or FALSE to indicate whether the terminal requires fill after a carriage return<br />
|-<br />
| TT_CS_HANGUL || String || TRUE or FALSE to indicate whether the terminal supports the DEC Korean coded character set<br />
|-<br />
| TT_CS_HANYU || String || TRUE or FALSE to indicate whether the terminal supports the DEC Hanyu coded character set<br />
|-<br />
| TT_CS_HANZI || String || TRUE or FALSE to indicate whether the terminal supports the DEC Hanzi coded character set<br />
|-<br />
| TT_CS_KANA || String || TRUE or FALSE to indicate whether the terminal supports the DEC Kana coded character set<br />
|-<br />
| TT_CS_KANJI || String || TRUE or FALSE to indicate whether the terminal supports the DEC Kanji coded character set<br />
|-<br />
| TT_CS_THAI || String || TRUE or FALSE to indicate whether the terminal supports the DEC Thai coded character set<br />
|-<br />
| TT_DECCRT || String || TRUE or FALSE to indicate whether the terminal is a DIGITAL CRT terminal<br />
|-<br />
| TT_DECCRT2 || String || TRUE or FALSE to indicate whether the terminal is a DIGITAL CRT2 terminal<br />
|-<br />
| TT_DECCRT3 || String || TRUE or FALSE to indicate whether the terminal is a DIGITAL CRT3 terminal<br />
|-<br />
| TT_DECCRT4 || String || TRUE or FALSE to indicate whether the terminal is a DIGITAL CRT4 terminal<br />
|-<br />
| TT_DIALUP || String || TRUE or FALSE to indicate whether the terminal is connected to dialup<br />
|-<br />
| TT_DISCONNECT || String || TRUE or FALSE to indicate whether the terminal can be disconnected<br />
|-<br />
| TT_DMA || String || TRUE or FALSE to indicate whether the terminal has direct memory access (DMA) mode<br />
|-<br />
| TT_DRCS || String || TRUE or FALSE to indicate whether the terminal supports loadable character fonts<br />
|-<br />
| TT_EDIT || String|| TRUE or FALSE to indicate whether the edit characteristic is set<br />
|-<br />
| TT_EDITING || String || TRUE or FALSE to indicate whether advanced editing is enabled<br />
|-<br />
| TT_EIGHTBIT || String || TRUE or FALSE to indicate whether the terminal uses the 8-bit ASCII character set<br />
|-<br />
| TT_ESCAPE || String || TRUE or FALSE to indicate whether the terminal generates escape sequences <br />
|-<br />
| TT_FALLBACK || String || TRUE or FALSE to indicate whether the terminal uses the multinational fallback option<br />
|-<br />
| TT_HALFDUP || String || TRUE or FALSE to indicate whether the terminal is in half-duplex mode<br />
|-<br />
| TT_HANGUP || String || TRUE or FALSE to indicate whether the hangup characteristic is set<br />
|-<br />
| TT_HOSTSYNC || String || TRUE or FALSE to indicate whether the terminal has host/terminal communication<br />
|-<br />
| TT_INSERT || String || TRUE or FALSE to indicate whether insert mode is the default line editing mode<br />
|-<br />
| TT_LFFILL || String || TRUE or FALSE to indicate whether the terminal requires fill after a line feed<br />
|-<br />
| TT_LOCALECHO || String || TRUE or FALSE to indicate whether the local echo characteristic is set<br />
|-<br />
| TT_LOWER || String || TRUE or FALSE to indicate whether the terminal has the lowercase characters set<br />
|-<br />
| TT_MBXDSABL || String || TRUE or FALSE to indicate whether mailboxes associated with the terminal will receive unsolicited input notification or input notification<br />
|-<br />
| TT_MECHFORM || String || TRUE or FALSE to indicate whether the terminal has mechanical form feed<br />
|-<br />
| TT_MECHTAB || String || TRUE or FALSE to indicate whether the terminal has mechanical tabs and is capable of tab expansion<br />
|-<br />
| TT_MODEM || String || TRUE or FALSE to indicate whether the terminal is connected to a modem<br />
|-<br />
| TT_MODHANGUP || String || TRUE or FALSE to indicate whether the modify hangup characteristic is set<br />
|-<br />
| TT_NOBRDCST || String || TRUE or FALSE to indicate whether the terminal will receive broadcast messages<br />
|-<br />
| TT_NOECHO || String || TRUE or FALSE to indicate whether the input characters are echoed<br />
|-<br />
| TT_NOTYPEAHD || String || TRUE or FALSE to indicate whether data must be solicited by a read operation<br />
|-<br />
| TT_OPER || String || TRUE or FALSE to indicate whether the terminal is an operator terminal<br />
|-<br />
| TT_PAGE || String || Terminal page length<br />
|-<br />
| TT_PASTHRU || String || TRUE or FALSE to indicate whether PASSALL mode with flow control is available<br />
|-<br />
| TT_PHYDEVNAM || String || Physical device name associated with a channel number or virtual terminal<br />
|-<br />
| TT_PRINTER || String|| TRUE or FALSE to indicate whether there is a printer port available<br />
|-<br />
| TT_READSYNC || String || TRUE or FALSE to indicate whether the terminal has read synchronization<br />
|-<br />
| TT_REGIS || String || TRUE or FALSE to indicate whether the terminal has ReGIS graphics<br />
|-<br />
| TT_REMOTE || String || TRUE or FALSE to indicate whether the terminal has established modem control<br />
|-<br />
| TT_SCOPE || String || TRUE or FALSE to indicate whether the terminal is a video screen display<br />
|-<br />
| TT_SECURE || String || TRUE or FALSE to indicate whether the terminal can recognize the secure server<br />
|-<br />
| TT_SETSPEED || String || TRUE or FALSE to indicate whether you cannot set the speed on the terminal line<br />
|-<br />
| TT_SIXEL || String || TRUE or FALSE to indicate whether the sixel is supported<br />
|-<br />
| TT_SYSPWD || String || TRUE or FALSE to indicate whether the system password is enabled for a particular terminal<br />
|-<br />
| TT_TTSYNC || String || TRUE or FALSE to indicate whether there is terminal/host synchronization<br />
|-<br />
| TT_WRAP || String || TRUE or FALSE to indicate whether a new line should be inserted if the cursor moves beyond the right margin<br />
|}<br />
<br />
===Miscellaneous===<br />
<br />
====Allocation and mounting====<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| ALL || String || TRUE or FALSE to indicate whether the device is allocated<br />
|-<br />
| FOR || String || TRUE or FALSE to indicate whether the device is mounted using the /FOREIGN qualifier<br />
|-<br />
| DMT || String || TRUE or FALSE to indicate whether the device is marked for dismount<br />
|-<br />
| MNT || String || TRUE or FALSE to indicate whether the device is mounted<br />
|-<br />
| MOUNT_TIME || String || Time at which the volume was mounted. For volumes mounted in a cluster, only the time of the initial mount is recorded; the time of any subsequent mount is not recorded<br />
|-<br />
| MOUNTCNT || Integer || Number of times the volume has been mounted on the local system. The value of MOUNTCNT displayed by the SHOW DEVICE command is the total of all mounts of the volume across all members of the cluster<br />
|-<br />
| MOUNTVER_ELIGIBLE || String || TRUE or FALSE to indicate whether the volume is eligible to undergo mount verification. A volume mounted with either the /FOREIGN or /NOMOUNT_VERIFICATION qualifier is not subject to mount verification<br />
|-<br />
| MVSUPMSG || String || TRUE or FALSE to indicate whether mount verification OPCOM messages are currently being suppressed on this device. See the MVSUPMSG_INTVL and MVSUPMSG_NUM system parameters for more information on the suppression of mount verification messages<br />
|}<br />
<br />
====Device information====<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| ALLOCLASS || Longword integer|| Allocation class of the host<br />
|-<br />
| ALLDEVNAM || String || Allocation class device name<br />
|-<br />
| DEVCLASS || Integer || [[Device class]]<br />
|-<br />
| DEVLOCKNAM || String || A unique lock name for the device<br />
|-<br />
| DEVNAM || String || Device name<br />
|-<br />
| DEVTYPE || Integer || [[Device type]]<br />
|-<br />
| FULLDEVNAM || String || Fully qualified device name<br />
|-<br />
|}<br />
<br />
====Other====<br />
{| class="wikitable"<br />
|-<br />
! Item !! Value returned !! Description<br />
|-<br />
| ACPPID || String|| Ancillary control process (ACP) identification<br />
|-<br />
| ACPTYPE || String|| ACP type code, as one of the following strings: F11V1, F11V2, F11V3, F11V4, F11V5, F64, HBS, JNL, MTA, NET, REM, UCX, or ILLEGAL. The ACPTYPE item returns ILLEGAL if the device is not mounted or is mounted using the /FOREIGN qualifier or the ACPTYPE is not currently defined.<br />
|-<br />
| AVL || String || TRUE or FALSE to indicate whether the device is available for use.<br />
|-<br />
| CCL || String|| TRUE or FALSE to indicate whether the device is a carriage control device.<br />
|-<br />
| DEVBUFSIZ || Integer|| Device buffer size<br />
|-<br />
| DEVCHAR || Integer|| Device characteristics<br />
|-<br />
| DEVCHAR2 || Integer|| Additional device characteristics<br />
|-<br />
| DEVDEPEND || Integer|| Device-dependent information<br />
|-<br />
| DEVDEPEND2 || Ineteger|| Additional device-dependent information<br />
|-<br />
| DEVICE_TYPE_NAME || String|| Device type name. Note that if the device is a SCSI tape or disk, the device type name is retrieved directly from the device<br />
|-<br />
| DEVSTS || String|| Device-dependent status information<br />
|-<br />
| DFS_ACCESS || String|| TRUE or FALSE to indicate whether the device is a virtual disk connected to a remote Distributed File System (DFS) server.<br />
|-<br />
| DUA || String|| TRUE or FALSE to indicate whether the device is a generic device.<br />
|-<br />
| ELG || String|| TRUE or FALSE to indicate whether the device has error logging enabled.<br />
|-<br />
| ERRCNT || Integer|| Error count of the device. If the error count has been reset with the SET DEVICE /RESET=ERRCNT command, you can use the SHOW DEVICE/FULL command to display the date and time that the error count was reset. If the pathname parameter is specified, only the error count for that path is returned. If the pathname parameter is omitted, the summation of the error counts for all paths in a multipath device is returned.<br />
|-<br />
| ERROR_RESET_TIME || String|| Time at which the error count was reset.<br />
|-<br />
| EXISTS || String|| TRUE or FALSE to indicate whether the device exists on the system.<br />
|-<br />
| FOD || String|| TRUE or FALSE to indicate whether the device is a files-oriented device.<br />
|-<br />
| GEN || String || TRUE or FALSE to indicate whether the device is a generic device.<br />
|-<br />
| IDV || String || TRUE or FALSE to indicate whether the device is capable of providing input.<br />
|-<br />
| LOCKID || Integer|| Clusterwide lock identification.<br />
|-<br />
| MAILBOX_BUFFER_QUOTA || Integer longword|| The current mailbox quota as an unsigned integer longword.<br />
|-<br />
| MAILBOX_INITIAL_QUOTA || Integer longword|| The initial mailbox quota as an unsigned integer longword.<br />
|-<br />
| MBX || String || TRUE or FALSE to indicate whether the device is a mailbox.<br />
|-<br />
| MEDIA_ID || Integer|| Nondecoded media ID.<br />
|-<br />
| MEDIA_NAME || String || Either the name of the disk or the tape type.<br />
|-<br />
| MEDIA_TYPE || String || Device name prefix.<br />
|-<br />
| ODV || String || TRUE or FALSE to indicate whether the device is capable of providing output.<br />
|-<br />
| OPCNT || Integer|| Operation count of the device. Note that the operation count may have been reset with the SET DEVICE/RESET=OPCNT command. If the pathname parameter is specified, only the operation count for that path is returned. If the pathname parameter is omitted, the summation of the operation counts for all paths in a multipath device is returned.<br />
|-<br />
| OPR || String || TRUE or FALSE to indicate whether the device is an operator.<br />
|-<br />
| OWNUIC || String || User identification code (UIC) of the device owner.<br />
|-<br />
| PID || String || Process identification number of the device owner.<br />
|-<br />
| PREFERRED_CPU || Integer|| Return argument is a 32-bit CPU bit mask with a bit set indicating the preferred CPU. A return argument containing a bit mask of zero indicates that no preferred CPU exists, either because Fast Path is disabled or the device is not a Fast Path capable device. The return argument serves as a CPU bit mask input argument to the $PROCESS_AFFINITY system service. The argument can be used to assign an application process to the optimal preferred CPU.<br />
|-<br />
| PREFERRED_CPU_BITMAP || String|| A bitmap string of zeros and, at most, a single 1. The 1 in the bitmask represents the number of the CPU to which the device is affinitized. The length of the string determines by how many CPUs are on the system. If there is no 1 in the bitmap string, then either Fast Path is disabled systemwide, or the device is not Fast Path-capable.<br />
|-<br />
| PROT_SUBSYSTEM_ENABLED || String || TRUE or FALSE to indicate whether the volume is mounted with protected subsystems enabled.<br />
|-<br />
| RCK || String || TRUE or FALSE to indicate whether the device has read checking enabled.<br />
|-<br />
| RCT || String || TRUE or FALSE to indicate whether the disk contains RCT.<br />
|-<br />
| REC || String || TRUE or FALSE to indicate whether the device is record oriented.<br />
|-<br />
| RECSIZ || Integer|| Blocked record size.<br />
|-<br />
| REFCNT || Integer|| Reference count of processes using the device.<br />
|-<br />
| REMOTE_DEVICE || String || TRUE or FALSE to indicate whether the device is a remote device.<br />
|-<br />
| RND || String || TRUE or FALSE to indicate whether the device allows random access.<br />
|-<br />
| RTM || String || TRUE or FALSE to indicate whether the device is a real-time device.<br />
|-<br />
| SERVED_DEVICE || String || TRUE or FALSE to indicate whether the device is a served device.<br />
|-<br />
| SHR || String || TRUE or FALSE to indicate whether the device is shareable.<br />
|-<br />
| STS || Integer|| Status information.<br />
|-<br />
| SWL || String || TRUE or FALSE to indicate whether the device is software write-locked.<br />
|-<br />
| UNIT || Integer|| The unit number.<br />
|-<br />
| WCK || String || TRUE or FALSE to indicate whether the device has write checking enabled.<br />
|-<br />
| XFC_DEPOSING || String || TRUE or FALSE to indicate whether the XFC volume depose operation is in progress or not.<br />
|-<br />
|}<br />
<br />
=See also=<br />
[[Alphabetic list of F$GETDVI() items]]</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=QUI$_SEARCH_FLAGS_input_item_codes&diff=14QUI$ SEARCH FLAGS input item codes2018-08-22T04:54:48Z<p>185.9.201.123: Created page with "QUI$_SEARCH_FLAGS input item codes {| class="wikitable" |- ! Keyword !! Valid Function Code !! Description |- | ALL_JOBS || DISPLAY_JOB || Requests that F$GETQUI search all..."</p>
<hr />
<div>QUI$_SEARCH_FLAGS input item codes<br />
<br />
{| class="wikitable"<br />
|-<br />
! Keyword !! Valid Function Code !! Description<br />
|-<br />
| ALL_JOBS || DISPLAY_JOB || Requests that F$GETQUI search all jobs included in the established queue context. If you do not specify this flag, F$GETQUI returns information only about jobs that have the same user name as the caller.<br />
|-<br />
| BATCH || DISPLAY_QUEUE DISPLAY_ENTRY || Selects batch queues.<br />
|-<br />
| EXECUTING_JOBS || DISPLAY_ENTRY DISPLAY_JOB || Selects executing jobs.<br />
|-<br />
| FREEZE_CONTEXT || DISPLAY_CHARACTERISTIC DISPLAY_ENTRY DISPLAY_FILE DISPLAY_FORM DISPLAY_JOB DISPLAY_MANAGER DISPLAY_QUEUE || When in wildcard mode, prevents advance of wildcard context to the next object. If you do not specify this flag, the context is advanced to the next object.<br />
|-<br />
| GENERIC || DISPLAY_ENTRY DISPLAY_QUEUE || Selects generic queues for searching.<br />
|-<br />
| HOLDING_JOBS || DISPLAY_ENTRY DISPLAY_JOB || Selects jobs on unconditional hold.<br />
|-<br />
| PENDING_JOBS || DISPLAY_ENTRY DISPLAY_JOB || Selects pending jobs.<br />
|-<br />
| PRINTER || DISPLAY_QUEUE DISPLAY_ENTRY || Selects printer queues.<br />
|-<br />
| RETAINED_JOBS || DISPLAY_ENTRY DISPLAY_JOB || Selects jobs being retained.<br />
|-<br />
| SERVER || DISPLAY_QUEUE DISPLAY_ENTRY || Selects server queues.<br />
|-<br />
| SYMBIONT || DISPLAY_QUEUE DISPLAY_ENTRY || Selects all output queues. Equivalent to specifying "PRINTER,SERVER,TERMINAL".<br />
|-<br />
| TERMINAL || DISPLAY_QUEUE DISPLAY_ENTRY || Selects terminal queues.<br />
|-<br />
| THIS_JOB || DISPLAY_ENTRY DISPLAY_FILE DISPLAY_JOB DISPLAY_QUEUE || Selects all job file information about the calling batch job (entry), the command file being executed, or the queue associated with the calling batch job.<br />
|-<br />
| TIMED_RELEASE_JOBS || DISPLAY_ENTRY DISPLAY_JOB || Selects jobs on hold until a specified time.<br />
|-<br />
| WILDCARD || DISPLAY_CHARACTERISTIC DISPLAY_ENTRY DISPLAY_FORM DISPLAY_MANAGER DISPLAY_QUEUE || Establishes and saves a context. Because the context is saved, the next operation can be performed based on that context.<br />
|}</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=F$GETQUI()&diff=13F$GETQUI()2018-08-22T04:38:14Z<p>185.9.201.123: </p>
<hr />
<div>'''F$GETQUI()''' is a [Lexical functions|lexical function]] that returns information about queues, including batch and print jobs currently in the queues, form definitions, characteristic definitions kept in the queue database, and queue managers. For most operations, read access is required.<br />
<br />
=Format=<br />
<br />
F$GETQUI (function,[[F$GETQUI()#item|[item]]],[[F$GETQUI()#object-id|[object-id]]],[[F$GETQUI()#flags|[flags]]])<br />
<br />
<br />
<br />
Brackets ([]) denote an optional argument. Some function arguments cannot be specified with the item-code, the object-id, or the flags argument; visit the [[F$GETQUI()#function|function section]] below for more information.<br />
<br />
=Arguments=<br />
<br />
==function==<br />
<br />
Specifies the action that the F$GETQUI lexical function is to perform. F$GETQUI supports all functions that can be specified with the $GETQUI system service. The following table lists these functions:<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Description<br />
|-<br />
| CANCEL_OPERATION || Terminates any wildcard operation that may have been initiated by a previous call to F$GETQUI.<br />
|-<br />
| DISPLAY_CHARACTERISTIC || Returns information about a specific characteristic definition or the next characteristic definition in a wildcard operation.<br />
|-<br />
| DISPLAY_ENTRY || Returns information about a specific job entry or the next job entry that matches the selection criteria in a wildcard operation. The DISPLAY_ENTRY function code is similar to the DISPLAY_JOB function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established. Only those entries that match the user-name of the current process will be processed.<br />
|-<br />
| DISPLAY_FILE || Returns information about the next file defined for the current job context. Before you make a call to F$GETQUI to request file information, you must make a call to display queue and job information (with the DISPLAY_QUEUE and DISPLAY_JOB function codes) or to display entry information (with the DISPLAY_ENTRY function code).<br />
|-<br />
| DISPLAY_FORM || Returns information about a specific form definition or the next form definition in a wildcard operation.<br />
|-<br />
| DISPLAY_JOB || Returns information about the next job defined for the current queue context. Before you make a call to F$GETQUI to request job information, you must make a call to display queue information (with the DISPLAY_QUEUE function code). The DISPLAY_JOB function code is similar to the DISPLAY_ENTRY function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established.<br />
|-<br />
| DISPLAY_MANAGER || Returns information about a specific queue manager or the next queue manager in a wildcard operation.<br />
|-<br />
| DISPLAY_QUEUE || Returns information about a specific queue definition or the next queue definition in a wildcard operation.<br />
|-<br />
| TRANSLATE_QUEUE || Translates a logical name for a queue to the equivalence name for the queue.<br />
|}<br />
<br />
Some function arguments cannot be specified with the item-code, the object-id, or the flags argument. The following table lists each function argument and corresponding format line to show whether the item-code, object-id, and flags arguments are required, optional, or not applicable for that specific function. In the following format lines, brackets ([ ]) denote an optional argument. An omitted argument means the argument is not applicable for that function. Note that two commas (,,) must be used as placeholders to denote an omitted (whether optional or not applicable) argument.<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Format Line <br />
|-<br />
| CANCEL_OPERATION || F$GETQUI("CANCEL_OPERATION") or F$GETQUI(" ")<br />
|-<br />
| DISPLAY_CHARACTERISTIC || F$GETQUI("DISPLAY_CHARACTERISTIC", [item],object-id,[flags])<br />
|-<br />
| DISPLAY_ENTRY || F$GETQUI("DISPLAY_ENTRY",[item], [object-id],[flags])<br />
|-<br />
| DISPLAY_FILE || F$GETQUI("DISPLAY_FILE",[item],,[flags])<br />
|-<br />
| DISPLAY_FORM || F$GETQUI("DISPLAY_FORM",[item], object-id,[flags])<br />
|-<br />
| DISPLAY_JOB || F$GETQUI("DISPLAY_JOB",[item],,[flags])<br />
|-<br />
| DISPLAY_MANAGER || F$GETQUI("DISPLAY_MANAGER",[item],object-id,[flags])<br />
|-<br />
| DISPLAY_QUEUE || F$GETQUI("DISPLAY_QUEUE",[item],object-id,[flags])<br />
|-<br />
| TRANSLATE_QUEUE || F$GETQUI("TRANSLATE_QUEUE",[item],object-id)<br />
|}<br />
<br />
==item==<br />
<br />
Corresponds to a [[$GETQUI output item codes|$GETQUI system service output item code]]. The item argument specifies the kind of information you want returned about a particular queue, job, file, form, or characteristic.<br />
<br />
==object-id==<br />
<br />
Corresponds to the $GETQUI system service QUI$SEARCH_NAME, QUI$_SEARCH_NUMBER, and QUI$_SEARCH_JOB_NAME input item codes. The object-id argument specifies either the name or the number of an object (for example, a specific queue name, job name, or form number) about which F$GETQUI is to return information. The asterisk (*) and the percent sign (%) wildcard characters are allowed for the following functions:<br />
<br />
DISPLAY_CHARACTERISTIC <br />
DISPLAY_ENTRY <br />
DISPLAY_FORM <br />
DISPLAY_MANAGER <br />
DISPLAY_QUEUE<br />
<br />
By specifying an asterisk (*) or percent sign (%) wildcard character as the object-id argument on successive calls, you can get status information about one or more jobs in a specific queue or about files within jobs in a specific queue. When a name is used with wildcard characters, each call returns information for the next object (queue, form, and so on) in the list. A null string ("") is returned when the end of the list is reached. A wildcard can represent only object names, not object numbers.<br />
<br />
==flags==<br />
<br />
Specifies a list of keywords, separated by commas, that corresponds to the flags defined for the $GETQUI system service [[QUI$_SEARCH_FLAGS input item codes|QUI$_SEARCH_FLAGS input item code]]. (These flags are used to define the scope of the object search specified in the call to the $GETQUI system service.) Note that the keywords can be used only with certain function codes.</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=F$GETQUI()&diff=12F$GETQUI()2018-08-22T04:36:45Z<p>185.9.201.123: Created page with "'''F$GETQUI()''' is a [Lexical functions|lexical function]] that returns information about queues, including batch and print jobs currently in the queues, form definitions, ch..."</p>
<hr />
<div>'''F$GETQUI()''' is a [Lexical functions|lexical function]] that returns information about queues, including batch and print jobs currently in the queues, form definitions, characteristic definitions kept in the queue database, and queue managers. For most operations, read access is required.<br />
<br />
=Format=<br />
<br />
F$GETQUI (function,[[F$GETQUI()#item|[item]]],[[F$GETQUI()#object-id|[object-id]]],[[F$GETQUI()#flags|[flags]]])<br />
<br />
<br />
<br />
Brackets ([]) denote an optional argument. Some function arguments cannot be specified with the item-code, the object-id, or the flags argument; visit the [[F$GETQUI()#function|function section]] below for more information.<br />
<br />
=Arguments=<br />
<br />
==function==<br />
<br />
Specifies the action that the F$GETQUI lexical function is to perform. F$GETQUI supports all functions that can be specified with the $GETQUI system service. The following table lists these functions:<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Description<br />
|-<br />
| CANCEL_OPERATION || Terminates any wildcard operation that may have been initiated by a previous call to F$GETQUI.<br />
|-<br />
| DISPLAY_CHARACTERISTIC || Returns information about a specific characteristic definition or the next characteristic definition in a wildcard operation.<br />
|-<br />
| DISPLAY_ENTRY || Returns information about a specific job entry or the next job entry that matches the selection criteria in a wildcard operation. The DISPLAY_ENTRY function code is similar to the DISPLAY_JOB function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established. Only those entries that match the user-name of the current process will be processed.<br />
|-<br />
| DISPLAY_FILE || Returns information about the next file defined for the current job context. Before you make a call to F$GETQUI to request file information, you must make a call to display queue and job information (with the DISPLAY_QUEUE and DISPLAY_JOB function codes) or to display entry information (with the DISPLAY_ENTRY function code).<br />
|-<br />
| DISPLAY_FORM || Returns information about a specific form definition or the next form definition in a wildcard operation.<br />
|-<br />
| DISPLAY_JOB || Returns information about the next job defined for the current queue context. Before you make a call to F$GETQUI to request job information, you must make a call to display queue information (with the DISPLAY_QUEUE function code). The DISPLAY_JOB function code is similar to the DISPLAY_ENTRY function code in that both return job information. DISPLAY_JOB, however, requires that a call be made to establish queue context; DISPLAY_ENTRY does not require that queue context be established.<br />
|-<br />
| DISPLAY_MANAGER || Returns information about a specific queue manager or the next queue manager in a wildcard operation.<br />
|-<br />
| DISPLAY_QUEUE || Returns information about a specific queue definition or the next queue definition in a wildcard operation.<br />
|-<br />
| TRANSLATE_QUEUE || Translates a logical name for a queue to the equivalence name for the queue.<br />
|}<br />
<br />
Some function arguments cannot be specified with the item-code, the object-id, or the flags argument. The following table lists each function argument and corresponding format line to show whether the item-code, object-id, and flags arguments are required, optional, or not applicable for that specific function. In the following format lines, brackets ([ ]) denote an optional argument. An omitted argument means the argument is not applicable for that function. Note that two commas (,,) must be used as placeholders to denote an omitted (whether optional or not applicable) argument.<br />
<br />
{| class="wikitable"<br />
|-<br />
! Function !! Format Line <br />
|-<br />
| CANCEL_OPERATION || F$GETQUI("CANCEL_OPERATION") or F$GETQUI(" ")<br />
|-<br />
| DISPLAY_CHARACTERISTIC || F$GETQUI("DISPLAY_CHARACTERISTIC", [item],object-id,[flags])<br />
|-<br />
| DISPLAY_ENTRY || F$GETQUI("DISPLAY_ENTRY",[item], [object-id],[flags])<br />
|-<br />
| DISPLAY_FILE || F$GETQUI("DISPLAY_FILE",[item],,[flags])<br />
|-<br />
| DISPLAY_FORM || F$GETQUI("DISPLAY_FORM",[item], object-id,[flags])<br />
|-<br />
| DISPLAY_JOB || F$GETQUI("DISPLAY_JOB",[item],,[flags])<br />
|-<br />
| DISPLAY_MANAGER || F$GETQUI("DISPLAY_MANAGER",[item],object-id,[flags])<br />
|-<br />
| DISPLAY_QUEUE || F$GETQUI("DISPLAY_QUEUE",[item],object-id,[flags])<br />
|-<br />
| TRANSLATE_QUEUE || F$GETQUI("TRANSLATE_QUEUE",[item],object-id)<br />
|}<br />
<br />
==item==<br />
<br />
Corresponds to a [[$GETQUI output item codes|$GETQUI system service output item code]]. The item argument specifies the kind of information you want returned about a particular queue, job, file, form, or characteristic.<br />
<br />
==object-id==<br />
<br />
Corresponds to the $GETQUI system service QUI$SEARCH_NAME, QUI$_SEARCH_NUMBER, and QUI$_SEARCH_JOB_NAME input item codes. The object-id argument specifies either the name or the number of an object (for example, a specific queue name, job name, or form number) about which F$GETQUI is to return information. The asterisk (*) and the percent sign (%) wildcard characters are allowed for the following functions:<br />
<br />
DISPLAY_CHARACTERISTIC <br />
DISPLAY_ENTRY <br />
DISPLAY_FORM <br />
DISPLAY_MANAGER <br />
DISPLAY_QUEUE<br />
<br />
By specifying an asterisk (*) or percent sign (%) wildcard character as the object-id argument on successive calls, you can get status information about one or more jobs in a specific queue or about files within jobs in a specific queue. When a name is used with wildcard characters, each call returns information for the next object (queue, form, and so on) in the list. A null string ("") is returned when the end of the list is reached. A wildcard can represent only object names, not object numbers.<br />
<br />
==flags==<br />
<br />
Specifies a list of keywords, separated by commas, that corresponds to the flags defined for the $GETQUI system service QUI$_SEARCH_FLAGS input item code. (These flags are used to define the scope of the object search specified in the call to the $GETQUI system service.) Note that the keywords can be used only with certain function codes.</div>185.9.201.123https://wiki.vmssoftware.com/index.php?title=$GETQUI_output_item_codes&diff=11$GETQUI output item codes2018-08-22T04:18:41Z<p>185.9.201.123: Created page with " {| class="wikitable" |- ! Item !! Return Type !! Information Returned |- | ACCOUNT_NAME || String || The account name of the owner of the specified job. |- | AFTER_TIME ||..."</p>
<hr />
<div><br />
{| class="wikitable"<br />
|-<br />
! Item !! Return Type !! Information Returned<br />
|-<br />
| ACCOUNT_NAME || String || The account name of the owner of the specified job.<br />
|-<br />
| AFTER_TIME || String || The system time at or after which the specified job can execute.<br />
|-<br />
| ASSIGNED_QUEUE_NAME || String || The name of the execution queue to which the logical queue specified in the call to F$GETQUI is assigned.<br />
|-<br />
| AUTOSTART_ON || String || A list of nodes or node device pairs indicating where the queue can start.<br />
|-<br />
| BASE_PRIORITY || Integer || The priority at which batch jobs are initiated from a batch execution queue or the priority of a symbiont process that controls output execution queues.<br />
|-<br />
| CHARACTERISTICS || String || The characteristics associated with the specified queue or job.<br />
|-<br />
| CHARACTERISTIC_NAME || String || The name of the specified characteristic.<br />
|-<br />
| CHARACTERISTIC_NUMBER || Integer || The number of the specified characteristic.<br />
|-<br />
| CHECKPOINT_DATA || String || The value of the DCL symbol BATCH$RESTART when the specified batch job is restarted.<br />
|-<br />
| CLI || String || The name of the command language interpreter (CLI) used to execute the specified batch job. The file specification returned assumes the device name SYS$SYSTEM and the file type EXE.<br />
|-<br />
| COMPLETED_BLOCKS || Integer || The number of blocks that the symbiont has processed for the specified print job. This item code is applicable only to print jobs.<br />
|-<br />
| CONDITION_VECTOR || Integer || The vector of three longwords. The first longword gives the completion status of the specified job. The second and third longwords give additional status about the print job.<br />
|-<br />
| CPU_DEFAULT || String || The default CPU time limit specified for the queue in delta time. This item code is applicable only to batch execution queues.<br />
|-<br />
| CPU_LIMIT || String || The maximum CPU time limit specified for the specified job or queue in delta time. This item code is applicable only to batch jobs and batch execution queues.<br />
|-<br />
| DEFAULT_FORM_NAME || String || The name of the default form associated with the specified output queue.<br />
|-<br />
| DEFAULT_FORM_STOCK || String || The name of the paper stock on which the specified default form is to be printed.<br />
|-<br />
| DEVICE_NAME || String || The node and device (or both) on which the specified execution queue is located. For output execution queues, only the device name is returned. The node name is used only in mixed-architecture OpenVMS Cluster systems. The node name is specified by the system parameter SCSNODE for the processor on which the queue executes.<br />
|-<br />
| ENTRY_NUMBER || Integer || The queue entry number of the specified job.<br />
|-<br />
| EXECUTING_JOB_COUNT || Integer || The number of jobs in the queue that are currently executing.<br />
|-<br />
| FILE_BURST || String || TRUE or FALSE to indicate whether burst and flag pages are to be printed preceding a file.<br />
|-<br />
| FILE_CHECKPOINTED || String || TRUE or FALSE to indicate whether the specified file is checkpointed.<br />
|-<br />
| FILE_COPIES || Integer || The number of times the specified file is to be processed. This item code is applicable only to output execution queues.<br />
|-<br />
| FILE_COPIES_DONE || Integer || The number of times the specified file has been processed. This item code is applicable only to output execution queues.<br />
|-<br />
| FILE_COUNT || Integer || The number of files in a specified job.<br />
|-<br />
| FILE_DELETE || String || TRUE or FALSE to indicate whether the specified file is to be deleted after execution of request.<br />
|-<br />
| FILE_DEVICE || String || The internal file-device value that uniquely identifies the selected file. This value specifies the following field in the RMS NAM block:<br />
|-<br />
| FILE_DID || String || The internal file-did value that uniquely identifies the selected file. This value specifies the following field in the RMS NAM block:<br />
|-<br />
| FILE_DOUBLE_SPACE || String || TRUE or FALSE to indicate whether the symbiont formats the file with double spacing.<br />
|-<br />
| FILE_EXECUTING || String || TRUE or FALSE to indicate whether the specified file is being processed.<br />
|-<br />
| FILE_FLAG || String || TRUE or FALSE to indicate whether a flag page is to be printed preceding a file.<br />
|-<br />
| FILE_FLAGS || Integer || The processing options that have been selected for the specified file. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of FILE_FLAGS:<br />
|-<br />
| FILE_IDENTIFICATION || String || The internal file-identification value that uniquely identifies the selected file. This value specifies the following file-identification field in the RMS NAM block:<br />
|-<br />
| FILE_PAGE_HEADER || String || TRUE or FALSE to indicate whether a page header is to be printed on each page of output.<br />
|-<br />
| FILE_PAGINATE || String || TRUE or FALSE to indicate whether the symbiont paginates output by inserting a form feed whenever output reaches the bottom margin of the form.<br />
|-<br />
| FILE_PASSALL || String || TRUE or FALSE to indicate whether the symbiont prints the file in PASSALL mode.<br />
|-<br />
| FILE_SETUP_MODULES || String || The names of the text modules that are to be extracted from the device control library and copied to the printer before the specified file is printed. This item code is meaningful only for output execution queues.<br />
|-<br />
| FILE_SPECIFICATION || String || The fully qualified RMS file specification of the file about which F$GETQUI is returning information.<br />
|-<br />
| FILE_STATUS || Integer || File status information. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of FILE_STATUS:<br />
|-<br />
| FILE_TRAILER || String || TRUE or FALSE to indicate whether a trailer page is to be printed following a file.<br />
|-<br />
| FIRST_PAGE || Integer || The page number at which the printing of the specified file is to begin. This item code is applicable only to output execution queues.<br />
|-<br />
| FORM_DESCRIPTION || String || The text string that describes the specified form to users and operators.<br />
|-<br />
| FORM_FLAGS || Integer || The processing options that have been selected for the specified form. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of FORM_FLAGS:<br />
|-<br />
| FORM_LENGTH || Integer || The physical length of the specified form in lines. This item code is applicable only to output execution queues.<br />
|-<br />
| FORM_MARGIN_BOTTOM || Integer || The bottom margin of the specified form in lines.<br />
|-<br />
| FORM_MARGIN_LEFT || Integer || The left margin of the specified form in characters.<br />
|-<br />
| FORM_MARGIN_RIGHT || Integer || The right margin of the specified form in characters.<br />
|-<br />
| FORM_MARGIN_TOP || Integer || The top margin of the specified form in lines.<br />
|-<br />
| FORM_NAME || String || The name of the specified form or the mounted form associated with the specified job or queue.<br />
|-<br />
| FORM_NUMBER || Integer || The number of the specified form.<br />
|-<br />
| FORM_SETUP_MODULES || String || The names of the text modules that are to be extracted from the device control library and copied to the printer before a file is printed on the specified form. This item code is meaningful only for output execution queues.<br />
|-<br />
| FORM_SHEET_FEED || String || TRUE or FALSE to indicate whether the symbiont pauses at the end of each physical page so that another sheet of paper can be inserted.<br />
|-<br />
| FORM_STOCK || String || The name of the paper stock on which the specified form is to be printed.<br />
|-<br />
| FORM_TRUNCATE || String || TRUE or FALSE to indicate whether the printer discards any characters that exceed the specified right margin.<br />
|-<br />
| FORM_WIDTH || Integer || The width of the specified form.<br />
|-<br />
| FORM_WRAP || String || TRUE or FALSE to indicate whether the printer prints any characters that exceed the specified right margin on the following line.<br />
|-<br />
| GENERIC_TARGET || String || The names of the execution queues that are enabled to accept work from the specified generic queue. This item code is meaningful only for generic queues.<br />
|-<br />
| HOLDING_JOB_COUNT || Integer || The number of jobs in the queue being held until explicitly released.<br />
|-<br />
| INTERVENING_BLOCKS || Integer || The number of blocks associated with pending jobs in the queue that were skipped during the current call to F$GETQUI. These jobs were not reported because they did not match the selection criterion in effect for the call to F$GETQUI.<br />
|-<br />
| INTERVENING_JOBS || Integer || The number of pending jobs in the queue that were skipped during the current call to F$GETQUI. These jobs were not reported because they did not match the selection criterion in effect for the call to F$GETQUI.<br />
|-<br />
| JOB_ABORTING || String || TRUE or FALSE to indicate whether the system is attempting to abort the execution of a job.<br />
|-<br />
| JOB_COMPLETION_QUEUE || String || The name of the queue on which the specified job executed.<br />
|-<br />
| JOB_COMPLETION_TIME || String || The time at which the execution of the specified job completed.<br />
|-<br />
| JOB_COPIES || Integer || The number of times the specified print job is to be repeated.<br />
|-<br />
| JOB_COPIES_DONE || Integer || The number of times that the specified print job has been repeated.<br />
|-<br />
| JOB_CPU_LIMIT || String || TRUE or FALSE to indicate whether a CPU time limit is specified for the job.<br />
|-<br />
| JOB_ERROR_RETENTION || String || TRUE or FALSE to indicate whether the user requested that the specified job be retained in the queue if the job completes unsuccessfully.<br />
|-<br />
| JOB_EXECUTING || String || TRUE or FALSE to indicate whether the specified job is executing or printing.<br />
|-<br />
| JOB_FILE_BURST || String || TRUE or FALSE to indicate whether a burst page option is explicitly specified for the job.<br />
|-<br />
| JOB_FILE_BURST_ONE || String || TRUE or FALSE to indicate whether burst and flag pages precede only the first copy of the first file in the job.<br />
|-<br />
| JOB_FILE_FLAG || String || TRUE or FALSE to indicate whether a flag page precedes each file in the job.<br />
|-<br />
| JOB_FILE_FLAG_ONE || String || TRUE or FALSE to indicate whether a flag page precedes only the first copy of the first file in the job.<br />
|-<br />
| JOB_FILE_PAGINATE || String || TRUE or FALSE to indicate whether a paginate option is explicitly specified for the job.<br />
|-<br />
| JOB_FILE_TRAILER || String || TRUE or FALSE to indicate whether a trailer page follows each file in the job.<br />
|-<br />
| JOB_FILE_TRAILER_ONE || String || TRUE or FALSE to indicate whether a trailer page follows only the last copy of the last file in the job.<br />
|-<br />
| JOB_FLAGS || Integer || The processing options selected for the specified job. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of JOB_FLAGS:<br />
|-<br />
| JOB_HOLDING || String || TRUE or FALSE to indicate whether the job will be held until it is explicitly released.<br />
|-<br />
| JOB_INACCESSIBLE || String || TRUE or FALSE to indicate whether the caller does not have read access to the specific job and file information in the system queue file. When FALSE, the DISPLAY_JOB and DISPLAY_FILE operations can return information for only the following output value item codes:<br />
|-<br />
| JOB_LIMIT || Integer || The number of jobs that can execute simultaneously on the specified queue. This item code is applicable only to batch execution queues.<br />
|-<br />
| JOB_LOG_DELETE || String || TRUE or FALSE to indicate whether the log file is deleted after it is printed.<br />
|-<br />
| JOB_LOG_NULL || String || TRUE or FALSE to indicate whether a log file is not created.<br />
|-<br />
| JOB_LOG_SPOOL || String || TRUE or FALSE to indicate whether the job log file is queued for printing when the job is complete.<br />
|-<br />
| JOB_LOWERCASE || String || TRUE or FALSE to indicate whether the job is to be printed on a printer that can print both uppercase and lowercase letters.<br />
|-<br />
| JOB_NAME || String || The name of the specified job.<br />
|-<br />
| JOB_NOTIFY || String || TRUE or FALSE to indicate whether a message is broadcast to a terminal when a job completes or aborts.<br />
|-<br />
| JOB_PENDING || String || TRUE or FALSE to indicate whether the job is pending.<br />
|-<br />
| JOB_PID || String || The process identification (PID) number of the executing batch job.<br />
|-<br />
| JOB_REFUSED || String || TRUE or FALSE to indicate whether the job was refused by the symbiont and is waiting for the symbiont to accept it for processing.<br />
|-<br />
| JOB_RESET_MODULES || String || The names of the text modules that are to be extracted from the device control library and copied to the printer before each job in the specified queue is printed. This item code is meaningful only for output execution queues.<br />
|-<br />
| JOB_RESTART || String || TRUE or FALSE to indicate whether the job will restart after a system failure or can be requeued during execution.<br />
|-<br />
| JOB_RETAINED || String || TRUE or FALSE to indicate whether the job has completed but is being retained in the queue.<br />
|-<br />
| JOB_RETENTION || String || TRUE or FALSE to indicate whether the user requested that the job be retained indefinitely in the queue regardless of the job's completion status.<br />
|-<br />
| JOB_RETENTION_TIME || String || Returns the system time until which the user requested the job be retained in the queue. The system time may be expressed in either absolute or delta time format.<br />
|-<br />
| JOB_SIZE || Integer || The total number of blocks in the specified print job.<br />
|-<br />
| JOB_SIZE_MAXIMUM || Integer || The maximum number of blocks that a print job initiated from the specified queue can contain. This item code is applicable only to output execution queues.<br />
|-<br />
| JOB_SIZE_MINIMUM || Integer || The minimum number of blocks that a print job initiated from the specified queue can contain. This item code is applicable only to output execution queues.<br />
|-<br />
| JOB_STALLED || String || TRUE or FALSE to indicate whether the specified job is stalled because the physical device on which the job is printing is stalled.<br />
|-<br />
| JOB_STARTING || String || TRUE or FALSE to indicate whether the job controller is starting to process the job and has begun communicating with an output symbiont or a job controller on another node.<br />
|-<br />
| JOB_STATUS || Integer || The specified job's status flags. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of JOB_STATUS:<br />
|-<br />
| JOB_SUSPENDED || String || TRUE or FALSE to indicate whether the job is suspended.<br />
|-<br />
| JOB_TIMED_RELEASE || String || TRUE or FALSE to indicate whether the job is waiting for a specified time to execute.<br />
|-<br />
| JOB_WSDEFAULT || String || TRUE or FALSE to indicate whether a default working set size is specified for the job.<br />
|-<br />
| JOB_WSEXTENT || String || TRUE or FALSE to indicate whether a working set extent is specified for the job.<br />
|-<br />
| JOB_WSQUOTA || String || TRUE or FALSE to indicate whether a working set quota is specified for the job.<br />
|-<br />
| LAST_PAGE || Integer || The page number at which the printing of the specified file should end. This item code is applicable only to output execution queues.<br />
|-<br />
| LIBRARY_SPECIFICATION || String || The name of the device control library for the specified queue. The library specification assumes the device and directory name SYS$LIBRARY and a file type of .TLB. This item code is meaningful only for output execution queues.<br />
|-<br />
| LOG_QUEUE || String || The name of the queue into which the log file produced for the specified batch job is to be entered for printing. This item code is applicable only to batch jobs.<br />
|-<br />
| LOG_SPECIFICATION || String || The name of the log file specified for a job. This item code is meaningful only for batch jobs. Use the JOB_LOG_NULL item code to determine whether a log file will be produced.<br />
|-<br />
| MANAGER_NAME || String || The queue manager name.<br />
|-<br />
| MANAGER_NODES || String || The names of the nodes on which the queue manager may run.<br />
|-<br />
| MANAGER_STATUS || Integer || The specified queue manager's status flags. To find the settings of each bit in the field, use one of the following items in place of MANAGER_STATUS:<br />
|-<br />
| NOTE || String || The note that is to be printed on the job flag and file flag pages of the specified job. This item code is meaningful only for output execution queues.<br />
|-<br />
| OPERATOR_REQUEST || String || The message that is to be sent to the queue operator before the specified job begins to execute. This item code is meaningful only for output execution queues.<br />
|-<br />
| OWNER_UIC || String || The owner user identification code (UIC) of the specified queue.<br />
|-<br />
| PAGE_SETUP_MODULES || String || The names of the text modules to be extracted from the device control library and copied to the printer before each page of the specified form is printed.<br />
|-<br />
| PARAMETER_1 to PARAMETER_8 || String || The value of the user-defined parameters that become the value of the DCL symbols P1 to P8 respectively.<br />
|-<br />
| PENDING_JOB_BLOCK_COUNT || Integer || The total number of blocks for all pending jobs in the queue (valid only for output execution queues).<br />
|-<br />
| PENDING_JOB_COUNT || Integer || The number of jobs in the queue in a pending state.<br />
|-<br />
| PENDING_JOB_REASON || Integer || The reason that the job is in a pending state. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of PENDING_JOB_REASON:<br />
|-<br />
| PEND_CHAR_MISMATCH || String || TRUE or FALSE to indicate whether the job requires characteristics that are not available on the execution queue.<br />
|-<br />
| PEND_JOB_SIZE_MAX || String || TRUE or FALSE to indicate whether the block size of the job exceeds the upper block limit of the execution queue.<br />
|-<br />
| PEND_JOB_SIZE_MIN || String || TRUE or FALSE to indicate whether the block size of the job is less than the lower limit of the execution queue.<br />
|-<br />
| PEND_LOWERCASE_MISMATCH || String || TRUE or FALSE to indicate whether the job requires a lowercase printer.<br />
|-<br />
| PEND_NO_ACCESS || String || TRUE or FALSE to indicate whether the owner of the job does not have access to the execution queue.<br />
|-<br />
| PEND_QUEUE_BUSY || String || TRUE or FALSE to indicate whether the job is pending because the number of jobs currently executing on the queue equals the job limit for the queue.<br />
|-<br />
| PEND_QUEUE_STATE || String || TRUE or FALSE to indicate whether the job is pending because the execution queue is not in a running open state.<br />
|-<br />
| PEND_STOCK_MISMATCH || String || TRUE or FALSE to indicate whether the stock type required by the job's form does not match the stock type of the form mounted on the execution queue.<br />
|-<br />
| PRIORITY || Integer || The scheduling priority of the specified job.<br />
|-<br />
| PROCESSOR || String || The name of the symbiont image that executes print jobs initiated from the specified queue.<br />
|-<br />
| PROTECTION || String || The specified queue's protection mask.<br />
|-<br />
| QUEUE_ACL_SPECIFIED || String || TRUE or FALSE to indicate whether an access control list has been specified for the queue.<br />
|-<br />
| QUEUE_ALIGNING || String || TRUE or FALSE to indicate whether the queue is currently printing alignment pages. A queue prints alignment pages when it is restarted from a paused state by using the command START/QUEUE/ALIGN.<br />
|-<br />
| QUEUE_AUTOSTART || String || TRUE or FALSE if the specified queue has been designated as an AUTOSTART queue.<br />
|-<br />
| QUEUE_AUTOSTART_INACTIVE || String || TRUE or FALSE if the queue is an autostart queue that will not be automatically started. If TRUE, a START/QUEUE or INIT/QUEUE/START command must be issued to restart the queue.<br />
|-<br />
| QUEUE_AVAILABLE || String || TRUE or FALSE if the queue is processing one or more jobs but is capable of processing one or more additional jobs.<br />
|-<br />
| QUEUE_BATCH || String || TRUE or FALSE to indicate whether the queue is a batch queue or a generic batch queue.<br />
|-<br />
| QUEUE_BUSY || String || TRUE or FALSE if the number of jobs currently executing on the queue equals the job limit for the queue.<br />
|-<br />
| QUEUE_CLOSED || String || TRUE or FALSE to indicate whether the queue is closed and will not accept new jobs until the queue is put in an open state.<br />
|-<br />
| QUEUE_CPU_DEFAULT || String || TRUE or FALSE to indicate whether a default CPU time limit has been specified for all jobs in the queue.<br />
|-<br />
| QUEUE_CPU_LIMIT || String || TRUE or FALSE to indicate whether a maximum CPU time limit has been specified for all jobs in the queue.<br />
|-<br />
| QUEUE_DESCRIPTION || String || The description of the queue that was defined by using the /DESCRIPTION qualifier with the INITIALIZE/QUEUE command.<br />
|-<br />
| QUEUE_DIRECTORY || String || The device and directory specification of the queue database directory for the queue manager.<br />
|-<br />
| QUEUE_FILE_BURST || String || TRUE or FALSE to indicate whether burst and flag pages precede each file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FILE_BURST_ONE || String || TRUE or FALSE to indicate whether burst and flag pages precede only the first copy of the first file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FILE_FLAG || String || TRUE or FALSE to indicate whether a flag page precedes each file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FILE_FLAG_ONE || String || TRUE or FALSE to indicate whether a flag page precedes only the first copy of the first file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FILE_PAGINATE || String || TRUE or FALSE to indicate whether the output symbiont paginates output for each job initiated from this queue. The output symbiont paginates output by inserting a form feed whenever output reaches the bottom margin of the form.<br />
|-<br />
| QUEUE_FILE_TRAILER || String || TRUE or FALSE to indicate whether a trailer page follows each file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FILE_TRAILER_ONE || String || TRUE or FALSE to indicate whether a trailer page follows only the last copy of the last file in each job initiated from the queue.<br />
|-<br />
| QUEUE_FLAGS || Integer || The processing options that have been selected for the specified queue. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of QUEUE_FLAGS:<br />
|-<br />
| QUEUE_GENERIC || String || TRUE or FALSE to indicate whether the queue is a generic queue.<br />
|-<br />
| QUEUE_GENERIC_SELECTION || String || TRUE or FALSE to indicate whether the queue is an execution queue that can accept work from a generic queue.<br />
|-<br />
| QUEUE_IDLE || String || TRUE or FALSE to indicate whether the queue is not processing any jobs and is capable of doing so or whether the generic queue is capable of feeding executor queues.<br />
|-<br />
| QUEUE_JOB_BURST || String || TRUE or FALSE to indicate whether burst and flag pages precede each job initiated from the queue.<br />
|-<br />
| QUEUE_JOB_FLAG || String || TRUE or FALSE to indicate whether a flag page precedes each job initiated from the queue.<br />
|-<br />
| QUEUE_JOB_SIZE_SCHED || String || TRUE or FALSE to indicate whether jobs initiated from the queue are scheduled according to size with the smallest job of a given priority processed first. (Meaningful only for output queues.)<br />
|-<br />
| QUEUE_JOB_TRAILER || String || TRUE or FALSE to indicate whether a trailer page follows each job initiated from the queue.<br />
|-<br />
| QUEUE_LOWERCASE || String || TRUE or FALSE to indicate whether queue is associated with a printer that can print both uppercase and lowercase characters.<br />
|-<br />
| QUEUE_NAME || String || The name of the specified queue or the name of the queue that contains the specified job.<br />
|-<br />
| QUEUE_PAUSED || String || TRUE or FALSE to indicate whether execution of all current jobs in the queue is temporarily halted.<br />
|-<br />
| QUEUE_PAUSING || String || TRUE or FALSE to indicate whether the queue is temporarily halting execution. Currently executing jobs are completing; temporarily, no new jobs can begin executing.<br />
|-<br />
| QUEUE_PRINTER || String || TRUE or FALSE to indicate whether the queue is a printer queue.<br />
|-<br />
| QUEUE_RECORD_BLOCKING || String || TRUE or FALSE to indicate whether the symbiont is permitted to concatenate, or block together, the output records it sends to the output device.<br />
|-<br />
| QUEUE_REMOTE || String || TRUE or FALSE to indicate whether the queue is assigned to a physical device that is not connected to the local node.<br />
|-<br />
| QUEUE_RESETTING || String || TRUE or FALSE to indicate whether the queue is resetting and stopping.<br />
|-<br />
| QUEUE_RESUMING || String || TRUE or FALSE to indicate whether the queue is restarting after pausing.<br />
|-<br />
| QUEUE_RETAIN_ALL || String || TRUE or FALSE to indicate whether all jobs initiated from the queue remain in the queue after they finish executing. Completed jobs are marked with a completion status.<br />
|-<br />
| QUEUE_RETAIN_ERROR || String || TRUE or FALSE to indicate whether only jobs that do not complete successfully are retained in the queue.<br />
|-<br />
| QUEUE_SERVER || String || TRUE or FALSE to indicate whether queue processing is directed to a server symbiont.<br />
|-<br />
| QUEUE_STALLED || String || TRUE or FALSE to indicate whether the physical device to which the queue is assigned is stalled; that is, the device has not completed the last I/O request submitted to it.<br />
|-<br />
| QUEUE_STARTING || String || TRUE or FALSE to indicate whether the queue is starting.<br />
|-<br />
| QUEUE_STATUS || Integer || The specified queue's status flags. The integer represents a bit field. To find the settings of each bit in the field, use one of the following items in place of QUEUE_STATUS:<br />
|-<br />
| QUEUE_STOP_PENDING || String || TRUE or FALSE if queue will be stopped when jobs currently in progress have completed.<br />
|-<br />
| QUEUE_STOPPED || String || TRUE or FALSE to indicate whether the queue is stopped.<br />
|-<br />
| QUEUE_STOPPING || String || TRUE or FALSE to indicate whether the queue is stopping.<br />
|-<br />
| QUEUE_SWAP || String || TRUE or FALSE to indicate whether jobs initiated from the queue can be swapped.<br />
|-<br />
| QUEUE_TERMINAL || String || TRUE or FALSE to indicate whether the queue is a terminal queue.<br />
|-<br />
| QUEUE_UNAVAILABLE || String || TRUE or FALSE to indicate whether the physical device to which queue is assigned is not available.<br />
|-<br />
| QUEUE_WSDEFAULT || String || TRUE or FALSE to indicate whether a default working set size is specified for each job initiated from the queue.<br />
|-<br />
| QUEUE_WSEXTENT || String || TRUE or FALSE to indicate whether a working set extent is specified for each job initiated from the queue.<br />
|-<br />
| QUEUE_WSQUOTA || String || TRUE or FALSE to indicate whether a working set quota is specified for each job initiated from the queue.<br />
|-<br />
| RAD || Integer || Value of the RAD. A value of "-1" indicates no RAD value is attributed to the queue. RAD is supported on AlphaServer GS series systems and starting from OpenVMS Version 8.4, support is extended to NUMA capable Integrity servers.<br />
|-<br />
| REQUEUE_QUEUE_NAME || String || The name of the queue to which the specified job is reassigned.<br />
|-<br />
| RESTART_QUEUE_NAME || String || The name of the queue in which the job will be placed if the job is restarted.<br />
|-<br />
| RETAINED_JOB_COUNT || Integer || The number of jobs in the queue retained after successful completion plus those retained on error.<br />
|-<br />
| SCSNODE_NAME || String || The 6-byte name of the VMS node on which jobs initiated from the specified queue execute. The node name matches the value of the system parameter SCSNODE for the target node.<br />
|-<br />
| SECURITY_INACCESSIBLE || String || TRUE or FALSE to indicate whether the user has read access to the specified queue.<br />
|-<br />
| SUBMISSION_TIME || String || The time at which the specified job was submitted to the queue.<br />
|-<br />
| TIMED_RELEASE_JOB_COUNT || Integer || The number of jobs in the queue on hold until a specified time.<br />
|-<br />
| UIC || String || The user identification code (UIC) of the owner of the specified job.<br />
|-<br />
| USERNAME || String || The user name of the owner of the specified job.<br />
|-<br />
| WSDEFAULT || Integer || The default working set size specified for the specified job or queue. This value is meaningful only for batch jobs and execution and output queues.<br />
|-<br />
| WSEXTENT || Integer || The working set extent specified for the specified job or queue. This value is meaningful only for batch jobs and execution and output queues.<br />
|-<br />
| WSQUOTA || Integer || The working set quota for the specified job or queue. This value is meaningful only for batch jobs and execution and output queues.<br />
|}</div>185.9.201.123