HP 3000 Manuals

Program Development Cycle [ COBOL/HP-UX Operating Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation


COBOL/HP-UX Operating Guide for the Series 700 and 800

Program Development Cycle 

The recommended development cycle of creating a COBOL source program and
submitting it to the cob command is outlined below.  The type of program
output by the cob command depends upon command line options specified
when you submit your input files.  Chapter 2  COBOL System Interface 
contains full details on available options.

   *   Compile the program for animation

       The COBOL source code program is compiled into an intermediate
       code file with extension .int and an .idy file, which together
       contain all the information required to animate the program.

   *   Animate the program (or application)

       Submit the compiled files to the animator.

   *   Repeat the two steps above until the program is complete and runs
       correctly

   *   Generate the program to native code

       In most cases, you will wish to have your final programs in native
       code (.gnt) so that they will run as fast as possible.

   *   Link the application

       Rather than generate to native code, you can create object code
       (.o or .so) modules for any or all of the programs in the
       application.  These object code modules can then be linked with
       the appropriate run-time support libraries to produce a
       stand-alone executable COBOL program.

   *   Run the application

       Having created statically or dynamically linked applications or
       dynamically loaded code, you can execute it, specifying any
       switches to control the program's behavior at run time.



MPE/iX 5.0 Documentation