Creating A Pro;Jram - IBM System 360 User Manual

Operating system: time sharing option terminal
Hide thumbs Also See for System 360:
Table of Contents

Advertisement

If--your installation has one or more of the TSO Program Products or
PL/I c?mpilers, it will provide you with documentation that explains how
to use them.
This~-section
explains how to use the programs normally
available under the operating system.
The following paragraphs describe
how you can:
Create a program
Compile your program
Link edit a compiled program
Execute a program
Load a program
Process background jobs
It is assumed that you are familiar with a programming language.
Creating a Program
Before your source program is compiled you must introduce it into the
system.
You do so with the EDIT command, as described in the section,
"Entering and Manipulating Data".
When you enter the EDIT command you must specify the type operand or
give a descriptive quali fier to the data set name.
The type (or
descriptive qualifier) tells the system which programming language you
are using.
If you are writing a program and JCL statements to be
submitted as a background job, use CNTL as the type or descriptive
qualifier.
The EDIT command allows you to specify certain options for your
source program.
You can use the SCAN operand to request syntax checking
when the data set type is GOFORT, FORTE, FORTG, FORTGI, FORTH, BASIC,
PLIF, PLI, or IPLI.
You can use the LINE operand to specify the length
of the input line for PL/I source programs.
The length of the input
line for the Assembler, FORTRAN, and COBOL is 80 characters.
After you create your source program you must use the SAVE subcommand
to save the data set before you end the EDIT command.
Your source
program is now ready for compilation.
The example in Figure 8 shows the creation of an assembler source
program.
r----------------------------------------------------------------------,
I
READY
I
edit
progl
new
asm
I
INPUT
I
I
I
source program
J
I
I
EDIT
I
save
I
SAVED
I
end
J
READY
L _____________________________________________________________________ _
Figure
8.
Creating an assembler source program
64
TSO Terminal User's Guide
(Release 21.7)

Advertisement

Table of Contents
loading

Table of Contents