DCONT

The RTE input/output control requests to Type 0 files are transmitted using this routine. DCONT is equivalent to the FMGR call FCONT.

DCONT(dcb,err,con1[,con2][,erlc])

dcb

Four-word array. Data Control Block. (See •RFA

(input/output)

Common Parameters" for more information.)

err

16-bit integer. Error return variable. (See •RFA

 

Common Parameters" for more information.)

con1

16-bit integer. Function code. A variable containing a

 

numeric value defining an input/output function (see the

 

following table).

con2

16-bit integer. Function subcode. A variable containing

 

a numeric value. This subcode is required for some functions.

 

(See the following discussion.)

erlc

16-bit integer. Error condition location. (See •RFA

 

Common Parameters" for more information.)

Function Code

Bits 6 through 10 of parameter con1 are used for the function code.

BITS:

15 14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

 

 

 

 

 

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The function codes are defined in Table 101. These function codes are driver dependent. Consult the appropriate RTE driver reference manual for more information.

Function SubCode

Function subcodes are required for line spacing (function 11) and finding files (function 27). If the function code is 11 octal, then DCONT expects a value in con2. This value controls output line spacing on the line printer or a keyboard display device:

D0 to suppress line spacing on the next line

D>0 to indicate the number of lines to space before the next line

D<0 to page eject the line printer; space specified lines on keyboard device

If the function code is 27 octal, then DCONT expects a value in con2. This value declares the absolute file number to be located in the range 1 through 255.

104 Remote File Access