hit counter script

Storing A Data Set - IBM System 360 User Manual

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

Advertisement

If you list a line-numbered data set, the system will suppress up to
three leading zeros in each line number, and separate the line number
from the data with a blank.
The line number prints to the left of the
data.
For example, data with an 8-digit line number would print:
list
00010 LINE 1 OF DATA
00020 LINE 2 OF DATA
00030 LINE 3 OF DATA
END OF DATA
If you are editing a line-numbered COBOL data set, with a
six-character sequence (line number) field, either one or three leading
zeros will be deleted depending on the command.
For the INPUT command,
one leading zero is suppressed; for the LIST command three leading zeros
are suppressed, as follows:
edit a new cobol
INPUT
00010 identification division
00020 program-ide
calc.
00030 environment division
00040 (null line)
EDIT
list
010 IDENTIFICATION DIVISION
020 PROGRAM-ID.
CALC.
030 ENVIRONMENT DIVIVION
END OF DATA
Storing a Data Set
The data set you have created or the changes you made to a previously
existing data set are retained by the system only until you finish using
the EDIT command and its subcommands.
That is, as soon as you notify
the system that you want to use another command and you get a READY
message, your newly created data set, or your new set of changes, is
discarded..
If you want the system to make your new data set a permanent
data set, or if you want the system to incorporate your changes into the
existing data set, you must use the SAVE subcommand of the EDIT command.
For example, in the following sequence you create a data set named
RECORDS and ask the system to store it as a permanent data set:
READY
edit records new data
INPUT
00010
00020
00030
00040
EDIT
save
SAVED
end
READY
project 21
7/10-8/25
project 23
7/10-9/12
project 39
8/1-9/15
(null line)
a. jones
.p .• smith
r. brown
Entering and Manipulating Data
51

Advertisement

Table of Contents
loading

Table of Contents