Writing Real Programs in DCL, Second Edition

Section F.3: File Layout

F.3 File Layout

A MODL distribution file is an indexed file containing three types of records. The file has a single key, which occupies the first field in every record.

A MODL file has a header record, which describes the file and contains information that pertains to the entire file, such as the mailing agent. Table F.1 describes the fields in the header record.

Table F.1: MODL file: Header record

Position

Size

Type

Description

0

16

String

The key of the header record is !HEADER!.

16

12

String

The user name of the user who created the file.

28

17

String

The date and time when the file was created.

45

32

String

The title of the file.

77

32

String

The mailing agent, or blank if no agent is used.

Table F.2: MODL file: Keyword record

Position

Size

Type

Description

0

16

String

The key of the keyword record consists of a sharp sign ( #) followed by the keyword.

16

12

String

The user name of the user who registered the keyword.

28

17

String

The date and time when the keyword was registered.

45

32

String

The title of the keyword.

Table F.3: MODL file: User record

Position

Size

Type

Description

0

16

String

The key of the user record consists of the user name.

16

12

String

The user name of the user who registered this user.

28

17

String

The date and time when the user was registered.

45

32

String

The user's...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Sucker Rods
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.