Switching the data sets

The CMRDETL and CTGDETL data sets are automatically switched to next available data set when the current data set is full. However, if needed, you can manually switch the data sets as follows: 

  • For CMRDETL data sets, you can manually switch the data sets by using the FST2 transaction with the SWITCH parameter or the SWI command in the CREGAGT view.

  • For CMRDETL and CTGDETL data sets, you can also manually switch the data sets by using the SWI command in the CMRDETA view, or (PTF BPC6235 applied) the BBI control command .swItch command.  

CMRDETL parameter

The following describes the format of the BBI control command .swItch and the CMRDETL parameter: 

.[switch|swi|I] CMRDETL,[<cicsName>|ALL] 

For example:

Examples

To switch CMRDETL data sets only for BCVDS72C:

.I CMRDETL,BCVDS72C

To switch CMRDETL data sets for all connected CICS data sets with active data sets:

.I CMRDETL,ALL 

CTGDETL parameter

The following describes the format of the BBI control command .swItch and the CTGDETL parameter: 

.[switch|swi|I] CTGDETL,[<cicsName>|ALL] 


For example:

Examples

To switch CTGDETL data sets only for BCVDSCT1:

.I CTGDETL,BCVDSCT1

To switch CTGDETL data sets for all connected CTG data sets with active data sets:

.I CTGDETL,ALL

For each target, MainView for CICS generates a FT692I or FT692E message during command processing:

  • FT692I indicates that the switch is requested; targetName represents the target.

    FT692I <targetName> data set switch requested 
    

    Note

    Following FT692I, you should see normal switching messages such as:

    FT223I SWITCHING <cicsName> <ddName> <dataSetName>

    FT220I STARTING <cicsName> <ddName> <dataSetName>

  • FT692E indicates that the request was not issued; reason explains why the command failed.

    FT692E <targetName> data set switch request failed - <reason..>
Was this page helpful? Yes No Submitting... Thank you

Comments