Can the report header fields be automatically cleared within RC/Query
search cancel

Can the report header fields be automatically cleared within RC/Query

book

Article ID: 216189

calendar_today

Updated On:

Products

RC/Query for DB2 for z/OS

Issue/Introduction

In RC/Query for Db2 for z/OS (RCQ) when doing any type of report, the header fields are populated
depending on the information requested. Is there a way to easily clear out these fields to get ready
for the next report?

RQM    20.0   ---------------- RC/Q Main Menu --------------- 2021/05/28
COMMAND ===>                                                             
                                                                         
 DB2 Object ===> T                       Option  ===> l    Where => N    
  Item Name ===> syst%                 > Creator ===> user1              
  Qualifier ===> *                             > Grantor ===> * 

Resolution

The RC/Query report header fields can be cleared by typing 'RESHDR' or 'RESHDR ALL' on the command line.

Below is the Help panel information for the command:

DESCRIPTION : The "RESHDR" command will  reset the header fields          
                           currently listed on the selection panel.                    
                           The RESHDR command is useful when you have to clear all the 
                           128 bytes in the header fields. The RESHDR command also have
                           other functionalities based on the suffixing word.          
                                                                          
                          Commands to use:                                            
                          RESHDR        -  Clears the object name field alone.           
                          RESHDR ALL -  Clears all the header fields.                 
                          RESHDR  <any other value> - works as 'RESHDR' ignoring       
                                            other characters.

Additional Information

Generate Reports