How to change MainView for CICS CMRDETL transaction history recording from Dataspace to VSAM dynamically.

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MainView for CICS


    APPLIES TO:

    MainView for CICS



    QUESTION:

    MainView for CICS - all supported releases

    We have been using DSPACE for our CMRDETL recording until recently, but now we would like to use VSAM instead, because the dataspace doesn't give us enough history (in our environment).
    We therefore allocated CMRDETL VSAM datasets for some CICS regions and would like to switch them on dynamically using in CREGAGT.
    But it seems that the DOF and DON commands only work once the CMRDETL VSAM has been allocated by the MVCICS PAS.
    Also a TRM and INI of the Agent in the CICS region didn't bring about the change from DSPACE to VSAM, but a restart of the MVCICS PAS did the trick.

    So, what is the easiest method beside recycling the MVCICS PAS to switch from DSPACE to VSAM dynamically?

     


    ANSWER:

     

    Legacy ID:KA418647

      

    The commands DON/DOF should not be used, as they only apply to recording to VSAM files, but it is possible to switch dynamically between DSPACE and VSAM for CMRDETL recording, using the procedure outlined below.

    17.13.49 S0107775 FT263I DETAIL TRANSACTION RECORDER DATASPACE FOR CICSMV51 IS CREATED BC65
    17.16.38 S0107775 IGD104I BMC.MV.NOV2013.S0A1.UBBPARM RETAINED, DDNAME=SYS00008
    17.16.56 S0107775 FT263I DETAIL TRANSACTION RECORDER DATASPACE FOR CICSMV51 IS DELETED BC65
    17.17.00 S0107775 FT221I CONTINUING CICSMV51 SYS00010 CSG.CICSMV51.CMRDETL2 BC65

      

    Here is the procedure to use:

      
       
    1. Pre-allocate the VSAM files to be used
    2.  
    3. On the CMRDETL admin view, issue the CHAnge line command against the CMRDETL entry for the region
    4.  
    5. Change DSPACE to NO from YES and issue the SAVE command
    6.  
    7. On CREGAGT, issue line commands QOF and then QON against the region
    8.  
    9. Messages similar to those shown above should appear in the PAS log and CMRDETL should show DSP as NO with CMRDETL1 and CMRDETL2 defined.  And the CREGAGT view will show CMRDETL Write set to VSAM as shown below: :
      

    >W1 -CMRDETL-----------BC65-----*--------(00 EDIT )----MVCICS---D----2-----
    CMD SSID Target(s) Type CNT STP CRE DSP DDName 1 Data Set Name 1
    --- ---- ----------------- ---- --- --- --- --- -------- ---------------------------
    BC65 CICSMV42 CICS YES YES YES NO CSG.CICSMV42.CMRDETL1
    BC65 CICSMV51 CICS YES YES YES NO CSG.CICSMV51.CMRDETL1

    W2 =CREGAGT==========(ALL======*=======)04AUG2014==17:17:04====MVCICS===D====2=====
    CMD Target SMF PAS Region Extract TskKill AO CICS Enrgzer CMRDTL PGM File Sess
    --- Name ID ID Status Status Status Status Status Write Tim Xpnd Data
    CICSMV51 EMA1 BC65 CONNECT ACTIVE ACTIVE UNAVAIL UNAVAIL VSAM ON YES ON
    CICSMV42 EMA1 BC65 CONNECT ACTIVE INACTIV UNAVAIL UNAVAIL VSAM ON YES ON

      
    Related Products:  
       
    1. MainView for CICS

     


    Article Number:

    000028116


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles