Previous Topic: SyntaxNext Topic: Examples


Parameters

The INSERT subcommand takes the following parameters:

Recordname

Specifies a one‑ to eight‑character scope record name that you want to create.

USING(model)

Specifies the name of an existing scope record to be used as a model. CA ACF2 copies the fields from the model record to create the new scope record. The ADD, REP, and DEL parameters alter the fields in the new record. If you omit these parameters when you specify the USING parameter, CA ACF2 assumes the ADD parameter and any values you specify are added to the new scope record in addition to those in the model record.

Newscope

Specifies the name of the one‑ to eight‑character scope record that you want to create.

ADD

Indicates that you want to add any values you specify for the INF parameter to the INF field copied from the model record. Therefore, use the ADD parameter only when you want to insert a new scope record using a model record. CA ACF2 defaults to ADD when you specify the USING parameter and do not specify ADD, REP, or DEL.

REP

Indicates that any values you specify for the INF parameter are replaced in the INF field copied from the model record. Use the REP parameter only when you specify the USING parameter.

DEL

Indicates that any values you specify for the INF parameter are not copied from the INF field of the model record into the new record.

INF(entry1,entry2,...,entryn)

Restricts Infostorage database access to DB2 records and CA ACF2 Option for DB2 rule sets that you specify. Specify DB2 records and CA ACF2 Option for DB2 rules with a 1‑ to 44‑character entry that you can mask. See the previous section, “Specifying the INF Parameter,” for more information. The INF parameter is required to give access to a scoped security administrator, otherwise, Infostorage database access is completely restricted. (However, access might be granted through CA ACF2 Option for DB2 rule sets or special privileges.)