The DLimit ISPF interface provides an interactive way to access the DLimit database and to set, display, and change DLimit defaults and the characteristics of DLimit accounts. The DLimit ISPF interface performs actions on the active DLimit database. In order to use the DLimit ISPF interface, DLimit should be running in the system, i.e., a START DSL com- mand must have been issued to DIF, the Dynamic Install Facility started task.
Installation instructions for the DLimit ISPF interface can be found in "Step 7 - Install the ISPF Interface" on page 4-16.
- Invoking the ISPF Interface
-
The ISPF interface is invoked via a REXX EXEC, CDSLINIT, which is found in the DIF ISPF library: DTS.R71.ISPFLIB. This EXEC allocates the ISPF library necessary to run the ISPF interface. The default library name begins with ‘DTS.DSLR71’. The dataset name specified in the CDSLINIT EXEC should be changed to match those used at your installation. If the DLimit ISPF libraries are allocated to the user’s TSO session, then only the ISPEXEC SELECT statement within CDSLINIT is necessary, and the SELECT state- ment may be added to an existing ISPF menu. The following TSO command can be used to invoke the ISPF interface:
EXEC ‘DTS.R71.ISPFLIB(CDSLINIT)’
If this is the first time the DLimit ISPF interface has been invoked, the user is prompted for the names of the ISPF and load libraries to use. The main DLimit ISPF panel PDSL- PRIM is then displayed:
Figure 5-1. Primary Menu for the DLimit ISPF Interface
The profile panel
- Setting ISPF Interface Defaults
-
Defaults for the DLimit ISPF Interface can be set via option 0 of the main ISPF panel. This displays the DLimit Profile Options Menu, which allows the user to select defaults for the JOB statement, for control statements for DLMAINT, and for the ISPF interface itself. The DLimit Profile Options Menu is shown below.
Figure 5-2. Defaults for the DLimit ISPF Interface
- Defaults for the JOB Statement
-
Option 1 of the DLimit Profile Options menu displays the Job Statement Entry Panel, as shown below. The specified job statement is used by DLimit when submitting batch jobs from the ISPF interface. This panel also allows the DLimit load library name to be speci- fied. The load library name is used for the STEPLIB DD statements for DLimit batch jobs.
The user may specify one of two sources for the JOB statement. Specifying the first option causes DLimit to obtain the JOB statement from information specified on the panel. Spec- ifying the second option allows DLimit to obtain the JOB statement from the user's ISPF defaults.
Figure 5-3. Defaults for the JOB Statement
- Defaults for DLMAINT Batch Jobs
-
Option 2 of the DLimit Profile Options menu displays DLMAINT Batch Jobs Defaults panel, as shown below. The specified defaults are used by DLimit when submitting DLMAINT batch jobs from the ISPF interface. These defaults may be overridden by the user prior to actual submission of the job.
Figure 5-4. Defaults for the DLMAINT Batch JobsThe following defaults may be set:
Simulate Only (Y/N) indicates whether the DLMAINT job is to run in ‘SIMULATE’
mode or whether the DLimit database is actually to be updated with any changes made.
Database Name The name of the VSAM RRDS which serves as the DLimit
database. ‘ACTIVE’ may be specified to indicate that the cur- rently active database is to be used.
Rule Member The name of the member of the DIF parameter library which
contains the DLimit rules to be executed. The default is to use the currently active rule member.
Rule Library The name of the partitioned dataset containing the Rule Mem-
ber, above. If not specified, the partitioned dataset specified by the PARMLIB DD statement in the DIF started task is used.
Rule Processing Options Specifies how DLimit rules are to be processed if they are
invoked by DLMAINT. LIST indicates that the contents of the rule member are to be printed on the SYSPRINT DD. TRACE indicates that rule execution is to be traced (this may also be accomplished by adding a //DSLTRACE DD DUMMY state- ment to the JCL). TEST indicates that only those DLimit rules
for which the DEFRULE statement has a ‘TEST’ parameter specified are to be executed.
Rule Variables Specifies the contents of variables which may be examined by
DLimit. ‘Environment-name’ specifies a value for the &ENV variable. ‘Sub-environment name’ specifies a value for the &ENVS variable. The defaults for these variables are normally ‘ALLOCATE’ and ‘DADSM-PRE’, respectively.
- ISPF Defaults
- Option 3 of the DLimit Profile Options menu displays the ISPF Defaults Panel. This
panel is used to control whether or not additional selection criteria panels and
confirmation panels are displayed, and to provide a default unit for space utilization
displays. Initially, values for all options except ‘Enable Debug Mode’ should be set
to ‘Y’, to ensure that all panels are always displayed. Once users are familiar with
the operation of the DLimit ISPF interface, they may wish to disable the display of
some panels. The default unit specified indicates how space amounts are to be
displayed in DLimit ISPF panels. This value may be overridden on other
panels.
Figure 5-5. DLimit ISPF Defaults Panel
- Library Names
- Option 4 of the DLimit Profile Options menu displays the Default Library Names panel. This panel is also displayed if the default library names have not been established when the DLimit ISPF interface is started. This panel allows the user to specify the names to be used for the ISPF and load libraries to be used by the ISPF interface.
DLimit administration functions
- DLimit Administration Functions
-
Selecting option 1 (SYSTEM) from the DLimit main panel displays the System Adminis- tration Functions Panel. This panel allows the DLimit administrator to perform various functions that affect the DLimit database, such as changing the DLimit options or making backup copies of the database.
Figure 5-6. DLimit Administrative FunctionsOption 1 DLSYS, displays a panel which allows the administrator to make changes to the $CONTROL record in the DLimit database.
Options 2 and 3 Backup and Restore, allow the administrator to make backup copies of the DLimit database or to load a DLimit database from a sequential backup copy.
Option 4 Resync, generates JCL to run DLMAINT to initially populate the DLimit database, or to update DLimit accounts after a new volume has been brought online, or after other actions which may have caused space to be allocated or freed without DLimit processing.
Option 5 DLMAINT, generates JCL to run DLMAINT jobs which execute DLimit commands to add, change, or list accounts, to reset accounts or to run the SCAN command to make mass changes to DLimit accounts.
- Updating the $CONTROL Record
-
Specifying Option 1 (DLSYS) from the System Administration Functions panel causes the System Defaults Panel to be displayed. Values entered in this panel will be used to update the $CONTROL record in the DLimit database. UPDATE authority is required to the DSL.$CONTROL facility class resource in order to make changes to the system defaults.
Figure 5-7. Panel to Update the $Control Record
Note: All data entered in this panel is used to update the $CONTROL record, not just changed data. Thus, if any values in the $CONTROL record are to remain unchanged, they should remain unchanged on the panel before the ‘ENTER’ key is pressed.Automatically Create New AccountsIndicates whether DLimit may automatically create new accounts in response to a SET &DACCT= statement, if the account does not already exist.
Mode Options Indicates the type of processing to be performed by DLimit when the budgeted space for an account is exceeded. In ACTIVE mode, DLimit fails allocations which exceed the account maximum limit, possibly causing the program which requests space to terminate. In WARNing mode, error messages are issued, but the request for space is allowed. In TRACK mode, no error messages are issued. In INACTIVE mode, space is not tracked. The default mode in the $CONTROL record may be overridden by the DLimit rules or by defaults set at the account level.
Override Account ModeSpecifying 'Y' indicates that the operation mode set under 'Mode Options' overrides any settings for individual accounts. This reverses the normal order of precedence.
Total Database RecordsThe number of database records that have been formatted. This number is fixed and cannot be changed.
Database Records in UseThe number of database records which currently hold account information. This number is fixed and cannot be changed.
Logically Deleted RecordsThe number of database records that have been marked as deleted, i.e., they are not usable. These records will become available for reuse the next time DLimit is restarted.
Option 2 of the System Administration Functions Panel specifies the DLimit Database Backup function. The active DLimit database is actually a VSAM relative-record dataset and thus may be backed up like any other VSAM file. However, it may be desirable to make additional backup copies of the DLimit database, either for testing purposes, disaster recovery, or for reporting. This series of panels allows the DLimit administrator to invoke DLMAINT to make a sequential copy of the DLimit database. The result of the DLMAINT BACKUP command is a sequential file which can be used as input to the DLMAINT restore command.
Database Name The DLimit database name may be specified as ‘ACTIVE’ indicating the currently active database should be used. The dataset name of another database may be specified, which is not the currently active database.
Output Dataset Specifies the sequential output dataset which is to be used for backup of the DLimit database. If the specified dataset exists, it will be used. If the dataset does not exist, DLimit will display panels allowing the user to enter allocation characteristics to define the dataset. The DCB charac- teristics will be supplied by DLMAINT. They are DSORG=PS, RECFM=FBA, LRECL=128.
DLimit database restore
Option 3 of the System Administration Functions Panel specifies the DLimit Database Restore function. The active DLimit database is actually a VSAM relative record dataset and thus may be backed and restored as part of the normal system backup and restore pro- cess. If the DLMAINT BACKUP statement has been used to make a sequential copy of the DLimit database, this copy may be used to load the active database, or another VSAM RRDS which may be used for reporting.
Figure 5-9. DLimit Database Restore Panel
Input Dataset Name specifies the name of the sequential file which contains a backup of the DLimit database that was created via the DLMAINT BACKUP statement. This dataset must exist prior to beginning the restore.
Database Name refers to the DLimit database name which is to be the target of the restore operation. This database may be specified as ‘ACTIVE’ meaning the currently active database is the target of the restore. Another dataset name may be specified to indicate that the backup is to be loaded into a different cluster. Once loaded, DLimit TSO commands and DLMAINT or DLimit reporting MONRUN jobs may be run against the loaded data- base to obtain space accounting information.
DLimit database resynchronization
When DLimit is first installed, the DLimit database is empty. In order to load the DLimit database with information about existing datasets, the DLMAINT RESYNC function can be used to examine the VTOCs of the installation’s DASD volumes and execute the DLimit rules to assign each dataset to one or more space accounts. There are several other instances when it may be necessary to update the DLimit database with current informa- tion via the DLMAINT RESYNC statement, such as when:
- Disk space has been released without going through the system allocation exits (as in Compaktor volume reorganization or RLSE processing).
- DASD volumes have been reconstructed from full-volume and/or incremental backups.
- DLimit has been inactive and has not been recording requests for direct-access space, or additional applications are to be added to DLimit control.
- A new ICF catalog is to be used for the DLimit database
Figure 5-10. DLimit Database Resynchronization Panel
The following fields may be entered on this panel:
Database Name The name of the VSAM file which serves as the DLimit database. ‘ACTIVE’ indicates the currently active database. Another dataset name may be specified if the resynchronization is to be performed on a database which is not the active database.
CLEAR Accounts to zeroIndicates that space amounts for selected accounts (which may be all accounts) are to be reset to zero prior to the start of RESYNC pro- cessing. Setting the space amounts to zero allows the space amounts to
be completely recalculated for each account; however, all datasets that might be assigned to the account must be processed. If the accounts are not initialized to zero, the space amounts detected by RESYNC are sim- ply added to the current amount.
Issue Hardware RESERVEsIndicates whether or not a hardware RESERVE is to be per- formed to prevent space requests from taking place on each volume before DLimit RESYNC has finished processing it. This option is not recommended
Provide Detail ReportIndicates whether or not a detail report on account space utilization is to be included in the SYSPRINT output from the RESYNC job. The default is to include account detail information.
Selecting Accounts
Pressing ENTER on the RESYNC Specifications panel causes the Account Selection Panel to be displayed. This panel is used in several places in the DLimit ISPF interface to provide selection criteria for which DLimit accounts are to be processed. The DLimit database name to be used may be entered, either as ‘ACTIVE’, or as another, alternate database name.
Figure 5-11. Selecting Accounts for Resynchronization
Selecting volumes
After account selection criteria has been specified, the DASD volumes which DLimit is to process during RESYNC may be specified. For each selected volume, the VTOC is read and the DLimit rules are run for each dataset or ICF VSAM component on the volume. If the rules assign space for the dataset to an account, the amount of space occupied by the dataset is added to the appropriate category within the account.
DLMAINT RESYNC will issue a RESERVE on each volume, if specified in the RESYNC Specifications panel, before processing the VTOC. The RESERVE is released immediately after processing on the volume is complete.
Figure 5-12. Selecting Volumes for Resynchronization
Selecting datasets
After volume selection criteria has been specified, the datasets which DLimit is to process during RESYNC may be specified. For each selected volume, the VTOC is read and the DLimit rules are run for each dataset or ICF VSAM component on the volume. If the rules assign space for the dataset to an account, the amount of space occupied by the dataset is added to the appropriate category within the account. DLimit will process only those data- sets which this panel specifies are to be included in RESYNC processing.
Figure 5-13. Selecting Datasets for Resynchronization
Batch job submission
Some of the DLimit ISPF functions require that batch jobs be submitted. The JOB state- ment, STEPLIB DD statement, and other required JCL information may be entered on the Job Statement Entry Panel. Prior to submitting the batch job, DLimit displays the Batch Job Submission panel, which provides options for the manner in which the batch job is to be submitted. The panel is shown below:
Option 1 submits the job for execution immediately.
Option 2 invokes the ISPF editor to allow the user to examine and modify the JCL. When the edit session is complete, the job is submitted for execu- tion.
Option 3 invokes the ISPF editor. If desired, the user may issue the TSO SUB- MIT command from the ISPF edit session. DLimit does not submit the job for execution when the edit session is finished.
DLMAINT Utility Menu Panel
The DLMAINT Utility Menu allows the user to invoke DLimit TSO commands and DLimit statements using the DLMAINT batch utility. While the DLimit TSO commands may be issued directly from TSO in order to obtain or change information in the default DLimit database, they must be run under the DLMAINT program in order to access alter- nate DLimit databases.
Figure 5-15. DLMAINT Utility Menu Panel
The first 5 menu items allow the user to specify DLimit TSO commands to run under DLMAINT. The remaining choices allow the user to perform the following types of spe- cial DLMAINT processing:
ERASE This command is used to set the space amounts for all categories in specified accounts to zero.
SCAN This command is used to execute the DLimit rules against all or selected accounts. This may be useful in order to make mass changes, such as changing the maximum space limit, across all or selected accounts.
Display and modify accounts
Displaying DLimit Account Information
Specifying option 2 (LIST ACCOUNTS) on the DLimit main ISPF panel results in the display of the Account Selection Criteria Panel. This panel allows the user to select desired DLimit accounts for display. The default is to display all DLimit accounts. An individual DLimit account name or account name mask may be entered to display a subset of the DLimit accounts. A trailing asterisk may be used to indicate an account name mask. A question mark may be used as a single-character wildcard.
Space Account Status Panel
The Space Account Status panel displays a table of DLimit accounts. For each account, the current space used, maximum space limit, high water mark, and other information are displayed.
Figure 5-17. Space Account Status Panel
Space Account Status Panel
The table may be sorted by specifying ‘SORT n x’, where ‘n’ is the number of the column to be sorted (i.e., 1=account name, 2=space used, 3=max limit, and so on) and ‘x’ is the sort order. Alternatively, the name of the column may be specified as the sort key (e.g., ’used’, ’limit’, ’max’, etc.) The sort order may be either ‘A’ (ascending) or ‘D’ (descend- ing). The table is initially sorted in ascending order of account name. ‘D’ is the default sort order if the SORT command is issued without either ‘A’ or ‘D’.
Space Account Status Panel Line Operators
The following line operators may be specified in the ‘Cmd’ column to perform actions on individual accounts:
‘S’ Selects an account for updating and displays detail information on the account..
’E’ Selects an account for editing and displays detail information on the account. Space amounts and other fields may then be selected for updat- ing.
‘I’ Inserts a line for a new account and displays a panel that allows the user to enter a name and other information for the new account.
‘D’ Deletes the specified account from the DLimit database.
Account Characteristics Panel
This panel is displayed when an account is selected from the Space Account Status Panel. If the ’S’ option was used to select the account, the values are read-only and may not be updated. If the ’E’ option was used, values for the account may be changed.
Figure 5-18. Account Characteristics Panel
Account Name The name for the account.
Description Up to 20 characters of identifying information for the account
Current Space UsedThe space currently occupied by datasets belonging to the account.
Max Space AllowedThe maximum amount of space allowed for the account. If the total space assigned to the account exceeds this value, warning messages may be issued or subsequent requests for space may fail, depending upon the MODE setting for the account. A value of zero in this field indicates there is no limit on the amount of space in the account.
High Water MarkThe largest total amount of space that was ever assigned to the account. The current space amount may be less than this value if space was released or datasets deleted after the highwater mark was reached.
Created on The Julian date on which the account was created. This may be the date the account was first assigned to a dataset, or it may be the date the account was explicitly created via the DLADD command.
Last Used on The Julian date on which space was most recently added to or subtracted from the account.
Issue Warnings if Over LimitIndicates whether warning messages are to be issued when the account is approaching the maximum space limit.
Warning Limit Percent UtilizationThe percentage of the maximum limit at which warn- ing messages are to be issued to inform the user that they are approach- ing account limits. Warnings are issued if the current space utilized in the account exceeds the warning percentage.
Mode The type of action to be taken if the maximum space limit is exceeded.
TSO Userid to Receive Overlimit MessagesSpecifies an optional TSO userid which is to receive warning and error messages if an account is approaching or exceeds the maximum limit set for the account. Normally, messages are issued only to the job log of the job which is over limit.
Logfile DDname to Receive Overlimit MessagesSpecifies the DD name of an optional log file DD allocated to the DIF started task which will receive warning messages or error messages if an account is approaching or exceeds the maximum limit set for the account. Normally, messages are issued only to the job log of the job which is over limit.
Selecting a DLimit account
Option 3 (SELECT ACCOUNT) on the DLimit main ISPF panel causes the Account Selection Menu panel to be displayed. This panel allows actions to be taken against a specified DLimit account. The full account name must be specified in the ‘Account Name’ field. One of the four menu options should be entered in the ‘Function’ field. If no option is specified, option 1 (DISPLAY) is assumed.
Figure 5-19. Selecting an DLimit Account
The following functions may be selected:
Display Displays the characteristics of the specified account
Add Adds a new account with the specified name to the DLimit database.
Delete Deletes the specified account from the DLimit database.
Alter Allows the user to update account information.
- Account Characteristics Panel
- Selecting Option 1 (DISPLAY) from the Account Selection Menu causes the Account Characteristics Display panel to be displayed. This panel may also be displayed by enter- ing the ’S’ or ’E’ line operator to select an account from an account list. This panel shows the values currently associated with the selected account. Values cannot be changed on this panel if option 1 (DISPLAY) was chosen from the Account Selection Menu. In order to change values associated with the account, option 4 (ALTER) should be chosen from the Account Selection Menu.
Figure 5-20. Account Characteristics Panel
The fields displayed in the Account Characteristics Display panel are the same as those discussed in the previous section.
Modifying Account Characteristics
Selecting option 4 (ALTER) from the Account Selection Menu causes the Account Char- acteristics Display panel to be displayed in the same manner as if option 1 (DISPLAY) was selected. However, selecting option 4 allows values in the Account Characteristics Display to be overwritten. Overwritten values are used to update the TOTAL category in the account in the DLimit database.
Adding an Account
Selecting option 2 (ADD) from the Account Selection Menu adds a new account to the DLimit database with the specified name. The characteristics of the account specified as a model account, if any, are used to create the account. The Account Characteristics Panel is then displayed to allow the default values in the account to be modified.
Deleting an Account
Selecting option 3 (DELETE) from the Account Selection Menu deletes the specified account from the database.
Adding or deleting multiple accounts
Adding Multiple Accounts
Selecting Option 4 (ADD ACCOUNTS) from the DLimit ISPF main menu causes the Add Accounts panels to be displayed. Up to 20 fully-specified names of DLimit accounts may be specified on this panel. The specified accounts will be added to the DLimit data- base. The model account specified, if any, will be used to set the account characteristics for new accounts.
Figure 5-21. Adding New Accounts to DLimit
If any error is encountered while processing the list of accounts, such as attempting to add an account which already exists, then processing halts at the point of error. The remaining accounts are not added.
Adding or Deleting Multiple Accounts
Selecting Option 5 (DELETE ACCOUNTS) from the DLimit ISPF main menu causes the Remove Accounts panels to be displayed. Up to 20 fully-specified names of DLimit accounts may be specified on this panel. The specified accounts will be deleted from the DLimit database.
If any error is encountered while processing the list of accounts, such as attempting to delete a nonexistent account, then processing halts at the point of error. The remaining accounts are not deleted.
Report
REPORT
Command Selection Criteria
The REPORT command of the DLMAINT utility can be used to determine which accounts datasets are assigned to, according to the DLimit rules currently in effect. The Report command panel may be selected via option 6 (REPORT) from the primary DLimit ISPF panel.
This panel allows the user to specify parameters for the REPORT command of DLMAINT, used to determine which account(s) a dataset should be assigned to, and how many accounts will be assigned, based upon information obtained from the VTOC.
Figure 5-23. Report Criteria Panel
The following fields may be specified:
Provide Account DetailsIndicates whether individual datasets should be included in the report or only a summary of accounts and the number of datasets assigned to each account. This field is required.
Sort Datasets By If dataset information is to be included in the report, the detail entries may be sorted. This field indicates the sort key to be used.