Using the Demonstration Programs [ Micro Focus COBOL for UNIX COBOL User Guide ] MPE/iX 5.0 Documentation
Micro Focus COBOL for UNIX COBOL User Guide
Using the Demonstration Programs
Your COBOL system includes a suite of programs that show how to write
programs to run in a shared file environment. The demonstration programs
are:
Program Description
mudemo.cbl the COBOL source for the controlling program. This
program displays information about the suite, and
presents the user with a choice of access and input
modes. Depending on the user's choice, one of the
following four subprograms might be called.
stockin.cbl the COBOL source for the subprogram that demonstrates
opening a shared data file for input only.
stockioa.cbl the COBOL source for the subprogram that demonstrates
opening a shared data file for I-O, and with
automatic record locking.
stockiom.cbl the COBOL source for the subprogram that demonstrates
opening a shared data file for I-O, and with manual
record locking.
stockout.cbl the COBOL source for the subprogram that demonstrates
opening a shared data file for output only.
MPE/iX 5.0 Documentation