Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
Creating Help Panels z/OS V1R7.0-V1R12.0 MVS Device Validation Support SA22-7586-01 |
|
For each help panel that HCD can display, HCD requires one help member. Therefore, to create a help panel, you must create a help member. Copy the CBDZHELP macro, which contains the help generation macros, then use the help generation macros to create a help member. Each help member contains both text and supporting code for one help panel. When someone requests help, HCD retrieves the appropriate help member, then displays the text for that help panel. A help member consists of:
The CBDZHELP macro contains the following help generation macros:
These help generation macros are described in HDR Macro, RP Macro, and TXT Macro. Figure 6 shows example help generation macros that would create help member CBDED15. Figure 7 shows an example of a message help panel. You must assemble and link-edit each help member. For assembly, as shown in Figure 6, you must:
Figure 6. Example Help Generation Macros
PRINT OFF Suppress listing of HCD help generation macros COPY CBDZHELP Include HCD help generation macros PRINT ON,NOGEN Do not list macro expansion * HDR NAME=CBDED15,TITLE='HCD help member CBDED15',WIDTH=53, * DESC='X.X.X COPYRIGHT INFO', * HIGHLI=YES * RP PHRASE='MVS',HELP=CBDEDXX * TXT 'Number of Devices' TXT ' ' TXT 'Specify a decimal value from 1 to 8, or omit. If you do' TXT 'not specify a value for number of devices,<MVS>uses a' TXT 'default value of 2.' TXT ' ' TXT 'The value you specify determines how many device numbers' TXT 'MVS assigns. (It always assigns a minimum of eight.) MVS' TXT 'first assigns the device number you specify and then uses' TXT 'that number as a base to calculate the additional device' TXT 'numbers that it assigns.' TXT '-end-' END Figure 7. Example of Message Help Panel
PRINT OFF COPY CBDZHELP PRINT ON * HDR NAME=CBDEG07,TITLE='Help panel for CBDEG07',WIDTH=60 * TXT ' ' TXT ' CBDB027I NUMSECT value must be in the range of 0 to @1. ' TXT ' ' TXT ' ' TXT ' Explanation: ' TXT ' The number of 256-byte buffer sections in the control ' TXT ' unit is out of valid range. ' TXT ' ' TXT ' System Action: ' TXT ' The system waits for user response. ' TXT ' ' TXT ' User Response: ' TXT ' Correct the NUMSECT parameter. ' END Note:
@1 is related to the VARn variable of messages, see CBDIMSG Executable Macro.
|
Copyright IBM Corporation 1990, 2014
|