Print Cabinet Commands

This document covers the following topics:


Description

Program

B07052

Function

Print a list of cabinets in alphabetical order by cabinet ID. The selected command, object(s) and criterion (authorized/unauthorized) determine which cabinets are included in the output. Depending on the combination of command and object or objects, the output either includes: each cabinet's ID and full name, and a mark for authorized (Y) or unauthorized (N) (according to the criterion selected), or each cabinet's ID and a table of the object numbers marked as either authorized or unauthorized.

Online Input Screen

   9:54 AM             * * *  C O N - N E C T  3  * * *                14.Feb.94
  Cabinet LS                  Print Cabinet Commands                      B07052
                                                                                
                                                                                
                                                                                
            Command: ____________ Object: ____________                          
                                        ('*' for all objects)                   
                                                                                
                                                                                
            Mark to: _ list authorized cabinets                                 
                     _ list unauthorized cabinets                               
                                                                                
                     _ create a document (Default: Print)                       
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
             Menu  Quit                                                         
 Complete the information above and press ENTER to continue                     

Utility Parameters

Parameter Format Description
Command A12  
Object A1 Optional
List Authorized Cabinets A1  
List Unauthorized Cabinets A1  
Create a Document A1 Optional

Procedure

Specify a valid command and if possible an object or all objects (specified with an asterisk (*)). Specify whether the output is to contain all cabinets authorized and/or unauthorized to use the selected object(s) with the command.

The authorization is checked for each cabinet. If a cabinet fulfills the requirements, it is included in the output.

Depending upon the requirements selected, the output will contain the following information:

  • If a command is specified in conjunction with a specific object, the output contains the command and object selected, the cabinet ID and full names of those cabinets which meet the requirements, and a Y (authorized) or N (unauthorized) adjacent to each cabinet which adheres to the criterion selected.

  • If a command is specified in conjunction with all objects, the output contains the command selected and an asterisk (*), the cabinet IDs of those cabinets which meet the requirements and object numbers. The objects are marked with a Y (authorized) or N (unauthorized) for each cabinet which adheres to the criterion. If an object number does not pertain to the command or to the criterion, it is marked with a dash (-).

As default, the output is directed to your defined printer, however, the output can be sent to your cabinet as a document with the name "LstCabCmd Date Time" (date and time the document is created).

For example, if the command DISPLAY and all objects are specified along with the criterion to list all unauthorized cabinets, all cabinets who cannot use a valid object with the command DISPLAY are included in the output. In this case, the top of the output contains the command and object(s) selected (in this case it is "DISPLAY *") the object numbers (1 through 50) and an N in the appropriate columns for each cabinet in which a valid object is not permitted with the DISPLAY command. The total number of cabinets included in the output is displayed at the end of the output.

Batch Example

Create a document which lists all cabinets which are permitted/not permitted to use the command ADD with the object Appointment and send the output to the user's cabinet as a document. This would be coded as follows:

LOGON SYSCNT2B 
MENU 
B07052 add,appointment,X,X,X
FIN