Getting HELP on Commands

Start of changeHELP command files contain information about any function that is invoked by specifying a name, such as a command, a subcommand, a macro, a statement, or a routine. Menus help you access the right HELP files, and information layers provide different kinds of information from within a file.End of change

Start of changeFor more information about the information layers and sublayers that are in HELP command files, see Information Layers. For more information about menu files, see HELP Menus. End of change

Information Layers

HELP command files have layers of information so that you can get an appropriate level of information for your task. By using HELP command options, you can specify three layers of information: BRIEF, DETAIL, or RELATED

The HELP facility displays only one layering option at a time. If you specify more than one layering option on the HELP command, the HELP facility uses only the last layering option on the command line. You can toggle (switch) between the other layers available for that command. For more information on how to toggle between layers of HELP, see Toggling.

BRIEF is the default option. If you do not specify a layering option and if the brief information layer exists, the brief information layer of HELP is displayed. If the brief information layer is not available for a command, the detail layer is displayed. The following sections provide more information on the three layers of command HELP.

Note: Start of changeFor information about the syntax, operands, and options of the HELP command, see HELP.

For information about how to create or modify the brief, detail, or related information sections of HELP files, see Tailoring the HELP Facility.

End of change

Brief HELP

The brief information layer might display a short description of the requested command, its basic syntax (command without options), an example, and, if applicable, a message telling you that either more or related information is available.

Note: Start of changeThe HELP facility displays the brief information layer for HELP files that contain a section of brief information. However, z/VM® HELP files do not contain a section of brief information. If you customize the z/VM HELP files, you can add a brief information section.End of change

If you are in full-screen CMS and request HELP with the BRIEF option, your screen shows the HELP command that you entered and just below it, displays the brief information layer in a window that is displayed on your screen. If you are not in full-screen CMS, your entire screen displays the brief information layer. For more information about full-screen CMS, see Introducing Full-Screen CMS.

Detail HELP

The detail layer of z/VM HELP files contains a description of the command, the command format, an explanation of its parameters and options, usage notes, and error information. The detail layer provides information that is similar to the commands reference information that is in z/VM: CMS Commands and Utilities Reference.

Subsetting Options

The detail layer of information can contain several sublayers. The subsetting options of the HELP command specify which sublayers are displayed. The HELP facility can display several sublayers at a time. The following subsetting options are valid: DESCRIPT, FORMAT, PARMS, OPTIONS, NOTES, ERRORS, and ALL. ALL is the default option, and displays all sublayers that are available for the specified command. z/VM HELP files typically contain all sublayers.
Note: It is possible to change the default options. For more information, see DEFAULTS command.
For example, to display all sublayers of the DETAIL layer of the SENDFILE command in the CMS environment, enter the following HELP command:
help cms sendfile (detail
Start of changeTo display only the NOTES sublayer of the SENDFILE command, enter the following HELP command: End of change
help cms sendfile (notes
Start of changez/VM HELP files often contain usage notes in the sublayer that is specified by the NOTES option.End of change
The HELP facility displays usage notes that are similar to the following screen example.
Figure 1. Sample of DETAIL HELP for the SENDFILE Command
  CMS SENDFILE       Detail Help Information        line  1 of  281
Usage Notes
 
1.  Tailoring the SENDFILE Command Options
 
    You can use the DEFAULTS command to set up options and override
    command defaults for SENDFILE.  However, the options you specify
    in the command line when entering the SENDFILE command override
    those specified in the DEFAULTS command.  This allows you to
    customize the defaults of the SENDFILE command, yet override them
    when you desire.  For more information, see the DEFAULTS command.
     
2.  Using the SENDFILE Menu (Display Terminals Only)
 
    Enter the SENDFILE command without operands to display a menu, on
    which you "fill in the blanks" with the necessary information.  A
    sample SENDFILE menu is shown in the Examples, below.
 
 
 PF1= All      2= Top      3= Quit     4= Return     5= Clocate   6= ?
 PF7= Backward 8= Forward  9= PFkeys  10=           11= Related  12= Cursor
 
====> _
                                                            Macro-read 1 File

Getting HELP on SET and QUERY

The HELP Facility provides a special feature that lets you quickly access HELP on specific SET or QUERY options in CP, CMS, or XEDIT. If you know the component name (CP, CMS, or XEDIT) and the name of the option, you can immediately display the HELP information.

Reserved file types in the HELP Facility let you access specific HELP files. To access HELP information for any CMS SET option, enter enter HELP, followed by the component name, CMSSET, and the option name. For example, to get HELP on the CMS command SET RDYMSG, enter the following command:
help cmsset rdymsg
This command displays the HELP file for the CMS SET RDYMSG command.

To request HELP for a CMS QUERY option, enter HELP, followed by the component name, CMSQUERY, and the option name.

The same is true for CP SET and QUERY options. To get HELP on a CP SET option, enter HELP, followed by CPSET, and the option name. For HELP on a CP QUERY option, enter HELP, CPQUERY, and the option name.

Start of changeTo request HELP for XEDIT SET and QUERY options, you can enter HELP, followed by SET or QUERY, and the name of the option. For example, to get HELP on the XEDIT command SET TRANSLATE, enter the following command:
help set translate
Even though there is also a CMS command SET TRANSLATE, the HELP facility displays HELP information on the XEDIT SET TRANSLATE command. Enter the following command:
help cmsset translate
to request information on the CMS SET TRANSLATE command.End of change
To display a HELP panel that directs you to the menus for the QUERY and SET options in CP, CMS, and XEDIT, enter the following command:
help queryset tasks

For more information on HELP for SET and QUERY options, see z/VM: CMS Commands and Utilities Reference.