The Development Cycle [ Micro Focus COBOL for UNIX COBOL User Guide ] MPE/iX 5.0 Documentation
Micro Focus COBOL for UNIX COBOL User Guide
The Development Cycle
The following steps show the typical development cycle to develop
applications using this system:
1. Compile the program for animation
The COBOL source code program is compiled for animation by using
the cob command. This causes an intermediate code file to be
created (.int) together with an .idy file. The .idy file contains
all the information required to animate the program.
2. Animate the program (or application)
Using the files created by the compilation together with the
source code files the program is animated. All the programs that
you want to animate, whether called by or calling this program,
must also previously have been compiled for animation. Files with
a .gnt extension are not animated but run at full speed.
3. Repeat the two steps above until the program is complete and runs
correctly
Having located problems using Animator, the relevant programs can
be amended,
recompiled for animation and re-animated.
You can also test these programs by running them instead of
animating them. To do this use the cobrun command.
4. Generate to native code
In most cases, you will want to have your final programs in native
code so that they run as fast as possible. To do this, use the
cob command with the -u flag to cause native object code to be
created in a dynamically loadable .gnt file.
5. Ship the application to your end-user
You ship .int and .gnt files, or the linked executable. You must
also ship a copy of Micro Focus OSX for UNIX. In addition, the
COBOL environment will need to be set up on the machine where the
application is to be run.
MPE/iX 5.0 Documentation