A dialog header object is an sm_cmd_hdr object. A dialog header object is required for each dialog, and points to the dialog command option objects associated with the dialog.
Note: When coding an object in this object class, set unused empty strings to "" (double-quotation marks) and unused integer fields to 0.
The descriptors for the
sm_cmd_hdr object class are:
|The ID or name of the object. The value of id is a string with a maximum length of 64 characters. The id field can be used as a fast path ID unless there is a selector associated with the dialog. IDs should be unique to your application and unique within your system.
|The id of the sm_cmd_opt objects (the dialog fields) to which this header refers. The value of option_id is a string with a maximum length of 64 characters.
|Specifies whether this screen must be preceded by a selector screen or a menu screen. Valid values are:
|The text displayed as the title of the dialog screen. The value of name is a string with a maximum length of 1024 characters. The text describes the task performed by the dialog. The string can be formatted with embedded \n (newline) characters.
|The file name (not the full path name) that is the Message Facility catalog for the string, name. The value of name_msg_file is a string with a maximum length of 1024 characters. Message catalogs required by an application program can be developed with the Message Facility.
|The Message Facility set ID for the string, name. Set IDs can be used to indicate subsets of a single catalog. The value of name_msg_set is an integer.
|The Message Facility ID for the string, name. Message IDs can be created by the message extractor tools owned by the Message Facility. The value of name_msg_id is an integer.
|The initial part of the command string, which can be the command or the command and any fixed options that execute the task of the dialog. Other options are automatically appended through user interaction with the command option objects (sm_cmd_opt) associated with the dialog screen. The value of cmd_to_exec is a string with a maximum length of 1024 characters.
|Defines whether or not the user is prompted to reconsider the choice to
execute the task. Valid values are:
|Defines the handling of standard input, standard output, and the
stderr file during task execution. The value of
exec_mode is a string. Valid values are:
|Indicates if the normally displayed dialog should not be shown.
The value of ghost is a string. Valid values are:
|The command string used to discover the default or current values of the object being manipulated. The value of cmd_to_discover is a string with a maximum length of 1024 characters. The command is executed before the dialog is displayed, and its output is retrieved. Output of the command must be in colon format.
|The postfix to interpret and add to the command string in the cmd_to_discover field. The value of cmd_to_discover_postfix is a string with a maximum length of 1024 characters.
|Specifies a Message Facility message set number and message ID number with a comma as the separator or a numeric string equal to a SMIT identifier tag.
|The file name sent as a parameter to the man command for retrieval of help text, or the file name of a file containing help text. The value of help_msg_loc is a string with a maximum length of 1024 characters.
|The fully qualified path name of a library that SMIT reads for the file names associated with the correct book.
|Contains the string with the value of the name file contained in the file library indicated by help_msg_base.
For information on retrieving SMIT help using the help_msg_id, help_msg_loc, help_msg_base, and help_msg_book fields, see Man Pages Method, Softcopy Libraries Method, and Message Catalog Method located in Creating SMIT Help Information for a New Task .
The smit command.