Commands For Developing Compaq Cobol Programs On Tru64 - Compaq COBOL AAQ2G1FTK User Manual

Compaq computer accessories user manual
Table of Contents

Advertisement

Developing Compaq COBOL Programs
1.2 Developing Programs on Tru64 UNIX
Figure 1–1 Commands for Developing Compaq COBOL Programs on Tru64
COMMANDS
% vi prog1.cob
Use the file type of cob
to indicate the file contains
a Compaq COBOL program.
% cobol -c prog1.cob
The cobol command
assumes
no
(If you use the -list flag,
the compiler creates a
listing file; if you use the
-c flag, the compiler
creates an object file.)
% cobol prog1.o
The link command
assumes
no
% a.out
Type the output file name
to run the image.
1–8 Developing Compaq COBOL Programs
UNIX
ACTION
Create a
source program
file type.
Compile the
source program
Link the
file type.
object module
Run the
executable
image
INPUT/OUTPUT FILES
prog1.cob
(prog1.o,
prog1.lis)
libraries
a.out
Note: case of file names is significant.
VM-0610A-AI

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COBOL AAQ2G1FTK and is the answer not in the manual?

Table of Contents