VIEW command

The VIEW command invokes a new nested VIEW session, or opens a new MSL with the default meaning of SELECT and S set to VIEW. The VIEW command is used to display sequential data sets and members of partitioned data sets. The displayed data can be changed, but not saved, unless specifically authorized on a confirmation panel. VIEW provides a BROWSE-like facility with the power of EDIT. VIEW cannot display load module format data sets, but automatically invokes BROWSE to do so.

Depending on how Data Set Commander is installed at your site, VIEW may also process VSAM files, Librarian or Panvalet files, Db2 tables, and installation-defined objects.

Syntax

Read syntax diagramSkip visual syntax diagramVIEWcurr_lib_member_namecurr_lib_patterndsname( member_name)DSNpatt( MEMpatt), volserobject_name

Operands

curr_lib_member_name
The name of a member in the current library, or the last library processed (or, if the screen has been split, the last library processed in this split).
curr_lib_pattern
A member name pattern using the wildcard characters % and * to match the name or names of one or more members in the current library, or in the last library processed (or, if the screen has been split, the last library processed in this split).
dsname
The name of the dataset you wish to view.
member_name
The name of a member in the library specified.
DSNpatt
A data set name pattern using the wildcard characters % and * to match the name or names of one or more data sets in the library specified.
MEMpatt
A member name pattern using the wildcard characters % and * to match the name or names of one or more members in the library specified.
volser
The volume serial holding the members you wish to view.
object_name
The name of a DSC supported object, such as a Db2 object (if supported) or UNIX file; see Table 1.

Usage notes

If the data set specified is a library and you have not specified a particular member (that is, you have specified only the library name, or have specified a pattern), a member selection list is displayed.

An unqualified two-level data set name must be entered with a leading period to distinguish it from a member name. (If your TSO profile is set to NOPREFIX, a name entered with a leading period refers to a single-level data set name.)

Note: VIEW can be abbreviated to VI (as a command shortcut), subject to change by the local Data Set Commander admin. The MSL line command V, which can be entered as a main command, invokes a VIEW session on one or more members in the current library.

Examples

VIEW
VIEW ACCTSTAT
VIEW ACCT*
VIEW 'PAYROLL.PROD.COBOL'
VIEW 'PAYROLL.PROD.COBOL',PROD02
VIEW 'PAYROLL.PROD.COBOL(ACCT1)'
VIEW 'PAYROLL.PROD.COBOL(ACCT*)'
VIEW DEV.COBOL(PAY*)
VIEW .TESTLIST