Running Reports from a Command Line
Powertech Authority Broker reports can also be started from a command line or from within a CL program.
To run a report from a command line, enter the following command:
LEVENTRPT
Press F4 (Prompt) to see the report options. The Event Reports (LEVENTRPT) screen displays. Make your selections and press Enter.
Options:
From Date & From Time
The From Date and Time fields specify the first (earliest) of the events to be included on the report. The From Date and Time must specify a time before that of the To Date and Time.
To Date & To Time
The To Date and Time fields specify the last (latest) of the events to be included on the report. The To Date and Time must specify a time after that of the From Date and Time.
Include Switches Based On
Specifies how profile switches are selected to be on the report.
Omit Activity Outside the Date/Time Range
This parameter specifies if detail activity that falls outside the selected date & time range should be omitted from the report.
User Type
Specifies the user type for which the report is to run. The user name will be entered in the RUNFOR field.
Allowed values are:
User
Specifies the user for which the report is run. This parameter is inter-dependent on USERTYPE. Allowed values are a user profile or the special value *ALL.
Report Type
Specifies the information type to appear on the report.
Allowed values are:
Omi CL Program Commands
Select only those commands and programs that were run from a command line.
Omit registered programs
Includes or excludes from this report those programs that you have specified via Work with Program Exceptions.
Print Report
Specifies if the report output is to be printed. If selected, you must specify the output queue to which to send the report.
Allowed values for function are:
Send report to DB file
Specifies if the report output is to be sent to a DB2/400 database file. If selected, you must specify the database file to which to send the report. If the file does not already exist, it will be created for you.
Allowed values for function are:
Send report to directory file
Specifies if the report output is to be sent to a directory file. If selected, you must specify the directory file to which to send the report. If the file does not already exist, it will be created for you.
You must have sufficient access rights to the specified directory file, including all directories in the path, to create and to write to this file.
Allowed values for function are: