Listing The Contents Of 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

Your data set would look like this:
00003 LINE 1 OF DATA
00006 LINE 2 OF DATA
00009 LINE 3 OF DATA
00012 LINE
4
OF DATA
00015 LINE 5 OF DATA
If you want to override the existing line number increment' use the
increment operand on the INPUT subcommand .•
Listing the Contents of a Data Set
The LIST subcommand allows you to display the contents of a data set at
your terminal.
To list the entire contents of the data set, enter:
list
your data set is listed here
To list a group of lines, enter the number. of the first and last
lines of the group.
For example, to list lines 20 through 110 of the
data set, enter:
list 20110
If your data set does not have line numbers. you can use the current
line pointer and the number of lines to be listed.
For example, to list
the 20 lines that begin with the line indicated by the pointer enter:
list
*
20
To list only one line." indicate the line number or the current line
pointer..
For example, if you wish to list line 22, enter:
list 22
If you want to list the line pointed at by the current line pointer,
enter:
list
*
You can use the SNUM operand to suppress listing the line numbers of
a line-numbered data set.
(If your data set does not have line numbers,
this operand has no effect.)
For example, any of the following commands
produces a listing of the lines indicated without their line numbers:
list snum
list 20 110 snum
list
*
20 snum
list 22 snum
list
*
snum
The LIST subcommand uses a standard listing format.
I f
you list a
non-line numbered data set, or a line numbered data set using the SNUM
operand (to suppress line numbers), the lines displayed will consist of
only the data portion of the
records~
For example, to list a non
line-numbered data set:
list
LINE
1
OF DATA
LINE
2
OF DATA
LINE
3
OF DATA
END OF DATA
50
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents