Prompts For Loading A Cobol Program; Prompts For Run-Time Options - IBM 5280 Programmer's Manual

Distributed data system, cobol
Hide thumbs Also See for 5280:
Table of Contents

Advertisement

5.
Responds to prompts, if any, in specifying printer files required by the
program.
The following sections show the layout of each prompt and explains the
various responses that are possible.
Prompts for Loading a COBOL Program
To load the COBOL program, respond to the following prompt:
a
0001
A 16
40
Program name:
Device address:
Partition number:
Press ENTER
1.
Insert the diskette containing the COBOL program.
2.
Enter the name of the data set that holds the COBOL program after
Program name.
3.
After
Device address,
enter the address of the device where the diskette
containing the COBOL program is inserted.
4.
Enter the number of the partition where the program will execute after
Partition number. (If
a partition number is not entered, the number
defaults to the number of the partition associated with the keyboard.)
5.
Press the Enter key.
Prompts for Run- Time Options
User Parameter
If the PROMPT option (described in Chapter 7) is in effect, the following
prompts will appear. Either press the Enter key to accept the default options
as displayed, or change the options as desired and press the Enter key.
User parameters:
parm
Debug option (1=Debug, 2=Nodebug):
UPSI switch values:
00000000
SYSOUT Device (1=Display, 2=Printer):
2
Device address:
8000
Press Enter
parm
represents parameters the operator can enter. The maximum number of
characters for
parm
is 50.
The contents of the user parameter are determined when the COBOL
program is written. The data to be passed is described in the Linkage Section
of the Data Division of the first routine in the COBOL program to receive
control after invocation. The following statements show the entries required
to describe a ten-byte parameter:
LINKAGE SECTION.
01 PARMI.
02 PARMI-STRING PIC X(lO).
8- 8
IBM 5280 COBOL Programmer's Guide

Advertisement

Table of Contents
loading

Table of Contents