This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

CHKOUT

Open channel for output

Table of Contents

Function AddressVectorDescription
CHKOUT FFC90320Open channel for output

Any logical file number that has been created by the OPEN routine can be defined as an output channel. Of course, the device you intend opening a channel to must be an output device. Otherwise, an error will occur, and the routine will be aborted.

This routine must be called before any data is sent to any output device unless you want to use the screen as your output device. If screen output is desired, and there are no other output channels already defined, then calls to this routine, and to the OPEN routine are not needed.

Example:
LDX#3Define logical file 3 as an output channel
JSRCHKOUT