CA View - How can I display the "Last Accessed Date" on the Sysout Selection List panel?
search cancel

CA View - How can I display the "Last Accessed Date" on the Sysout Selection List panel?

book

Article ID: 27373

calendar_today

Updated On:

Products

Output Management Document Viewer Deliver View Output Management Web Viewer

Issue/Introduction

 

I want to modify the Sysout Selection List panel to display the "Last Accessed Date" instead of the "Print Date"


Environment

Release:
Component: VIEW

Resolution

1. From the Sysout Selection list panel, scroll to the right until you see the header "Print Date".
2.Type HELP PANEL  on the command line. Make a note of Panel Name displayed on the top right of the screen.  On my system it is SARP2A7. 
3. Exit CA View and go into the HLQ.CVDEPENU library. Make a copy of the Panel you intend to modify. In this case SARP2A7.
4.Go into the member and make the following substitutions:
           !LastAccess for !Print Date
           _FACCDAT FOR _FPRTDATE
          @ACCDATE for @PRTDAT
           &VARS = '(FRDRTIME FACCTIME SELECT RDRTIME ACCTIME)' for &VARS = '(FRDRTIME FPRTTIME SELECT RDRTIME PRTTIME)'

Save the changed panel.
5. Run an SARDBASE OLOAD selecting the panel you just changed.
    //SYSIN    DD  *
    OLOAD SARP2A7

The changes will be the same for any of the panels where Print Date is displayed and you want to change to Last Accessed date. 

Additional Information

Please note that if you are using short panels the Print Time will be on panel SARS2A4. 
Different panels are used depending on the setting on the User Definition Panel for short or long panels (the default). There are also different panels dependent on Mode.
Here is a list of Panels that display the Print Time. 

SARS2A4, SARS2X4, SARS2S4, SARP2A7, SARP2S7,SARP2J4, SARP2X8.