Previous Topic: LIST SubcommandNext Topic: X-SGP Record Samples


DELETE Subcommand

The DELETE subcommand lets you delete a structured infostorage record. The DELETE subcommand has the following syntax:


        {*              }
DELete  {recid          }
        {LIKE(recidmask)}
        [SYSid(?|sysid)|DIVision(?|div)     ]
        [MSYSid(?|sysidmask)|MDIV(?|divmask)]
        [Source|Group ]
        [Resource|Group]

The DELETE subcommand takes the following parameters:

* (asterisk)

Deletes the last record you processed since you established this ACF command setting. You cannot use the asterisk to delete multiple records. Use the LIKE parameter.

recid

Specifies the name of the XREF record that you want to delete. Record IDs for source group records are from one to eight characters. Record IDs for resource group records are from 1 to 24 characters.

LIKE(recidmask)

Specifies a group of XREF records that you want to delete. This masking follows the same conventions that apply to logonids, as described in the chapter “About the Logonid Record” in this guide. Use extreme care when deleting multiple records with this parameter.

When you issue an online command that deletes multiple records from the CA ACF2 for VM databases, CA ACF2 for VM prompts you to confirm the DELETE LIKE request. If you respond Y, the command executes. If you respond N or anything else, CA ACF2 for VM ignores the command and prompts for the next command.

SYSID(?|sysid)|DIVision(?|div)

Specifies the one‑ to eight‑character SYSID of the record that you to delete the record from the currently active SYSID.

If you do not specify a SYSID (or MSYSID), CA ACF2 for VM uses the SYSID value you specified when you established the ACF command setting. If you did not supply a SYSID when you established the ACF command setting,

CA ACF2 for VM uses the default value defined at CA ACF2 for VM startup time. For further information, see the section on the concept of SYSID. DIVISION is a synonym for SYSID.

MSYSid(?|sysidmask)|MDIV(?|divmask)

Specifies a mask to indicate the SYSIDs of the record that you want to delete. This SYSID mask must contain at least one asterisk or a trailing dash. The XREF records that you delete using this parameter have the same record ID, but different SYSIDs. MDIV is a synonym for MSYSID.

Source|Group

Specify SOURCE to delete a source record. Specify GROUP to view a source group record. These parameters apply to the X‑SGP setting only.

Resource|Group

Specify RESOURCE to delete a resource record. Specify GROUP to delete a resource group record. These parameters apply to the X‑RGP setting only.