Table of Contents

SHOW

Table Of Contents

Source Code

SHOW.txt
ASCII
*NOSEQ
*WIDTH 132
.PROC,SHOW*I,
P'PRIMARY PANEL NAME'=(*F),
O'OPTIONAL (OVERLAY) PANEL'=(*N=,*F).
.HELP,,NOLIST

          SHOW DISPLAYS PREDEFINED SCREEN FORMATTING PANELS ON
          THE SCREEN FOR EXAMINATION TO TEST PANEL DEFINITIONS
          WITHOUT HAVING TO WRITE A PROGRAM TO DISPLAY THEM.

          A PANEL TO BE SHOWN MUST BE A PDU (PANEL DEFINITION
          UTILITY) COMPILED PANEL THAT RESIDES ON LOCAL LIBRARY
          FILE PANELIB OR IN A GLOBAL LIBRARY SET.

          THE FIRST PARAMETER IS THE NAME OF A PRIMARY PANEL.

          THE SECOND PARAMETER IS THE (OPTIONAL) SECOND PANEL
          WHICH MAY BE ANOTHER PRIMARY OR AN OVERLAY PANEL.
.HELP,P,NOLIST

        E^N^T^E^R ^T^H^E ^N^A^M^E ^O^F ^A PDU (PANEL DEFINITION UTILITY) ^D^E^F^I^N^E^D ^P^A^N^E^L ^T^H^A^T
  ^E^X^I^S^T^S ^I^N ^A ^L^O^C^A^L ^L^I^B^R^A^R^Y ^F^I^L^E ^C^A^L^L^E^D PANELIB ^O^R ^I^N ^Y^O^U^R ^G^L^O^B^A^L ^L^I^B^R^A^R^Y ^S^E^T,
  ^A^N^D ^H^A^S ^B^E^E^N ^D^E^F^I^N^E^D ^A^S ^A PRIMARY (^N^O^T ^A^N OVERLAY) ^P^A^N^E^L.

        I^F ^Y^O^U^R ^T^E^R^M^I^N^A^L ^S^U^P^P^O^R^T^S ^S^C^R^E^E^N ^M^O^D^E (^Y^O^U ^H^A^V^E ^D^O^N^E ^A SCREEN,MODEL_
  NAME ^C^O^M^M^A^N^D, ^W^H^E^R^E MODEL_NAME ^I^S ^T^H^E ^N^A^M^E ^O^F ^Y^O^U^R ^T^E^R^M^I^N^A^L ^A^S ^D^E^F^I^N^E^D ^T^O
  ^T^H^E ^S^Y^S^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