This function returns report definition information. Optionally, the function presents a list of reports from which a selection can be made.
This function has the following format:
&CONTROL SHRVARS=($RW)
-EXEC $RWCALL OPT=INFO
[ INFO=REPORT ]
[ APPL={ repapplid | prefix? | ? } ]
[ TYPE={ PUBLIC | PRIVATE } ]
[ USERID={ userid | prefix? | ? } ]
[ NAME={ name | prefix? | ? } ]
[ GROUP={ group | prefix? | ? } ]
[ SINGLE={ YES | NO } ]
[ ORDER={ ID | DESC } ]
[ STATUS={ ACTIVE | INACTIVE} ]
[ AUTOSEL={ YES | NO } ]
To validate report details entered by a user on a panel defined by your installation and provide help on a panel defined by your installation by presenting a Report List from which a selection can be made.
Specifies definition information is to be returned.
Specifies report definition information is to be returned.
Specifies the ID of the report application to which the report belongs. If a prefix followed by a question mark (?)is specified, a Report List is presented from which a selection can be made. The list will contain all reports that belong to report applications with IDs starting with the prefix specified, and which match the other criteria specified. If a question mark is specified without a prefix, all reports which match the other criteria specified are listed on the Report List.
Specifies the type of report. PUBLIC indicates that the report is a public report and PRIVATE indicates that the report is a private report.
Specifies the user ID of the user who owns the report if it is a private report. If a prefix followed by a question mark (?) is specified, a Report List is presented from which a selection can be made. The list will contain all private reports owned by users whose user ID starts with the prefix specified, and which match the other criteria specified. If a question mark is specified without a prefix, all reports that match the other criteria specified are listed on the Report List.
Specifies the name of the report. If a prefix followed by a question mark (?) is specified, a Report List is presented from which a selection can be made. The list will contain all reports with names starting with the prefix specified, and which match the other criteria specified. If a question mark is specified without a prefix, all reports that match the other criteria specified are listed on the Report List.
Specifies the group to which the reports belong that are to be presented in the Report List. A Report List is presented from which a selection can be made. If a prefix followed by a question mark (?) is specified, the list will contain all reports that belong to groups with names starting with the prefix specified. If a question mark is specified without a prefix, all reports that match the other criteria specified are listed on the Report List.
Specifies the setting of the Suit Single Record field for reports that are to be included in the Report List. If not specified, reports with a Suit Single Record setting of YES or NO are included in the list.
Specifies the order in which the Report List will be presented.
Reports will be listed in user ID order.
Reports will be listed in description order.
Specifies the status of reports to be included on the Report List. If not specified, both active and inactive reports are included in the list.
Allows the automatic selection of a report, when set to YES, instead of displaying a selection list containing only one report.
$RWCALL completed successfully. The variables returned are as follows:
Report Application
Report type, PUBLIC or PRIVATE
User ID of owner if it is a private report
Report name
Brief description of report
Group
Request denied. &SYSMSG is set to an error message and &$RWFDBK is set to one of the following:
User not authorized for the request
Report not defined
No reports defined within the specified range
Report not selected from Report List
An error occurred. &SYSMSG is set to an error message.
&CONTROL SHRVARS=($RW) -EXEC $RWCALL OPT=INFO INFO=REPORT NAME=?
&CONTROL SHRVARS=($RW) -EXEC $RWCALL OPT=INFO INFO=REPORT TYPE=PUBLIC + NAME=SUMMARY?
&CONTROL SHRVARS=($RW) -EXEC $RWCALL OPT=INFO INFO=REPORT APPL=$SAIMPB + TYPE=PUBLIC NAME=OPENPROBLEMS
Either the APPL, USERID, NAME, GROUP, SINGLE or STATUS operand must be specified.
| Copyright © 2008 CA. All rights reserved. |
|