Previous Topic: ParametersNext Topic: Compiling From a Data Set


Compiling Directly at a Terminal

You can create an CA ACF2 Option for DB2 rule set directly at the terminal by first entering the COMPILE subcommand without parameters:

acf
 ACF
set db2(tbl)
 DB2
compile

CA ACF2 Option for DB2 responds with:

acf
 ACF
set db2(tbl)
 DB2
compile
 ACFD2010 DB2 COMPILER ENTERED
 .

Enter the $KEY on the first line. You can also enter the $TYPE and $SYSID control statements on this line if you prefer. Enter the other control statements and then rule entries, each on a separate line. Press ENTER or RETURN after each line. To end the rule set, enter a blank line. A message displays:

acf
 ACF
set db2(tbl)
 DB2
compile
 ACFD2010 DB2 COMPILER ENTERED

 .  $key(finance.budget_estimate) type(tbl) sysid(prod)
 .   uid(tfinpayiso) service(select) allow
 .   uid(tfinadmiso) service(select) until(11/24/05) log
 .
 ACFD2051 TOTAL RECORD LENGTH= 210 BYTES, 5 PERCENT UTILIZED
 DB2

To store the rule set in the Infostorage database, use the STORE subcommand. After you compile and store the CA ACF2 Option for DB2 rule set, you can use the TEST subcommand to test whether the CA ACF2 Option for DB2 rule set permits proper validation.