Syntax
)MARIK size number of files to mark starting file number [device]
where:
- size is an integer specifying the size of each file in 1024-byte (1 K) blocks of
storage.
The folbwing formulas can be
used to determine what size a file should be
marked. The formula for a workspace file (the contents of the active workspace
written to tape with a )SAVE or )CONTINUE command) is
MAXSl ZIE= 3+ r (CLEAR-ACTIVE)+1024, where:
I
.I
0 MAX$IZE is the maximum amount of tape storage (number of 1024-byte
blocks) that would be required to write the contents of the active workspace
to tape.
0 CLEAR is the value of DWA (see Chapter 5) in a clear workspace.
ACTIVE is the value of C]WA just before the contents of the active workspace
are written to tape.
The formula for a data file (data written to tape using an APL shared variable
-see Ch’apter 8) when all of the data is contained in the active workspace is
MAXSIZE= r (WITHOUT-WITH) + 1024, where:
0 MAXSIZE is the maximum amount of tape storage (number of 1024-byte
blocks) required to write the data to tape.
0 WITH is the value of OWA (see Chapter 5) with the data in the active work-
space,
0 WITHOUT is the value of OWA before any data to be written to tape was
stored in the active workspace.
There is no formula for determining what size to mark a data file when the data
is writtdn to tape as it is entered from the keyboard. The amount of tape storage
required depends upon how much data is entered from the keyboard and what
type of data is used. For information on how many bytes of storage are required
by the iarious types of data, see Storage Considerations in Chapter 9.
qer of files to ma rk is an integer specifying the number of files of the
specified size to format.
starting file number is an integer specifying the file number where formatting
is to start.
deviqe (optional) specifies the tape unit that contains the tape to be formatted.
An entry of 1 specifies tape unit 1 and 2 specifies tape unit 2. If no entry is
made, tape unit 1 is assumed.
I 20
To format a tape for four 12K files, two 16K files, and three 10K files, the
following commands are required:
)MARK
)MARK
)MARK
12
16
10
The )MODE Command
5 --Starting file number
7/
!I
The )MODE command is used to load the 5100 communications program from a
tape mounted in tape drive 1 and to place the system in communications mode
(see IBM 5100 Communications Reference Wnual, SA21-9215). When the system
is in communications mode, APL is no longer available.
Syntax
)MODE COM
The )OUTSEL Command
The )OUTSEL command specifies which data on the display will go to the printer.
Syntax
IOUTSEL [o~tion]
where:
option is one of the following:
0 When ALL is specified, all subsequent information that is displayed will be
printed.
8 When OUT is specified, only the output is sent to the printer; input is dis-
played, but it does not go to the printer.
0 When OFF is specified, none of the information displayed is printed, unless
it is assigned to an APL shared variable used by the printer (see Chapter 7).
If no parameter is specified, ALL is assumed. After a )LOAD or )CLEAR com-
mand or when the machine is first turned on, the ALL option is active.
21
Previous Page Next Page