Version 8.7 File Format Support (DISK I/O)


 

The version 9.0 runtimes have been modified to support 8.7x file formats for the ISI and AAM file structures.

Note the following:

  1. The OPEN instruction for an IFILE or AFILE automatically detects the format of the ISI or AAM files to determine whether the 8.7x or 9.0x format is being used.

  2. By default the PREP instruction for the IFILE or AFILE creates the ISI or AAM files using the 9.0x format. The PREP instruction has been modified to create the ISI or AAM files using the 8.7x format by using a keyword named PLB_PREP87={on | off}, a keyword named *PREP87={dnumnvar} in a SETMODE instruction, or by setting a CMP_PREP87 ( 0x2000 ) bit in the optional {mode} operand for the PREP instruction.

  3. The GETMODE and SETMODE instructions have been modified to support the keyword named *PREP87={dnumnvar}. When the *PREP87 Keyword is set to a value of one (1), any subsequent PREP operations create 8.7x format files.

  4. When using the SUNDM data manager, a keyword named DM_PREP87={on | off} forces all PREP instructions to create the ISI or AAM files in the 8.7x format. When the DM_PREP87 keyword is set to ON, the PLB program cannot override this setting to create 9.0x formatted files. If the DM_PREP87 keyword is not specified or is set to OFF, the PREP instruction at the data manager creates the files depending on the settings specified for the client program accessing the data manager.

  5. The 9.0x SUNINDEX and SUNAAMDX utilities only generate 9.0x file formats. Version 8.7x utilities must be used when indexing 8.7x file formats.

 

 

See Also: Disk I/O Instructions

 



PL/B Language Reference Transactions IO using SQLite