Developing Compaq COBOL Programs
1.2 Developing Programs on Tru64 UNIX
Figure 1–1 Commands for Developing Compaq COBOL Programs on Tru64
UNIX
libraries
COMMANDS
Create a
source program
Run the
executable
image
% vi prog1.cob
Use the file type of cob
to indicate the file contains
a Compaq COBOL program.
% cobol prog1.o
The link command
assumes file type.
no
% a.out
Type the output file name
to run the image.
ACTION
prog1.cob
a.out
INPUT/OUTPUT FILES
Compile the
source program
Link the
object module
(prog1.o,
prog1.lis)
% cobol -c prog1.cob
The cobol command
(If you use the -list flag,
assumes file type.
the compiler creates a
listing file; if you use the
no
VM-0610A-AI
-c flag, the compiler
creates an object file.)
Note: case of file names is significant.
1–8 Developing Compaq COBOL Programs
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......