VMLINK
- 1 If you do not specify any operands, the VMLINK menu is entered unless no NAMES or VMLINK CONTROL files can be accessed, or if none of the nicknames in the NAMES files have a :category tag.
- 2 When the POP option is specified, linking details are ignored.
- 3 The default options are shown in the Options and Additional Options groups.
- 4 When specified, the PUSH option is ignored.
- 5 The symbols < and > are part of the VMLINK command Linking Details syntax.
- 1 When specified, no other options are used.
- 2 When NOKEEP is specified, the PUSH option is ignored.
- 3 The PUSH option is ignored when DETACH, RELEASE, or NOKEEP is specified.
- 4 When the POP option is specified, linking details are ignored.
- 1 Messages, variables, and tag values are returned on the program stack or in REXX stem variables, as indicated by the STACK or STEM keywords.
Authorization
General User
Purpose
- Access and release minidisks
- Link and detach minidisks
- Access and release Shared File System (SFS) directories
- Use nicknames to define minidisks and SFS directories to do all of the tasks defined above
Operands
Disk Operands
- nickname
- is a nickname defined in a CMS NAMES file by a :NICK tag. For more information on the tags used for VMLINK, see NAMES.
- category
- is a category name defined in a CMS NAMES file by a :CATEGORY tag. When a category name is specified, the VMLINK panel displays all nicknames in that category. When a disk operand is determined to be a category, any linking details entered are ignored.
- .DIR dirname
- identifies an SFS directory. When an SFS directory is specified this way, use the NONAMES option so VMLINK does not search any NAMES files.
- user_ID owner_vdev
- identifies the user ID of the owner of a minidisk and the 1-4 character hexadecimal virtual device number as defined in the owner’s user directory entry. When a minidisk is specified this way, use the NONAMES option so VMLINK does not search any NAMES files. Otherwise, VMLINK might match the user ID with a nickname. If an asterisk is used for user_ID, your user ID is used as the owner.
Linking Details
- vdev
- is the 1-4 character hexadecimal virtual device number at which a minidisk is to be linked. To
select the next free virtual address in a range, specify the start of a range as
+vdevor-vdev(ascending or descending order). If the disk is already linked and falls in the correct range, the existing virtual device is maintained. For example, if a disk is linked at 200 and +120 is specified as the vdev, the 200 link is kept. A vdev of 0 is not allowed because one cannot access a minidisk with an address of 0.An asterisk selects the next free virtual address, as specified in the *VDEV record in the VMLINK CONTROL file, unless the disk is already linked in which case the virtual device the disk is linked at is maintained.
An equal sign tells VMLINK to use the vdev range specified on the :PRODUCT tag in the NAMES file if one is found; otherwise, it behaves as an asterisk.
For SFS directories, vdev is a place holder.
- filemode
- is the file mode letter at which the minidisk or SFS directory is to be accessed. You cannot use
the file mode S. The file mode letter can be followed by a file mode number. The allowable file mode
numbers are 0 to 6. Using a file mode number defines a subset of the files on the specified minidisk
or SFS directory. Only the files with the file mode number specified are included in the user file
directory and only those files can be read. When a file mode number is used, the minidisk or SFS
directory is accessed as an extension of itself and therefore is accessed as R/O. If a file mode
number of 0 is used, nothing is accessed unless the MODE0 option is used and the ACCESSM0 command is
available and set to ON. To have the first free file mode letter in a range assigned, specify the
range as
filemode1-filemode2.
In a range, only a file mode letter is valid for filemode1, but
filemode2 can be a file mode letter or a file mode letter and a file mode
number. If the disk is already accessed and falls in the correct range, the existing file mode is
kept. For example, if a disk is accessed at G and F-K is specified as the file mode range, the G
file mode is kept.
An asterisk selects the default range, as specified in the *MODES record in the VMLINK CONTROL file, unless the disk is already accessed, in which case the file mode at which the disk is accessed is kept. The product default in the VMLINK CONTROL file is
Z-A, which means the search starts atZ
and progresses towardA
.An equals sign tells VMLINK to use the file mode range specified on the :PRODUCT tag in the NAMES file, if one is found; otherwise, it behaves as an asterisk.
If no file mode is available in the range specified, a DMS1281E error results. VMLINK does not access over an already-accessed file mode unless a single file mode is specified, such as P or P/S. If the file mode is specified as P-P or P,P and P is already in use, a DMS1281E error occurs.
- /ext
- is the file mode of the parent minidisk or SFS directory. Files on the minidisk (vdev) or directory (dirname) being accessed are logically associated with files on the parent minidisk or directory. The minidisk or directory is considered a read-only extension. A parent minidisk or directory must be accessed in the search order before the extension. An equal sign tells VMLINK to access the minidisk or SFS directory as an extension of itself.
- link_mode
- specifies whether you get read/only or read/write access to the minidisk or SFS directory. For a
minidisk, all modes defined for the CP LINK command are valid. The default is RR. An asterisk specified for a minidisk link_mode means:
- If no link exists, RR will be used
- If a link already exists, the existing link will be used
For SFS, you can specify FORCERO or FORCERW. The default is:- FORCERO if you do not own the SFS directory
- FORCERW if you own a file control SFS directory
Note: If you own a directory control SFS directory, FORCERW is the default unless someone else has the SFS directory accessed R/W, in which case FORCERO is the default.An asterisk specified for an SFS directory link mode follows the default behavior as described above.
If it is unknown what the nickname represents, minidisk or SFS directory, use the READ and WRITE options, instead of link_mode, to ensure VMLINK uses the appropriate link modes.
An equal sign tells VMLINK to use the link mode specified on the :PRODUCT tag in the NAMES file if one is found; otherwise, it behaves as an asterisk.
- DETach
- detaches and releases a minidisk, if linked, or releases an SFS directory, if accessed.
When you detach a minidisk with the READ or WRITE option, VMLINK issues a warning message if you do not have the minidisk linked in the matching mode or if the minidisk remains linked in the other mode. The READ option is the default. When you detach an SFS directory, the SFS directory is released regardless of the mode it is accessed in.
- RELease
- releases a minidisk or SFS directory if already accessed.
Options
- ADDfile(fileids)
- lists additional NAMES files to be searched before the files in the *FILES control record and
overrides the files listed in the *ADDFILE control record in VMLINK CONTROL. More than one file ID
can be specified. The file name and file type
can be .NO and will resolve to the user's node ID. The file type and mode
of the last file name in the list can default to
NAMES *. - ONLy(fileids)
- specifies which NAMES files should be searched. The ONLY option overrides the *FILES and
*ADDFILE control records. More than one file ID can be specified. The file
name and file type can be .NO and will resolve to the user's
node ID. The file type and mode of the last file
name in the list can default to
NAMES *. - APpend
- appends the list of nicknames to the list displayed on the VMLINK menu. This option can be used only within the menu.
- Autolink
- Autolink SET
- puts the disk operand in a list of minidisks and/or SFS directories to be accessed when you log
on or IPL CMS. The minidisks and/or SFS directories are also linked and accessed when this is
issued. If the minidisks and/or SFS directories cannot be linked/accessed, no AUTOLINKs are set. The
list is kept in the LASTING GLOBALV file. Options are not saved in the list, so if nicknames are
used, they must be in one of the default NAMES files. If this option is entered with no disk
operands, it is ignored. The autolinks are not made when you:
- IPL with the NOSPROF parameter:
ipl cms parm nosprof - Enter
access (nodiskat the VM READ after the IPL is complete
When setting an autolink, you may get the message DMS2064E [RC=1], identifying the GLOBALV line was truncated. If you set many autolinks, you may get this message because the GLOBALV line is too long. See GLOBALV for information on this size restriction. Each category has its own line, so this problem should only occur when setting many autolinks for nicknames in a given category.
- IPL with the NOSPROF parameter:
- Autolink RUN
- links and accesses the minidisks or accesses the SFS directories specified by Autolink SET. If both Autolink RUN and Autolink LIST are specified, only the first one specified is used. Any operands or other options are not used when this option is entered, with the exception of the TYPE and NOTYPE options.
- Autolink DELete
- deletes a minidisk or SFS directory from the list of things to be accessed when you log on or IPL CMS. Autolink DELETE does not detach or release any minidisk or SFS directories. If this option is entered with no disk operands, it is ignored.
- Autolink LISt
- displays the autolinks currently set. Here is an example of what is displayed if there is an
autolink set for MYNICK:
Number Autolink Setting 1 - MYNICK <= = =>If no autolinks are set, message DMS739W No autolinks are set is issued. Any operands or other options are not used when this option is entered.
- DEBUG
- is provided to help aid in debugging problems. It will help identify from which NAMES file the nickname entry, if any, was obtained. Also, some messages from CP or CMS are displayed. The messages produced for the DEBUG option are for diagnostic purposes only and are not translated.
- EXIT(execname parmlist)
- names an exit exec to be called after each minidisk or SFS directory has been accessed.
Note: For more information, see the PREEXIT option.
- FIlelist fn ft
- causes VMLINK to issue a FILELIST command for files on the first minidisk or SFS directory
accessed. If linking or accessing the minidisk or SFS directory fails, FILELIST is not issued.
VMLINK returns the accessed minidisks and/or SFS directories to their prior status before it exits;
to keep the minidisks and/or SFS directories accessed, use the KEEP option. FILELIST overrides any
commands on the :INVOKE tag in the NAMES file. The default is
FILELIST * *.When options follow FILELIST, the fn and ft parameters are required.
Using this option is a shortcut way of saying INVOKE EXEC FILELIST fn ft .fm1.
When the POP option is used, VMLINK does not process the FILELIST option.
- Force
- forces a link at vdev. If some other device is attached at vdev, it is detached.
- NOExit
- specifies the :PREEXIT and :EXIT tags in the NAMES file are not used.
- NOInvoke
- specifies the :INVOKE tags in the NAMES file are not used.
- NOKeep
- is used with FILELIST or INVOKE to restore minidisks and/or SFS directories to their prior
status after VMLINK has finished. This is the default.
NOKEEP has no effect when neither FILELIST nor INVOKE is specified.
If the FORCE option or linking details of either RELEASE or DETACH are specified on the command, it may not be possible to restore the minidisks or directories that have been detached or released by the command.
- Keep
- is used with FILELIST or INVOKE to keep minidisks and/or SFS directories accessed after VMLINK has finished. It has no effect when FILELIST or INVOKE is not used.
- NOList
- specifies the :LIST tags in the NAMES file are not used.
- NOMODE0
- specifies mode 0 links will not be done. This is the default.
- MODE0
- specifies mode 0 links will be done provided the ACCESSM0 command is available and on. If ACCESSM0 is not available, an error message is displayed.
- NONames
- suppresses the search of NAMES files. Use NONAMES when the minidisk is identified by user_ID owner_vdev, or the SFS directory is identified by .DIR dirname.
- QUEry
- displays all NAMES file entries for each specified nickname regardless of the nodes specified on any :NODE tag. When this option is used the nickname is not processed, therefore no actions are taken on the nickname. All disk operands passed in are considered nicknames when this option is specified.
- NONICKtrans
- tells VMLINK not to call the VMLNICXT EXEC, which is an exit exec that can be locally
customized. The function of this exit exec is to replace a specified nickname with another before
the NAMES files are searched. For more information, see
Testing with the VMLNICXT EXEC
in z/VM: CMS User's Guide.If VMLNICXT EXEC exists, it is called unless this option is specified.
- PREExit(execname parmlist)
- names an exit exec to be called after VMLINK has located a free virtual device number and
file mode letter and before the minidisk or SFS directory is accessed. The
parameter list can include all the VMLINK variables except .AS, .LA, and .LS.
Usage Notes for PREExit:
- The exit exec is called separately for each minidisk or SFS directory accessed by the VMLINK command and has access to variable and tag data for the minidisk or SFS directory only.
- A disk identifier is always passed to the exit as the first argument.
- A parameter list passed to an exit cannot include a right parenthesis. The first right parenthesis encountered indicates the end of the exit’s parameter list. If a right parenthesis is needed, use the :EXIT or :PREEXIT tags in the NAMES file, rather than the option.
- If a non-zero return code is returned from the exit exec, VMLINK ends. A return code of 12 terminates VMLINK with a return code 0. Otherwise VMLINK terminates with a return code in the form 3xxx, where xxx is the return code from the exit.
- This option overrides the equivalent tag in the NAMES file.
- It is used in addition to any exit specified in the VMLINK CONTROL file.
- When the POP option, the DETACH operand, or the RELEASE operand is used, VMLINK does not call exit execs.
- PROFile fn
- names the XEDIT profile for the VMLINK panel. The default is PROFVMLK. For more information on the PROFVMLK macro, see Default Key Settings.
- PUsh
- causes VMLINK to keep a record of its actions when it links and accesses minidisks and SFS
directories in read/only mode. This record is kept by stacking the information in LIFO
order. A later call to VMLINK for a minidisk or SFS directory with the POP option restores it
to its former state. Note: WRITE disk status is not saved or restored using this option.
- POP
- POP DETach
- causes VMLINK to restore specified minidisks and/or SFS directories to their previous states,
based on information saved by linking with the PUSH option. This is done by taking items off the
stack in the reverse order of how they were stacked by PUSH; therefore, if an item in the middle of
the stack is requested with the POP option, all subsequent items stacked by using the PUSH option
will be restored with this POP. If a disk has been detached since the PUSH was done, the disk cannot
be restored. If no disk operand is specified with this option, all minidisks and/or SFS directories
for which information has been saved are restored.
WRITE disk status is not saved or restored using this option.
When POP is specified, VMLINK ignores linking details and does not call exit execs, run invoke routines, or process the FILELIST option.
- POP RELease
- causes VMLINK to restore specified minidisks and/or SFS directories to their previous states,
based on information saved by linking with the PUSH option, except the minidisks are not detached.
This is done by taking items off the stack in the reverse order of how they were stacked by PUSH;
therefore, if an item in the middle of the stack is requested with the POP option, all subsequent
items stacked by using the PUSH option will be restored with this POP. If a disk has been detached
since the PUSH was done, the disk cannot be restored. If no disk operand is specified with this
option, all minidisks and/or SFS directories for which information has been saved are restored.
WRITE disk status is not saved or restored using this option.
When POP is specified, VMLINK ignores linking details and does not call exit execs, run invoke routines, or process the FILELIST option.
- PW password
- specifies a password to be used for the CP link command. The password applies to all minidisks linked. For SFS directories, this option is not used.
- READ
- accesses the minidisk or SFS directory in read/only mode regardless of the NAMES file default.
Minidisks are linked with a link mode of RR. SFS directories are accessed with FORCERO. For
minidisks, an existing write link to the same minidisk is not disturbed, unless the same virtual
device number is provided.
READ overrides any link_mode specified in the linking details and limits the effect of DETACH on minidisks to those linked in read mode. If it is unknown what the nickname represents, minidisk or SFS directory, use the READ option, instead of link_mode, to ensure VMLINK gets the minidisk or SFS directory in read/only mode.
- Write
- accesses the minidisk or SFS directory in write mode regardless of the NAMES file default.
Minidisks are linked with a link mode of M. SFS directories are accessed with FORCERW. For
minidisks, an existing read/only link to the same minidisk is not disturbed, unless the same virtual
device number is provided.
WRITE overrides any link_mode specified in the linking details and limits the effect of DETACH on minidisks to those linked in write mode. If it is unknown what the nickname represents, minidisk or SFS directory, use the WRITE option, instead of link_mode, to ensure VMLINK gets the minidisk or SFS directory in write mode.
- Save
- causes VMLINK to save the program stack and restore it after VMLINK is done. Any stacked data is not available to the INVOKE routine. This is the default.
- NOSave
- prevents VMLINK from saving and clearing the program stack, so routines called with the INVOKE option or :INVOKE tag can use the data on the stack.
- STACK FIFO
- STACK
- FIFO
- specifies the returned data should be stacked FIFO. This is the default if return data is requested.
- STACK LIFO
- LIFO
- specifies the returned data should be stacked LIFO.
- STEM stem.
- specifies the returned data should be returned to the calling program by setting a stem variable. If a stem name is not provided, VMLINK. is used as the default.
- Type
- displays warning and informational messages on the terminal. This is the default.
- NOType
- prevents warning and informational messages from being displayed on the terminal.
- Invoke environment cmd_name parmlist
- names routines to be executed after all the minidisks and/or SFS directories have been accessed.
If linking or accessing the minidisk or SFS directory fails, the invoke routines are not executed.
VMLINK returns the accessed minidisks and/or SFS directories to their prior status before it exits;
to keep the minidisks and/or SFS directories accessed, use the KEEP option.
The INVOKE option overrides the :INVOKE tag in the NAMES files.
If used, the INVOKE option must be the last option specified and cannot be used with PARMS.
When the POP option is used, VMLINK does not run invoke routines.
About the parameter list:- All text following INVOKE is considered part of its parameter list.
- More than one set of environment cmd_name parmlist can be used, delimited by semicolons. To pass a literal semicolon as a parameter, specify two adjacent semicolons.
- The environment is optional; the default is to invoke cmd_name as
though from the CMS command line. Environments that can be specified are:
- MACRO
- to invoke cmd_name as an XEDIT macro.
- EXEC
- to invoke cmd_name as an exec.
- MODULE
- to invoke cmd_name in the command environment (like REXX/VM
address COMMAND). CP commands must be preceded byCP
, and execs byEXEC
.
If VMLINK receives a non-zero return code from a routine, VMLINK issues message number 2884E with the routine name and a non-zero return code. If multiple routines are invoked, this message is issued for each routine that passes back a non-zero return code to VMLINK. VMLINK terminates with a return code in the form 3xxx, where xxx is the sum of the non-zero return codes from the invoked routines.
- Parms parms
- specifies parameters on the command invocation to be passed to routines called with the EXIT,
PREEXIT, or INVOKE options or the :EXIT, :PREEXIT, or :INVOKE tags. You may use the .PA variable in
a routine’s parameter list; the VMLINK command replaces .PA with parms.
The list of parameters specified with PARMS can include any of the VMLINK variables.
All text following the PARMS option is considered part of the parameter list, so PARMS must be the last option specified.
Returned Data
- .MSG
- puts VMLINK messages prefixed with *.MSG on the stack if the STACK option was specified or prefixed with .MSG in REXX stem variables if the STEM option was specified. The default is to display messages at the terminal. When messages are stacked or placed in REXX stem variables, the entire message is always provided regardless of the CP EMSG setting. Messages are returned before any other returned data.
- :tagname
- returns the value assigned to the tag in the names file.
VMLINK Variables
VMLINK Variables can be used as part of the parameter lists for PARMS, invoke routines, pre exits and exits.
- .ARn
- returns the operands specified on the VMLINK command. The arguments include everything preceding the first left parenthesis if there is one.
- .ASm
- returns the access status, either R/O (read/only) or R/W (read/write), of the minidisk or SFS directory that was accessed. The .AS option is ignored in the parameter list of a PREEXIT EXEC because the minidisk or SFS directory is not yet accessed.
- .CAm
- returns the :CATEGORY tag value.
- .CUm
- returns the virtual device number used to link a minidisk, or a string containing
DIR
followed by the fully qualified name of the SFS directory that was accessed. For example,DIR SYSSERV:JQUSER.TASKS. - .EXm
- returns the :EXIT tag value.
- .FMm
- returns the single character file mode letter used to access the minidisk or SFS directory, omitting the file mode extension used.
- .INm
- returns the :INVOKE tag value.
- .LAm
- returns the label of a minidisk or a hyphen for an SFS directory. The .LA option is ignored in the parameter list of a PREEXIT EXEC, because the minidisk or SFS directory is not yet accessed.
- .LIm
- returns the :LIST tag value.
- .LSm
- returns the link status, either R/O (read/only) or R/W (read/write), of the minidisk that was linked, or DIR for an SFS directory. The .LS option is ignored in the parameter list of a PREEXIT EXEC because the minidisk or SFS directory is not yet linked.
- .NFm
- returns the file ID of the NAMES file in which VMLINK found the nickname.
- .NIm
- returns the :NICK tag value.
- .NOm
- returns the :NODE tag value.
- .OPn
- returns the options passed with VMLINK. The options include everything following the first left parenthesis.
- .PAn
- returns the text following the PARMS option keyword.
- .PRm
- returns the :PRODUCT tag value, or if VMLINK was invoked with the explicit minidisk or SFS directory name, it will return user ID vdev linking details or .DIR dirname linking details
- .PXm
- returns the :PREEXIT tag value.
- .TAm
- returns the tag-value pairs for all :tagname options specified on the command invocation of VMLINK.
- .TIm
- returns the :TITLE tag value.
- .XDn
- returns all the data specified on the RETURN statement of any exit execs.
- n
- identifies a particular blank-delimited token in the requested string. For example, .OP3 refers to the third token in the options string. If n is not specified, the complete string is returned.
- m
- identifies the minidisk or SFS directory for which the information is requested. For example, .FM3 is the file mode letter of the third minidisk or SFS directory accessed by the VMLINK command. If m is not specified, 1 is assumed.
Usage Notes
- For more information on how to customize this command, see Customizing Profiles for CMS Productivity Aids.
- VMLINK determines how to process each disk operand in turn, by trying to establish one of these
conditions as true:
- The NONAMES option is specified. If so, the operands are assumed to be only minidisk IDs and SFS directory names. No NAMES file is searched for nicknames.
- The operand is a nickname that is valid on the node. If so, VMLINK processes it using a NAMES file.
- The operand matches the value of a :CATEGORY tag that is valid for the node. If so, a menu of all the valid nicknames with a matching category is displayed. When an operand is determined to be a category, any linking details entered are ignored.
- The first word of the disk operand is
.DIR
. If so, VMLINK processes the operand as part of an SFS directory specification. - Otherwise, VMLINK tries to process the operand as part of a minidisk ID in the form user_ID vdev.
- VMLINK searches CMS NAMES files for nicknames. The search order and names of the NAMES files are defined in the VMLINK CONTROL file or specified on the command. For more information on the VMLINK NAMES file, see z/VM: CMS User's Guide.
- The VMLINK control file, VMLINK CONTROL, sets local defaults for some VMLINK values. The defaults are overridden by values in a nickname entry, which in turn are overridden by operands specified with the command. For more information on the VMLINK CONTROL file, see z/VM: CMS User's Guide.
- A disk identifier is always passed as the first argument to an exit exec. The form of the disk
identifier is determined by the way the minidisk or SFS directory is specified in the command.
Table 1. Disk Identifiers Specification ID format Disk ID proda191 *nickname *PRODA191 productc 193 *USERIDvdev *PRODUCTC193 .dir maint.pets *.DIRdirname *.DIRMAINT.PETS .dir .pets *.DIRdirname *.DIR.PETS - If you have called VMLINK with the NONAMES option or the NONICKtrans option, no VMLNICXT EXEC is called.
Examples
- VMLINK Autolink
VMLINK has the ability to link and access minidisks or access SFS directories automatically when a user re-IPLs CMS. The standard SYSPROF EXEC executes 'EXEC VMLINK (AUTOLINK RUN'. AUTOLINK RUN tells VMLINK to check the LASTING GLOBALV for any definitions set with the VMLINK (AUTOLINK SET command. Upon finding a definition, VMLINK performs the operation during the execution of the SYSPROF EXEC.
In Figure 1, you will see a console listing of setting an autolink, IPLing CMS, and then deleting the autolink:Figure 1. VMLINK Autolink Example vmlink .dir vmsysu:maint.samples <= J-H> ( autolink set nonames VMSYSU:MAINT.SAMPLES accessed as filemode J Autolink status updated for VMSYSU:MAINT.SAMPLES Ready; T=0.08/0.08 13:43:31 q search MAINT 191 A R/W - DIR J R/W VMSYSU:MAINT.SAMPLES MNT190 190 S R/O Y-DISK 19E Y/S R/O Ready; T=0.01/0.01 13:43:36 i cms z/VM .... VMSYSU:MAINT.SAMPLES accessed as filemode J Ready; T=0.12/0.14 13:43:40 vmlink .dir vmsysu:maint.samples ( autolink del Autolink removed for .DIR VMSYSU:MAINT.SAMPLES Ready; T=0.04/0.04 13:43:58It is important to notice in Figure 1 that VMLINK accessed the samples when setting the autolink. Also, the
=
sign was used as a place holder so access modes J-H could be specified with an SFS directory. -
- PUSH and POP Option Examples
Figure 2 and Figure 3 show the status of minidisks and/or SFS directories accessed and linked before VMLINK is run:
Figure 2. Example of minidisk Links Before VMLINK Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT XX191 191 A R/W 10 3380 4096 256 913-61 587 1500 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 3. Example of DASD Links Before VMLINK Q DASD DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011
You would link DITTO as VDEV (virtual device) 120 file mode A.VMLINK DITTO <* A> (PUSHFigure 4 and Figure 5 show the status of minidisks accessed and linked and/or SFS directories accessed after VMLINK with PUSH option:Figure 4. Example of minidisk Links After VMLINK (PUSH Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT DITTO 120 A R/O 12 3380 4096 40 1065-59 735 1800 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 5. Example of DASD Links After VMLINK (PUSH Q DASD DASD 0120 3380 CMSY74 R/O 12 CYL ON DASD 1830 SUBCHANNEL = 001A DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011If you entered:
The status of the minidisks accessed and linked would be as shown in Figure 6 and Figure 7:VMLINK DITTO (POP RELEASEFigure 6. Example of minidisk Links After VMLINK (POP RELEASE Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT XX191 191 A R/W 10 3380 4096 256 913-61 587 1500 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 7. Example of DASD Links After VMLINK (POP RELEASE Q DASD DASD 0120 3380 CMSY74 R/O 12 CYL ON DASD 1830 SUBCHANNEL = 001A DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011Notice the 191 minidisk is the A-disk again as it was before VMLINK was entered, but the 120 minidisk is still linked because POP RELEASE was used. This will mean better performance for subsequent VMLINKs for this minidisk because the minidisk will only have to be accessed and not linked again.
- Multiple PUSH and POP Option Example
Figure 8 and Figure 9 show the status of minidisks and/or SFS directories accessed and linked before VMLINK is run:
Figure 8. Example of minidisk Links Before VMLINK Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT XX191 191 A R/W 10 3380 4096 256 913-61 587 1500 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 9. Example of DASD Links Before VMLINK Q DASD DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011VMLINK DITTO1 <* B> (PUSH VMLINK DITTO2 <* A> (PUSH VMLINK DITTO3 <* C> (PUSH- DITTO1 is linked as 120 and accessed at file mode B.
- DITTO2 is linked as 121 and accessed at file mode A.
- DITTO3 is linked as 122 and accessed at file mode C.
Figure 10 and Figure 11 show the status of minidisks accessed and linked and/or SFS directories accessed after VMLINK with PUSH option:Figure 10. Example of minidisk Links After VMLINK (PUSH Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT DITTO2 121 A R/O 12 3380 4096 40 1065-59 735 1800 DITTO1 120 B R/W 10 3380 4096 250 900-59 600 1500 DITTO3 122 C R/W 10 3380 4096 256 913-61 587 1500 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 11. Example of DASD Links After VMLINK (PUSH Q DASD DASD 0120 3380 USE800 R/W 10 CYL ON DASD 2200 SUBCHANNEL = 000A DASD 0121 3380 CMSY74 R/O 12 CYL ON DASD 1830 SUBCHANNEL = 001A DASD 0122 3380 USE800 R/W 10 CYL ON DASD 2400 SUBCHANNEL = 000A DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011If you entered:
The status of the minidisks accessed and linked would be as shown in Figure 12 and Figure 13:VMLINK DITTO2 (POPFigure 12. Example of minidisk Links After VMLINK (POP Q DISK LABEL VDEV M STAT CYL TYPE BLKSIZE FILES BLK USED-(%) BLK LEFT BLK TOT XX191 191 A R/W 10 3380 4096 256 913-61 587 1500 DITTO1 120 B R/W 10 3380 4096 250 900-59 600 1500 CMS21 190 S R/O 96 3390 4096 1037 15915-53 14085 30000 YDISK 19E Y/S R/O 300 3380 4096 1550 30312-67 14688 45000Figure 13. Example of DASD Links After VMLINK (POP Q DASD DASD 0120 3380 USE800 R/W 10 CYL ON DASD 2200 SUBCHANNEL = 000A DASD 0190 3390 RSE702 R/O 100 CYL ON DASD 1755 SUBCHANNEL = 000F DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 0191 3380 USE735 R/W 10 CYL ON DASD 183C SUBCHANNEL = 000A DASD 019E 3380 SYE7MC R/O 300 CYL ON DASD 183A SUBCHANNEL = 0011Notice that because POP was issued against DITTO2, which was the second name PUSHed, both DITTO2 and DITTO3 were restored to their previous state. Also notice the 191 minidisk is the A-disk again, as it was before VMLINK DITTO2 was entered.
- PUSH and POP Option Examples
- Simple Calls to VMLINK
The simplest call to VMLINK is to access one minidisk using the user_ID vdev disk operands.
VMLINK PRODUCTC 193 (NONAMESVMLINK will not search any NAMES files but will link and access the minidisk, using the next free virtual device number and file mode letter.
The simplest call to VMLINK via a nickname would look as follows:
VMLINK GDDMVMLINK searches the NAMES files for
:nick.gddmand accesses the minidisks and/or SFS directories, using the next free virtual device numbers and file mode letters.To detach the minidisks and/or SFS directories with the nickname GDDM®, enterVMLINK GDDM <DETACH>VMLINK searches the NAMES files for
:nick.gddmand releases and detaches the GDDM minidisks and releases the GDDM SFS directories.If you want just to release the minidisks and/or SFS directories, use RELEASE instead of DETACH:VMLINK GDDM <RELEASE> - Complex VMLINK Call
You can specify different linking details for different nicknames. The linking details apply only to the nickname immediately preceding them.
VMLINK GDDM SPF <DETACH> APL2 <* */A>VMLINK searches the NAMES file for the tags:nick.GDDM,:nick.SPF, and:nick.APL2, and then:- Links and accesses the GDDM minidisks and accesses the GDDM SFS directories using the default virtual device number, access mode, and link mode.
- Releases and detaches the SPF minidisks or releases the SPF SFS directories.
- Links the APL2® minidisks starting at the default virtual device number and accesses the minidisks and/or SFS directories starting at the default file mode letter, each as an extension of file mode A.
- VMLINK Minidisks by Name
When a minidisk is specified by name, rather than nickname, use the NONAMES option so VMLINK does not search any NAMES files:
releases the MAINT 195 minidisk.VMLINK MAINT 195 <RELEASE> (NONAMES - Option Examples
These examples apply to calls from the command line and from execs.
ADDFILE
searches MYNAMES NAMES A, TOOLS NAMES *, and then the rest of the NAMES files as specified in the control file.VMLINK MYDISK (ADDFILE(MYNAMES NAMES A TOOLS)ONLY
searches only MYNAMES NAMES A and TOOLS NAMES *.VMLINK MYDISK ( ONLY(MYNAMES NAMES A TOOLS)INVOKE
invokes two commands,VMLINK GDDM (KEEP INVOKE GLOBAL TXTLIB ADMGLIB ADMRLIB ; ADMCHARTGLOBAL TXTLIB ADMGLIB ADMRLIBandADMCHART, after linking and accessing minidisks and/or accessing SFS directories associated with GDDM.KEEP
The KEEP option causes VMLINK to leave the GDDM minidisk linked and accessed and/or the GDDM SFS directories accessed.
accesses the GDDM minidisks and/or SFS directories and copies ADMDEFS PROFILE from the first GDDM minidisk or directory (file mode .FM) to file mode A.VMLINK GDDM (INVOKE COPYFILE ADMDEFS PROFILE .FM1 = = A ( REPPARMS
Suppose there is this NAMES entry::nick.MYDISK :product.MAINT 200 .<* Q-Z> :invoke.MYEXEC .FM .PAIf the command:
links MAINT 200 at Q, then the INVOKE option executesVMLINK MYDISK (NOTYPE PARMS DOG CAT HAMSTERMYEXEC Q DOG CAT HAMSTER - VMLINK XEDIT Panel
XEDIT Environment
When you invoke the VMLINK command with no operands, VMLINK displays a list of nicknames.
The full power of XEDIT is available to you while you issue commands against the list of nicknames.
However, some XEDIT subcommands are inappropriate in this environment. Subcommands that alter the format or the contents of
user_ID VMLINK
(for example, SET TRUNC, SET FNAME, SET FTYPE, SET FMODE, or SET LINEND) may cause unpredictable results.Symbols Used in the Panel Fields
On the panel, the linking details specified in the NAMES file entry appear in theVdev,Fm,Ext, andLmfields. An equals sign indicates nothing is specified and the default value is being used.- Field
- Contents
- Vdev
- A virtual device number or the start of a range of virtual device numbers, as specified in the
nickname entry; an equals sign (=) indicates the default range is used; or
DIR
, indicates an SFS directory. - Fm
- A file mode letter as specified in the nickname entry; a percent sign (%) indicates a range; or an equals sign indicates the default range is used.
- Ext
- A file mode letter, as specified in the nickname entry, or a blank indicates nothing was specified.
- Lm
- A linking mode, as specified in the nickname entry, or a blank indicates nothing was specified.
Entering CMS commands from VMLINK
Begin CMS commands with
CMS
to prevent XEDIT from decoding the command. This prevents CMS commands from being mistaken as XEDIT subcommands.Saving a List of Nicknames
You can save a list of nicknames created by the VMLINK command simply by issuing FILE or SAVE from the command line. The default file name is your user ID and the default file type is VMLINK. The list replaces any
user_ID VMLINK
on your file mode AYou can also save a list of nicknames under a different file ID.
Issuing Commands From the List
On a full screen display, you can issue commands directly from the line on which a nickname is displayed. You do this by moving the cursor to the line that describes the nickname, and typing the command in the space provided to the left of the nickname.
If a command is longer than the command space provided on the screen, just continue typing over the information in the line. You may type over the entire line displayed, up to column 79. When you are finished typing the command, erase the rest of the line by pressing the ERASE EOF key, or space over the rest of the line. Then press Enter. You may also use the DELETE key to erase the rest of the line, but do not use it to erase only part of the rest of the line. For more information, see EXECUTE.
When you press Enter, all commands typed on one screen are executed, and the screen is restored to its previous state except the list is updated to reflect the current status of the nicknames.
You may want to enter commands from the VMLINK command line before executing commands typed on the list. To do this, move the cursor to the command line by using the PF12 key (instead of the Enter key). After typing a command on the command line and pressing Enter, you can use PF12 to move the cursor back to its previous position on the list.
You can use the special command EXECUTE from the VMLINK screen. The EXECUTE command allows you to issue commands that use the nicknames displayed by VMLINK.
Using Symbols as Part of a Command
Symbols can be used to represent operands in the command to be executed. They can be used in the commands typed on the screen, or as part of the command in EXECUTE (on the command line). Symbols are needed if the command to be executed has operands or options that follow the nickname.
These symbols can be used:- /
- specifies the nickname, <vdev, file mode, and link
mode>. Note: The <>'s shown above will be part of what is substituted in the command to be issued.
- /n
- specifies the nickname.
- /v
- specifies the vdev.
- /m
- specifies the file mode.
- /l
- specifies the link mode.
- /o
- specifies to execute the line as is, and omit appending anything.
Any combinations of symbols can be used. For example:- /n /v
- specifies the nickname followed by vdev.
- /nv
- specifies the nickname followed by vdev.
- /nvm
- specifies the nickname, vdev, and file mode.
- /vn
- specifies the vdev followed by the nickname.
- /nnm
- specifies the nickname followed by nickname and file mode.
Note: If the symbol ‘/’ appears in a command or in its operands, it must be issued from the command line, and not as part of an EXECUTE command.File Sharing Considerations
While you have your VMLINK menu displayed on the screen, other users may modify the NAMES files used by VMLINK. As these changes are saved or filed, some of the NAMES file tags on your screen may be out of date. When you issue a command against such an entry, you may receive a message:
If you do receive this message, clear the rest of the line following your command and press Enter.DMS654E Invalid symbol symbol; {/0 must be specified alone│ invalid character char following / symbol} [RC=24]Note: Always clearing the line following your command will prevent this message from ever occurring.Special Symbols Used Alone
The following special symbols can be typed alone on the lines of the VMLINK display. They have the following meanings:- =
- means execute the previous command for this nickname. Commands are executed starting at the top of the screen. For example, suppose you enter the VMLINK command on the top line. You can then type an equal sign on any other lines. Those nicknames preceded by equal signs are linked when the EXECUTE command is entered from the command line or by the ENTER key).
- ?
- means display the last command executed. The command is displayed on the line in which the ? is entered.
- /
- means make this line the current line. (On the VMLINK screen, the current line is the first nickname on the screen.)
- L
- means link and access the minidisks and/or access the SFS directories for this nickname entry. It will not process an :invoke tag. If no minidisks are eligible for linking, or no SFS directories are eligible for accessing, a message will be produced.
- I
- means link and access the minidisks and/or access the SFS directories for this nickname entry. It will process an :invoke tag if one is present. If there is no :invoke tag, the minidisks will will remain linked and/or the SFS directories will remain accessed. If no minidisks are eligible for linking, and/or no SFS directories are eligible for accessing, a message will be produced.
- D
- means release and detach the minidisks and/or release the SFS directories for this nickname entry.
- A
- means link and access the minidisks and/or access the SFS directories for this nickname entry and establish an autolink entry in the LASTING GLOBALV file.
- R
- means remove an autolink request for this nickname entry.
Default Key Settings
When you enter the VMLINK command with no operands, VMLINK executes the PROFVMLK XEDIT macro, unless you specify a different macro as an option in the VMLINK command. Table 2 and Table 3 show the values to which the keys are set by PROFVMLK XEDIT.VMLINK Panel Interface Example
Figure 14 is an example of a VMLINK panel when system support has many products installed. The panel was obtained by entering the VMLINK command with no options specified.Figure 14. VMLINK Panel Interface MYUSERID VMLINK A0 V 260 Trunc=260 Size=188 Line=56 Col=1 Alt=0 Cmd Nickname Vdev Fm Ext Lm Category Description CDSDSK +200 * / ALL CDS Shadow disk CFSEARCH +200 P / ALL Contextual File Search CLIB200 = = / OFFICE ECFORMS Processing Code Disk CLIB300 = = / OFFICE ECFORMS Forms Design Code Disk CLIB400 = = / OFFICE ECFORMS Forms Admin. Code Disk COBOL2 = = / ALL Cobol II COLIS +300 * / ALL Colis, PHONE, CALLUP disk CORPDIR = = / OFFICE Corporate Directives CSP191 +291 E / A ALL A-disk CSP193 +293 B / ALL B-disk CSP195 +295 M / ALL M-disk CSP502 +202 C / ALL VSAM C-disk CSP503 +203 D / ALL VSAM D-disk DEVGUIDE +203 * / ALL I/S Development Guide DEVSQL +222 Q / ALL SQL for IMF development DFSORT = = / ALL DFSORT DMS +200 * / ALL DMS 1= Help 2= Refresh 3= Quit 4= Sort(name) 5= Link 6= Alt PF 7= Backward 8= Forward 9= Category 10= Detach 11= Filelist 12= Cursor ====> X E D I T 1 FileThe VMLINK panel menu is self-explanatory. Some functions are available on the PF Keys, as shown in Table 2:Table 2. Set 1 PF Keys Assigned by PROFVMLK XEDIT Key Setting Action Enter Execute Execute commands typed on file lines or on the command line. PF1 Help Display VMLINK command description. PF2 Refresh Update the list to indicate new or changed nickname entries, using the same parameters as those specified when VMLINK was invoked. PF3 Quit Exit from VMLINK. PF4 Sort (name) Sort by nickname. PF5 Link Link and access the minidisks using the vdev and mode specified on the menu, and/or access the SFS directories using the mode specified on the menu; if none specified, the defaults will be used. PF6 Alt PF Toggle to PF key set 2. PF7 Backward Scroll back one screen. PF8 Forward Scroll forward one screen. PF9 Category Displays an XEDIT panel of category names. PF10 Detach Detach the minidisks from your virtual machine and/or release the SFS directories defined by the selected nickname. PF11 Filelist Links and accesses the minidisks and/or accesses the SFS directories defined by the selected nickname and issues the Filelist command for all the files on the first minidisk or SFS directory. The minidisks and/or SFS directories will be restored when exiting Filelist. PF12 Cursor If the cursor is in the file area, move it to the command line. If the cursor is on the command line, move it back to its previous location in the file (or to the current line). Note: PF keys 13 to 24 are assigned the same values as PF keys 1 to 12.PF6 toggles to an alternate set of PF keys (PF key set 2). Figure 15 shows the alternate set of PF keys.Figure 15. VMLINK Panel Interface - PF Key Set 2 DEVSQL +222 Q / ALL SQL for IMF development DFSORT = = / ALL DFSORT DMS +200 * / ALL DMS 1= Help 2= Refresh 3= Quit 4= Sort(desc) 5= Sort(cat) 6= Alt PF 7= Backward 8= Forward 9= Autolink 10= Remove/A 11= Filelist 12= CursorThese alternate PF keys are defined in Table 3:Table 3. Set 2 PF Keys Assigned by PROFVMLK XEDIT Key Setting Action Enter Execute Execute commands typed on file lines or on the command line. PF1 Help Display VMLINK command description. PF2 Refresh Update the list to indicate new or changed nickname entries, using the same parameters as those specified when VMLINK was invoked. PF3 Quit Exit from VMLINK. PF4 Sort (desc) Sort by description. PF5 Sort (cat) Sort by category. PF6 Alt PF Toggle to PF key set 1. PF7 Backward Scroll back one screen. PF8 Forward Scroll forward one screen. PF9 Autolink Establish an autolink for the minidisks and/or SFS directories defined by the selected nickname. The autolink is saved in the LASTING GLOBALV file. PF10 Remove/A Remove an autolink for the minidisks and/or SFS directories defined by the selected nickname. PF11 Filelist Links and accesses the minidisks and/or accesses the SFS directories defined by the selected nickname and issues the FILELIST command for all the files on the first minidisk or SFS directories. The minidisks and/or SFS directories will be restored when exiting FILELIST. PF12 Cursor If the cursor is in the file area, move it to the command line. If the cursor is on the command line, move it back to its previous location in the file (or to the current line). Note: PF keys 13 to 24 are assigned the same values as PF keys 1 to 12.In addition to setting the above PF keys, the PROFVMLK XEDIT macro sets synonyms you can use to sort your VMLINK nicknames. The synonyms are:- SCAT
- Sorts the list alphabetically by category name.
- SDESC
- Sorts the list alphabetically by description.
- SLMOD
- Sorts the list in descending order by link mode.
- SMODE
- Sorts the list in descending order by access mode.
- SNAME
- Sorts the list alphabetically by nickname.
- SVDEV
- Sorts the list in descending order by hexadecimal virtual device number.
Default Key Settings for Category Panel
Pressing PF9 from the VMLINK panel takes you to the Category panel. The function keys are set by the PROFCLST XEDIT macro, as shown in Table 4.The PF9 key (as shown in Figure 14), displays a panel interface called the category panel. Figure 16 has been configured for only two categories for the products: ALL and OFFICE. Additional category names can also be used, such as GRAPHICS, NEWS, TOOLS, and FORUMS.Figure 16. Category VMLINK Panel Interface MYUSERID CATLIST A0 V 80 Trunc=80 Size=1 Line=1 Col=1 Alt=0 Category Name ALL OFFICE1= Help 2= Refresh 3= Quit 4= 5= 6= 7= Backward 8= Forward 9= 10= 11= VMLINK 12= CursorThe category display has a new set of PF keys that are defined in Table 4:Table 4. Default Key Settings in Category Panel Key Setting Action PF1 Help Display VMLINK command description. PF2 Refresh Update the list to indicate new or changed nickname entries, using the same parameters as those specified when the category panel was entered. PF3 Quit Exit from the category panel. PF4 Not assigned. PF5 Not assigned. PF6 Not assigned. PF7 Backward Scroll back one screen. PF8 Forward Scroll forward one screen. PF9 Not assigned. PF10 Not assigned. PF11 VMLINK Issues a VMLINK for the selected category name. PF12 Cursor If the cursor is in the file area, move it to the command line. If the cursor is on the command line, move it back to its previous location in the file (or to the current line). Note: PF keys 13 to 24 are assigned the same values as PF keys 1 to 12.
Messages and Return Codes
- DMS002E File fn ft fm not found [RC=28]
- DMS029E Invalid parameter parameter in the option option field [RC=24]
- DMS066E option1 and option2 are conflicting options [RC=24]
- DMS069E Directory dirname not accessed [RC=36]
- DMS072E Error in EXEC file fn line n - message [RC=99]
- DMS104S Error nn reading file fn ft fm from disk or directory [RC=rc]
- DMS389E Invalid operandtype: operand [RC=24]
- DMS394E Invalid option: option [RC=24]
- DMS637E Missing value for the option option [RC=24]
- DMS651E APPEND must be issued from VMLINK [RC=40]
- DMS739W No autolinks are set
- DMS926E Command is only valid on a display terminal [RC=88]
- DMS1227E No {file mode | virtual device address} is available to {access | link} {nickname minidisk | directory} [RC=40]
- DMS1233E Invalid use of option option [RC=24]
- DMS2059E USERID VDEV must be specified with the NONAMES option [RC=24]
- DMS2059E .DIR DIRNAME must be specified with the NONAMES option [RC=24]
- DMS2060I {nickname|user ID vdev|directory_name} {linked|accessed} [vdev|link_mode] as [vdev|link_mode] filemode fm [RC=0]
- DMS2061I description [detached | released] [RC=0]
- DMS2062I NAMEFIND search results for file: fn ft fm for nickname: nickname [RC=0]
- DMS2064I Autolink [status updated|removed] for nickname [RC=0]
- DMS2064W Autolink not found for nickname [RC=4]
- DMS2064E Autolink update failed RC=rc for nickname [RC=rc]
- DMS2065E Minidisk virtual address vdev already defined [RC=40]
- DMS2066E [Virtual address | Link mode lm] is not valid [RC=24]
- DMS2067E Unknown [ disk nickname (nickname) | USER ID (user ID) | category (category) ] [RC=32]
- DMS2068E Disk nickname (nickname) not valid on this node id [RC=32]
- DMS2069E No NAMES file(s) found to search for nickname (nickname) [RC=28]
- DMS2070E POP data not available [RC=40]
- DMS2071E The MODE0 option cannot be used because the ACCESSM0 command is not available [RC=40]
- DMS2072E No nickname was specified with the QUERY option [RC=24]
- DMS2073W Warning: Duplicate autolink filemode: fm
- DMS2074W Warning: Disk nickname will be released
- DMS2075W Disk is still accessed {R/W | R/O}. Use the {READ | WRITE} option to {detach | release} [RC=4]
- DMS2076W There was no {R/O | R/W} {disk | directory} to {detach | release} [RC=4]
- DMS2077E FILELIST not done. No disk was accessed or first disk was released [RC=32]
- DMS2884E Unexpected return code rc {on command command | from exit exit} [RC=rc]
- DMS2923E Missing right parenthesis [RC=24]
- RC
- Meaning
- 1xxx
- CP LINK returned RC = xxx.
- -1xxx
- CP LINK returned RC = -xxx.
- 2xxx
- CMS ACCESS or RELEASE returned RC = xxx.
- -2xxx
- CMS ACCESS or RELEASE returned RC = -xxx.
- 3xxx
- A routine on an INVOKE, EXIT, or PREEXIT option or an :INVOKE, :EXIT, or :PREEXIT tag returned RC = xxx.
- -3xxx
- A routine on an INVOKE, EXIT, or PREEXIT option or on an :INVOKE, :EXIT, or :PREEXIT tag returned RC = -xxx.
Additional system messages may be issued by this command. The reasons for these messages and their location are:
| Reason | Location |
|---|---|
| Errors in command syntax | Command Syntax Error Messages |
| Errors in the Shared File System | File Pool Server Messages |
