The BSFILE_EXT structure is a structure to specify two or more output files.
When output file abnormally terminates, the output to two or more files as a recovery processing can be specified when the standard file system of the system is processed.
The size of the area when the area of BSFILE_EXT structure is secured can be calculated by using BS_OUTTABSIZE(n). BS_OUTTABSIZE(n) is a macro to calculate the size of BSFILE_EXT structure with n pieces of information on output file.
Note
When the Btrieve file system is specified for the file system of the input file or the output file, the owner name of the input file or the index information of the output file is specified in the BSFILE_EXT structure.
The output file name is specified for outfile_addr of the BSRTFILE structure.
typedef struct { unsigned long entry_no; union { BSPTR_BSFILE_BASE ufs; BSPTR_BSFILE_BASE text; BSPTR_BSFILE_BASE cob; BSPTR_BSFILE_BASE cobr; BSPTR_BSFILE_INDEX cobi; BSPTR_BSFILE_INDEX cisam; BSPTR_BSFILE_INDEX rdm; BSPTR_BSFILE_BASE dosfs; BSPTR_BSFILE_BASE ntfs; BSPTR_BSFILE_BTRV btrieve; BSPTR_BSFILE_BASE sfs; BSPTR_BSFILE_BASE mtfs; BSPTR_BSFILE_BASE mtfr; BSPTR_BSFILE_BASE mtfi; } outfile_opt[1]; } BSFILE_EXT;
BSFILE_EXT structure member
In the following, it explains about the member of the BSFILE_EXT structure.
entry_no
This specifies number of output file path names.
It is considered that the specification of the output file is omitted when 0 is set.
Member that sets file extension information
These members are defined in a union.
outfile_opt[n].ufs
This is an unsupported member.
outfile_opt[n].text
This specifies the address of BSFILE_BASE structure in text file of the standard file system of the system.
Specify the number of addresses specified in entry_no.
outfile_opt[n].cob
This is an unsupported member.
outfile_opt[n].cobr
This is an unsupported member.
outfile_opt[n].cobi
This is an unsupported member.
outfile_opt[n].cisam
This is an unsupported member.
outfile_opt[n].rdm
This is an unsupported member.
outfile_opt[n].dosfs
This specifies the address of BSFILE_BASE structure in binary file of the standard file system of the system.
Specify the number of addresses specified in entry_no.
outfile_opt[n].ntfs
This is an unsupported member.
outfile_opt[n].btrieve
This specifies the address of BSFILE_BTRV structure in Btrieve file system.
outfile_opt[n].sfs
This is an unsupported member.
outfile_opt[n].mtfs
This is an unsupported member.
outfile_opt[n].mtfr
This is an unsupported member.
outfile_opt[n].mtfi
This is an unsupported member.