Can you delete a program listing from PROTSYM file repository without running IN25UTIL batch utility program?

Document ID : KB000050948
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Yes. With CA SymDump Batch or CA Optimizer/II you can delete a program listing from the PROTSYM file repository using the repository viewer or the batch utility program IN25UTIL. The repository viewer SYM command allows you to manage PROTSYM members.

Solution:

The steps below outline how to use the CA SymDump Batch or CA Optimizer/II SYM command to delete a program listing from the PROTSYM file repository. After starting repository viewer enter the SYM command in the command line and press the enter key.

 CA-Optimizer/II   r8.5          - Report Index -------------------- Line 1 of 2
 Command ===> SYM                                               Scroll ===> CSR
 -------------------------------------------------------------------------------

When the pop up window below appears select option 1 and enter the PROTSYM file name in question and press the enter key.

+--------------------------------------------------------+
|  Select a Symbolic Utility ===> 1                      |
|                                                        |
|   1. List the contents of a symbolic file              |
|   2. Add listings to a PROTSYM file                    |
|   3. List globally defined symbolic files              |
|   4. Add or Remove supplemental symbolic files         |
|   5. Dynamic Symbolic Support for CA Endevor SCM       |
|                                                        |
|  Symbolic File Dsname:                                 |                                                                               |
|  ==> HLQ.PROTSYM'                                      |
+--------------------------------------------------------+

A list of programs contained in the PROTSYM file will be displayed.

 CA-Optimizer/II   r8.5          - PROTSYM Directory -------------- Line 1 of 13
 Command ===>                                                   Scroll ===> CSR
 -------------------------------------------------------------------------------
 PROTSYM Dsname: AD1L1.IB85.PROTSYM
 ------------------------------------------------------------------------- Lvl 2
 Cmd    Program    Date            Time     Size    Language       Attributes
  .    CALLEDPG   2009/12/16   10.03.15      39     COBOL Z/OS
  .    CAMRASM    2010/04/14   09.01.00      54     HLASM
  .    CAMRCOBB   2009/06/08   14.03.51      84     COBOL Z/OS
  .    CAMRCOB2   2010/07/08   13.05.01     145                     NO-PURGE
  .    CAMRPLI    2009/11/17   11.01.28     169     PL/I  Z/OS
  .    CAO2DB2    2010/09/02   09.20.03     197     COBOL Z/OS
  .    CHGDBAH    2010/05/24   15.11.50      21     COBOL Z/OS
  .    COBCOMP4   2010/08/16   10.53.41      16                     NO-PURGE
  .    COBDATE    2009/08/06   13.05.16      21     COBOL Z/OS
  .    DBXXXX     2010/07/12   16.52.51     239     PL/I  Z/OS
  .    IB33000    2010/07/08   12.57.15     125     COBOL Z/OS      NO-PURGE
  .    TWODIM     2009/10/26   10.53.30      32     COBOL Z/OS
  .    UTSTPRT1        (PROGRAM IS IN UPDATE MODE)
 -------------------------------------------------------------------------------

You then enter the D line command next to the program listing you want to delete and press the enter key.

  .   IB33000      2010/07/08   12.57.15     125   COBOL Z/OS     NO-PURGE
  .   TWODIM       2009/10/26   10.53.30      32    COBOL Z/OS
  d   UTSTPRT1        (PROGRAM IS IN UPDATE MODE)
 -------------------------------------------------------------------------------

The D line command requires a confirmation. Press enter to confirm the delete.

 CA-Optimizer/II   r8.5          - PROTSYM Directory -------------- Line 1 of 13
 Command ===>                                                   Scroll ===> CSR
 -------------------------------------------------------------------------------
 PROTSYM  +------------------------------------------------------+
 ---------- |                                                    | ----- Lvl 2
 Cmd  Progr | Press ENTER to confirm delete for member UTSTPRT1  | butes
  .   CALLE | or END to cancel the delete request.               |
  .   CAMRA |                                                    |
  .   CAMRC | Display this message? (Y/N) ===> Y                 |
  .   CAMRC |                                                    | RGE
  .   CAMRP +----------------------------------------------------+

If this is the first time you are deleting a program from the PROTSYM file repository you will be prompted to enter a password. The default password is 12345678.