Previous Topic: $RWCALL OPT=MENU

Next Topic: Report Exit Procedure


$RWCALL OPT=STATUS

This function presents the Reports in Progress list.

This function has the following format:

&CONTROL NOSHRVARS
-EXEC $RWCALL   OPT=STATUS
              [ USERID= userid ]

Use

To present Reports in Progress when a user selects an option from a menu defined by your installation or enters a command written by your installation.

Operands

OPT=STATUS

Specifies the Reports in Progress panel is to be presented.

USERID=userid

Specifies the user ID of the user whose reports are to be displayed in the Reports in Progress list.

Return Codes

&RETCODE = 0

$RWCALL completed successfully. &$RWFDBK can be set to the following:

1

RETURN command entered or function key pressed

&RETCODE = 4

$RWCALL completed successfully. Request denied. &SYSMSG is set to an error message and &$RWFDBK is set to the following:

1

User not authorized for the request

&RETCODE = 8

An error occurred. &SYSMSG is set to an error message.

Examples

&CONTROL NOSHRVARS 
-EXEC $RWCALL OPT=STATUS
&CONTROL NOSHRVARS 
-EXEC $RWCALL OPT=STATUS USERID=USER01