OPEN
[ ACTIVE | MAIN | STORAGE ]
[ DSNAME(dslist) | DATASET(dslist) ]
[ FILE(ddlist) | DDNAME(ddlist) ]
[ PATH(path-name ...) ]
[ DEFAULT ]
[ CONDITIONALLY | UNCONDITIONALLY ]
[ PRINT [(options) ] ]
-------- SETDEF-Defined Parameter -------------------------
Note: You can override the following SETDEF parameters.
See SETDEF subcommand — set defaults.
[ TEST | NOTEST ]
[ CONFIRM | NOCONFIRM ]
ACTIVE, MAIN, or STORAGE directs IPCS to prepare to access central storage as the source.
DSNAME or DATASET specifies the name of one or more cataloged data sets to be opened.
FILE or DDNAME specifies the ddname of one or more data sets to be opened.
When specifying more than one data set or ddname, separate the names with commas or blanks. When specifying a range of ddnames, separate the first and last ddname with a colon.
OPEN FILE(IPCSDDIR) indicates that you want to open the data set for your dump directory. You have to specify IPCSDDIR explicitly; specifying a range of ddnames does not include the dump directory. For further information about default values and restrictions for dump directories, see the CLOSE subcommand.
IPCS changes the current source in both the local and global defaults. If you omit this parameter, or if the subcommand fails, the current source is not changed in the defaults.
For CONDITIONALLY, IPCS does not issue messages about the data being open.
For UNCONDITIONALLY, IPCS issues messages about the data set being open. UNCONDITIONALLY is the default.
[ FILE(ddname|IPCSPRNT ]
[ DDNAME(ddname|IPCSPRNT ]
[ TITLE('text' ['time-stamp']) ]
[ TOC(FILE(ddname|IPCSTOC)) ]
[ CAPS ]
[ ASIS ]
[ CHARS(DUMP) ]
[ DISP|EXTEND|REUSE ]
If you omit CAPS, ASIS or CHARS(DUMP), ASIS is the default.
If the logical record length for the IPCS print data set will not accommodate the text of the title plus a time stamp and a page number, the text is truncated.
If text is omitted, IPCS uses the title extracted from the default dump data set. When processing multiple dumps during a single session, IPCS uses the default titles for each new dump encountered.
If IPCS cannot use the title from the default data set, but a userid is available, IPCS places on each page “IPCS PRINT LOG FOR userid” and the date and time that IPCS began problem analysis. If the userid is unavailable, “IPCS PRINT LOG” appears.
Restriction: When using IPCS in the background, the title will not contain the phrase “FOR userid” unless you use the TSO/E TMP and specify a USER parameter in the JCL JOB statement.
The time-stamp is the time that a problem occurred rather than the time that the problem analysis started.
Enclose the time stamp in single quotation marks.
If time-stamp is omitted, IPCS provides a date and time on the first line of each printed page indicating the time that the problem analysis started.
See Standard subcommand return codes for a description of the return codes produced by the OPEN subcommand.
COMMAND ===> open print (toc(file(mytoc)) caps)
File mytoc contains entries, which are written in uppercase.
COMMAND ===> open print (title ('A Troubled Dump' '12-07-81'))
‘A Troubled Dump 12-07-81’ appears on each page of the IPCS default print data set (IPCSPRNT).