search cancel

How to clone a control(CIC) record from one sysid to another for ACF2/CICS-

book

Article ID: 242117

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

commands to create a control(CIC) record using a record with a different sysid

Environment

Release : 16.0

Component : ACF2 for z/OS

Resolution

To insert a new record using an existing one in a different sysid use the following command 

ACF
SET CONTROL(CIC) SYSID(ABC12345)           <<===== new sysid
INSERT USING(CICSKEY.TRANS) CICSKEY.TRANS USYSID(XYZ12345)   << existing sysid
END

using  the following record as a model

CONTROL      
 XYZ12345 / CICSKEY.TRANS LAST CHANGED BY USER011 ON 05/19/22-10:07  
                      NOAPISCABI TYPE(CKC) NOUSERDATA VALIDATE  
CONTROL  

results in the following record being created.

CONTROL      
 ABC12345 / CICSKEY.TRANS LAST CHANGED BY USER011 ON 05/19/22-10:08  
                      NOAPISCABI TYPE(CKC) NOUSERDATA VALIDATE  
CONTROL
                    
You will need to issue the insert for every record that you want to clone.