next up previous contents
Next: Enable Viewport Logging Up: Viewport Logging Subprograms Previous: Viewport Logging Subprograms

Attach Viewport Logging to a Logical Unit

This Subprogram enables Viewport Logging for the specified Viewport, attaching it to the specified Logical Unit Number (which must correspond to an already opened file).

Short Name Calling Sequence

STATUS = UIATVL(LOGLUN,VPRTID)

Long Name Calling Sequence

STATUS = UI_ATTACH_VIEWPORT_LOG(...)

Input Arguments

LOGLUN (Integer) Logical Unit VPRTID (Integer) Viewport ID (Optional)

Output Arguments

None

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport ID UIILVP )

Note:

  1. The specified Logical Unit Number should correspond to an already opened file.
  2. If Logging is already enabled for the specified Viewport, it will be redirected to the specified Logical Unit Number.
  3. The VPRTID Argument is optional and, if omitted, defaults to the currently setup Viewport.


Liz Buckle
Fri Jan 13 17:49:20 CST 1995