Removing a subpanel

You can customize a workspace to remove a workspace subpanel that is not of interest to you.

Before you begin

Complete workspace customization preparation. For more information preparation steps, see Customizing a workspace.

About this task

For more information about subpanel start and end statements, see Number and order of workspace subpanels. The following procedure details the removal of a subpanel from a workspace.

Procedure

  1. Use the ISPF file editor session to locate the second <SUBPANEL> workspace definition statement.
    For example, in the KOBSITEC workspace, scroll to the SUBPANEL 2 heading to find the second <SUBPANEL> statement:
                                                       
     000102                                                                        
     000103 /********************************************************************/ 
     000104 /**                                                                 */ 
     000105 /**           SUBPANEL 2 - Message Log                              */ 
     000106 /**                                                                 */ 
     000107 /********************************************************************/ 
     000108                                                                        
     000109 <SUBPANEL>
     000110 TYPE=SUMMARY                       
     000111 HEADER='Situation Alerts History'  
     000112 TOFROMHEADER=Y                     
     000113 SCROLLBAR=Y
  2. Add a <WORKSPACEEND> tag statement before the <SUBPANEL> tag statement.
    The <WORKSPACEEND> tag statement signifies the end of the workspace eliminating the following <SUBPANEL> definition:
    000102                                                                        
     000103 /********************************************************************/ 
     000104 /**                                                                 */ 
     000105 /**           SUBPANEL 2 - Message Log                              */ 
     000106 /**                                                                 */ 
     000107 /********************************************************************/ 
     000108 <WORKSPACEEND>                                                                      
     000109 <SUBPANEL>
     000110 TYPE=SUMMARY                       
     000111 HEADER='Situation Alerts History'  
     000112 TOFROMHEADER=Y                     
     000113 SCROLLBAR=Y
  3. Use the ISPF file editor session to save your workspace source changes.
  4. Press PF3 (End) in your enhanced 3270 user interface session to close the workspace source view.
    As the PF3 (End) action is processed, a refreshed view of the modified workspace is displayed, that is, the KOBSITEC workspace in this example:
    Figure 1. Customized workspace view that shows the second subpanel removed from the (KOBSITEC) workspace

    Customized workspace view that shows the (KOBSITEC) workspace with the second panel removed.
    Tip: The KOBSITEC workspace is refreshed following a PF3 (End) action. A different workspace might not be refreshed following a PF3 (End) action. If a refresh does not occur, you can exit and reenter the modified workspace to see your changes.