OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

4.7.1 Creation of TAM files

Once an OpenTP1 file system is created, the user can create TAM files with the tamcre command; the access right to the OpenTP1 file system must be set to user. The name of a physical file must be the same as that in the TAM service definition. The TAM service definition is used to specify the correspondence between the created TAM files and a TAM table.

For details of the TAM service definition, see the manual OpenTP1 System Definition.

In executing the tamcre command, initial data can be stored in the TAM file simultaneously with TAM file creation. To do this, the user must create a TAM data file (a file used to store the initial data for the TAM file) and must store the initial data in this file before executing the tamcre command. The record format for the data section of the TAM file depends on whether or not the -s option is specified in the tamcre command. Figure 4-10 shows the relationship between the TAM data file format and the record format for the data section of a TAM file when the -s option is not specified, and Figure 4-11 shows the relationship when the -s option is specified.

Figure 4-10 Relationship between TAM data file format and record format of data section of TAM file (-s option not specified)

[Figure]

Figure 4-11 Relationship between TAM data file format and record format of data section of TAM file (-s option specified)

[Figure]