Create and modify a parameter table
The following steps show you how to create and modify a parameter table that runs a CRUISE function for the database indexed by record ID B075:
- A parameter table must be locked before you can change the values. If a parameter
table does not exist, it is created by being locked. Use the ZFCRU LOCK command to create and lock
TABLE1; for example: User: ZFCRU LOCK-TABLE1 System: CSMP0097I 16.31.27 CPU-B SS-BSS SSU-HPN IS-01
FCRU0000I 16.31.27 TABLE LOCKED FCRU0000I 16.31.27 PARAMETER TABLE DISPLAY FOR TABLE1 FUNCTION
USABLE ECB START VALUE 20 PCT TAPE NAME BFA TARGET SYSTEM NAME TPF BUILD STATISTICS YES NUMBER OF
PRINT MESSAGES ALL NUMBER OF LOG MESSAGES ALL RESTORE OPTION REBUILD/NORELEASE FCRU0000I 16.31.27
END OF DISPLAY
The CRUISE function is in locked state.
Note: As with other parameter table commands, the ZFCRU LOCK command displays all the current parameter table settings. - Use the ZFCRU SETUP command to set the parameter table values. In the following
examples, the FUNCTION and REFERENCE ID are set to capture TABLE1 to a BFA tape. User: ZFCRU SETUP
FUNCTION-CAPTURE System: CSMP0097I 16.32.18 CPU-B SS-BSS SSU-HPN IS-01 FCRU0000I 16.32.18 MODIFIED
FCRU0000I 16.32.18 PARAMETER TABLE DISPLAY FOR TABLE1 FUNCTION CAP USABLE ECB START VALUE 20 PCT
TAPE NAME BFA TARGET SYSTEM NAME TPF BUILD STATISTICS YES NUMBER OF PRINT MESSAGES ALL NUMBER OF LOG
MESSAGES ALL REFERENCE ID B075 FCRU0000I 16.32.18 END OF DISPLAY
You can now process TABLE1 by unlocking the parameter table (see step 3) and running a CRUISE function. See the following for information about running a CRUISE function:
To modify an existing parameter table after running a CRUISE function, use the ZFCRU LOCK (see step 1) and ZFCRU SETUP (see step 2) commands. The following example shows TABLE1 modified to restore data from a BFA tape.
User: ZFCRU SETUP FUNCTION-RESTORE System: CSMP0097I 16.32.18 CPU-B SS-BSS SSU-HPN IS-01 FCRU0000I 16.32.18 MODIFIED FCRU0000I 16.32.18 PARAMETER TABLE DISPLAY FOR TABLE1 FUNCTION RST USABLE ECB START VALUE 20 PCT TAPE NAME BFA TARGET SYSTEM NAME TPF BUILD STATISTICS YES NUMBER OF PRINT MESSAGES ALL NUMBER OF LOG MESSAGES ALL REFERENCE ID B075 FCRU0000I 16.32.18 END OF DISPLAYNote: In the previous examples, you did not have to set the TAPE NAME value because BFA was the default. - Before parameter table processing is started, use the ZFCRU UNLOCK command to
unlock the parameter table; for example: User: ZFCRU UNLOCK-TABLE1
System: CSMP0097I 16.32.54 CPU-B SS-BSS SSU-HPN IS-01
FCRU0009I 16.32.54 OK TABLE - TABLE1 - UNLOCKED
During unlock processing, the parameter table values are verified. If the values do not pass verification, an error message is issued and the table is remains unlocked. The CRUISE function is in stopped state.