Example of using the CICSPlex SM API to remove a CSD group from a list
You can use the CICSPlex® SM API to remove a CSD group from a CSD list.
Remove a CSD group from a list
This example shows the removal of a CSD group, csd_group_name, from a CSD list,
csd_list_name, in the CSD used by the CICS®
System, cics_system_name.
CONNECT CONTEXT(cicsplex_name)
SCOPE(cics_system_name) 1
GET OBJECT(CSDINLST)
CRITERIA(CSDLIST=csd_list_name
AND CSDGROUP=csd_group_name.)
RESULT(result_set_token)
FETCH INTO(csdinlst_record_buffer)
LENGTH(csdinlst_record_length)
RESULT(result_set_token)
REMOVE OBJECT(CSDINLST)
FROM(csdinlst_record_buffer)
LENGTH(csdinlst_record_length)
1 The value of the SCOPE parameter for both the GET and REMOVE commands must be the name of the CICS system which is using the CSD.