SET-BLOCK-POINTER

From NDWiki
Revision as of 09:11, 21 August 2017 by Tingo (talk | contribs) (created SET-BLOCK-POINTER page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@SET-BLOCK-POINTER <file no.>, <block no.>

Set the byte pointer to the beginning of a block.

<file no.>
(100 - 121, octal) logical file number of an opened mass-storage file.
<block no.>
(default = 0, decimal) block number.

Rules:

  1. Permitted for all users.
  2. The byte pointer is set to the product of <block no.> and block size (in bytes).

Example:

@SET-BLOCK-SIZE 101, 512

@SET-BLOCK-POINTER 101, 1

The byte pointer is set to 2000 (octal) = 1024 (decimal).

Related commands

@SET-BLOCK-SIZE

@SET-BYTE-POINTER

SETBL (monitor call)

References

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-181

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD