For OSVS and VSC2 only: The BASIS Mechanism [ Micro Focus COBOL Language Reference ] MPE/iX 5.0 Documentation
Micro Focus COBOL Language Reference
For OSVS and VSC2 only: The BASIS Mechanism
The Basis mechanism provides support to allow an entire COBOL program
source file to be noninteractively edited (temporarily) and the result of
this edit to be submitted to your COBOL system. The COBOL program
source file referenced as the source of the temporary edit (the
"subject-program") remains unchanged, and there is no record of the
result of the edit other than the files output by your COBOL system
(listing, and so on). The resulting code file cannot be animated since
there is no source file for reference.
The BASIS mechanism is valid for fixed format source only.
The program submitted to your COBOL system consists of two files: an
edit control file (containing the BASIS statement and editing
information) and the COBOL source file (the "subject program" as
described above).
Three special statements are associated with the BASIS mechanism:
1. BASIS
2. INSERT
3. DELETE.
These special statements are not part of the COBOL language. They must,
in their entirety, be contained on a single line and must be in upper
case.
If you modify the COBOL source program provided by a BASIS statement with
INSERT or DELETE statements, the sequence field of the COBOL source
program must contain numeric sequence numbers in ascending order.
MPE/iX 5.0 Documentation