DFSMSdss Storage Administration Manual
DFSMSdss Storage Administration Manual
DFSMSdss Storage Administration Manual
IBM
SC26-4929-04
IBM
SC26-4929-04
Note!
Before using this information and the product it supports, be sure to read the general information under Notices on page ix.
Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Interface Information
. . . . . . . . . .
Trademarks . . . . . . . . . . . . . . . . . . . . . . . .
Do You Have Problems, Comments, or Suggestions?
Preface . . . . . . . . . . . . . . . .
Required Product Knowledge . . . .
How to Tell if a Book is Current . .
Required Books . . . . . . . . . . . .
Related Books
. . . . . . . . . . . .
Other DFSMS/MVS Publications
The Storage Management Library
MVS/ESA . . . . . . . . . . . . . .
Other Related Publications . . . .
Summary of Changes
Publication Updates .
Fifth Edition
. . . .
Fourth Edition . . .
Third Edition . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .
. .
. .
. .
. .
. .
. .
. .
. . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
xi
xi
. xi
. xi
xii
xii
xii
xiii
xiii
. . . . . . . . . . . . . . . . . . . . . . . . . .
ix
ix
x
x
. .
. .
. .
. .
. .
. .
. .
. .
xv
xv
xv
xv
xvi
1
1
2
2
3
5
7
9
11
11
11
12
12
12
13
14
14
19
19
21
21
21
21
21
22
22
22
iii
|
|
iv
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
22
22
23
23
24
26
29
29
30
33
34
34
35
38
39
39
40
42
43
71
71
72
77
80
80
80
81
82
82
82
87
88
89
90
90
91
92
93
110
111
111
112
113
117
117
118
123
124
125
125
126
134
135
135
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
Contents
136
136
137
138
139
166
169
170
172
177
177
177
177
178
178
178
179
180
183
185
185
186
186
187
188
190
190
190
192
196
201
202
202
202
203
203
203
207
207
207
208
208
209
209
209
210
210
211
213
213
213
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
vi
. . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
213
215
215
215
216
216
216
217
218
218
221
222
223
223
223
224
224
224
230
230
230
231
231
231
237
237
237
237
237
237
238
238
238
241
241
242
243
243
243
244
244
245
246
248
249
250
251
252
252
253
253
255
255
258
259
259
260
263
264
264
264
265
265
266
266
266
267
267
267
267
268
268
268
268
269
269
269
269
270
270
270
271
274
275
277
277
277
278
282
282
284
284
. . . .
287
. . . . . . . . . . . . . . . . . . . . . . . .
307
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. . . . . . . . . . . . . . . . . . . . . .
311
311
311
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
313
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
323
Glossary
Index
. .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
Contents
vii
viii
Notices
References in this publication to IBM products, programs, or services do not imply
that IBM intends to make these available in all countries in which IBM operates.
Any reference to an IBM product, program, or service is not intended to state or
imply that only IBMs product, program, or service may be used. Any functionally
equivalent product, program, or service that does not infringe any of IBMs
intellectual property rights or other legally protectible rights may be used instead of
the IBM product, program, or service. Evaluation and verification of operation in
conjunction with other products, programs, or services, except those expressly
designated by IBM, are the users responsibility.
IBM may have patents or pending patent applications covering subject matter in
this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 154-1785
USA
ix
Trademarks
The following terms are trademarks of the IBM Corporation in the United States or
other countries or both:
AIX
CICS
DFSMS
DFSMS/MVS
DFSMSdss
DFSMShsm
ESA/370
ESA/390
ES/9000
Hiperspace
IBM
MVS/ESA
OpenEdition
OS/390
RACF
RAMAC
System/370
System/390
S/370
S/390
|
|
|
|
Your suggestions and ideas can contribute to the quality and the usability of this
book. If you have problems in using this book or if you have suggestions for
improving it, please complete and mail the readers' comments form found at the
back of the book.
|
|
|
|
Preface
This manual describes the DFSMSdss commands, and it is intended for the storage
administrator and the system programmer. Its purpose is to explain the command
syntax to perform various storage management tasks.
Required Books
Familiarize yourself with the information presented in the following books:
DFSMS/MVS General Information (GC26-4900) introduces you to DFSMSdss
and helps in evaluating its use.
xi
Related Books
The following books are associated with procedures described in this reference:
SC26-4906
SC26-4905
DFSMS/MVS Macro
Instructions for Data Sets
SC26-4913
DFSMS/MVS Managing
Catalogs
SC26-4914
DFSMS/MVS DFSMSdfp
Storage Administration
Reference
SC26-4920
DFSMS/MVS DFSMShsm
Storage Administration Guide
SH21-1076
DFSMS/MVS DFSMShsm
Storage Administration
Reference
SH21-1075
DFSMS/MVS Utilities
SC26-4926
xii
Order
Number
Short Title
Order
Number
Short Title
Publication Title
DFSMS/MVS Implementing
System-Managed Storage
SC26-3123
SC26-3124
Title
Order Number
GC28-1762
GC28-1910
GC28-1757
GC28-1758
Short Title
Publication Title
Order
Number
GC28-1912
SC28-1915
MVS/ESA
Preface
xiii
xiv
Summary of Changes
This summary of changes includes specific release updates to this book.
Publication Updates
|
|
|
Fifth Edition
The following new information has been added to the DFSMS/MVS Version 1
Release 5 edition:
|
|
Support for extended-format VSAM data sets, including data set COPY, logical
data set DUMP and RESTORE, and logical RELEASE support.
|
|
|
|
|
|
|
In addition, fresh examples of printed output are included, along with technical and
editorial updates.
Fourth Edition
The following information has been added to update the original DFSMS/MVS
Version 1 Release 4 edition in a subsequent, softcopyonly release:
The incorporation of SnapShot using DFSMS COPY and DUMP commands.
Snapshot support is added to Eioption 24 (Concurrent Copy Initialization
Complete) for new reason and return codes.
Additional requirements are provided for dumping and restoring HFS type data
sets when using the DFSMSdss Cross Memory Application Interface (XMAPI).
The following information was added with the original DFSMS/MVS Version 1
Release 4 edition:
The new Stand-Alone Services program replaces the existing Stand-Alone
restore function.
The BUILDSA command allows you to build an IPL-able core image for the
new Stand-Alone Services program.
The SELECTMULTI keyword replaces the ALLMULTI keyword for the
CONVERTV, COPY, and DUMP commands.
The FORCECP keyword allows checkpoint/restart data sets to be processed be
the CONVERTV, COPY, DUMP, DEFRAG, RELEASE, and RESTORE
commands.
The CPVOLUME keyword supports VM-format volumes with the COPY, DUMP,
and RESTORE commands.
In addition, fresh examples of printed output are included for DEFRAG and PRINT
operations, and for the DFSMSdss User Interaction Module (UIM).
Copyright IBM Corp. 1984, 1999
xv
Third Edition
Information has been added to this DFSMS/MVS Version 1 Release 3 edition to
support:
The 7-digit (yyyyddd) date format, in addition to the existing 5-digit (yyddd)
format, for Year 2000.
Backup-while-open serialization for IMS data sets.
The optional VOLCOUNT keyword for data set RESTORE and data set COPY
of SMS data sets.
VSAM extended addressability, which provides additional addressability to data
in a VSAM key-sequenced data set.
VSAM record level sharing (RLS), which provides access to shared
SMS-managed VSAM data sets in a multisystem environment. User exits 22,
23, and 24 in Appendix C are updated.
A new section, Appendix E, Data Set Attributes , details how data set
attributes are affected by various components of the DFSMSdss environment.
Changes to the DFSMSdss UTILMSG parameter that allow more control over
which DFSMSdss utility messages are sent to the SYSPRINT output data sets.
IBM 3494 and 3495 tape libraries.
In addition, information for the existing DFSMSdss Stand-Alone restore function has
been consolidated into this book. Some of this information was formerly in
Appendix C in DFSMS/MVS DFSMSdss Storage Administration Guide.
xvi
Command Syntax
Command Syntax
You can write DFSMSdss commands in free form in columns 2 through 72
(inclusive). Any character in column 1 or past column 72 is ignored, causing
unpredictable results when the task is processed. Syntax requirements are:
Commands: A command must appear first, followed by its keywords. Each
command must take up only one line, unless a continuation character is
used to indicate continuation of the command on the next line. A
command is separated from its keywords by one or more blanks, a
comment, or both. For example:
DUMP FULL INDD(DASD1) OUTDD(TAPE1)
or
DUMP FULL INDD(DASD1)
OUTDD(TAPE1)
Comments: A comment is a string of characters that begins with a /* and ends
with an */. For example:
/\THIS IS A COMMENT \/
A comment that does not begin and end on the same line must contain
a continuation character, or syntax errors will result. For example:
/\ THIS IS A MULTI
LINE COMMENT \/
Separators: A separator can be a comma (,), one or more blanks, or a comment.
Separators shown in the syntax diagrams in this manual are always
commas, but any of the three types can be used.
Keywords: Keywords are separated from one another by one or more separators.
Subkeywords: Subkeywords follow their associated keywords and are separated
from them by a pair of enclosing parentheses. One or more blanks can
precede and follow each parenthesis in the pair. For example:
REBLOCK( DATASET1 )
or
REBLOCK(DATASET1)
(FILTERDD(ddn))
(DDNAME(ddn))
(ddn)
(ddn)
Syntax Conventions
Syntax Conventions
TGTAlloc(SOURCE)
55
TGTAlloc(BLK)
CYL
TRK
SOURCE
SRC
The repeat symbol is shown below:
The repeat symbol appearing above keywords and variables indicates that you
can specify those keywords and variables more than once. If a comma appears
in the repeat symbol, you must separate repeated keywords or variables with a
comma or any valid separator.
For example, after the keyword BYPASSACS, you can enter multiple data set
names separated by commas.
,
6dsn)5
5BYPASSACS(
Substitution blocks are used to simplify the diagrams. They indicate that blocks
of the syntax diagram are located outside of the main diagram. You insert the
keywords for that block where the symbol appears, and return to the main
diagram to continue with the command.
In the following example the substitution block, A, points to a block of the
syntax diagram that immediately follows the FULL keyword.
55RESToreFULL5%
A
A: Optional Keywords Used with FULL:
55
CANcelerror COPYVolid
CPYV
55RESToreFULL5%
CANcelerror COPYVolid
CPYV
JCL
Usage
JOB (required)
EXEC (required)
JCL
input DD (optional)
output DD (optional)
JCL
filter DD (optional)
password DD (optional)
For more information on coding JCL, refer to OS/390 MVS JCL Reference.
JCL
nnnn for SMSGCNT can be a number between 1 and 9999. The default is 1
(first occurrence). This keyword is provided for diagnostic purposes only.
TMPMSGDS=YES|NO
This parameter indicates whether or not a temporary SYSPRINT message data
set is to be allocated. When NO, SYSPRINT messages are buffered in an ESA
Hiperspace and performance is improved. The default is NO.
TRACE=YES
When used during a defragmentation operation, this prints messages that
indicate the relocated extents. This is a diagnostic tool.
TYPRUN=NORUN
For copy, dump, restore, compress, and release operations, only input data set
selection is done without actually processing data sets. Printed output for the
run indicates the data sets selected. For a defragmentation operation, the initial
volume statistics are printed without actually relocating any extents. For a
CONVERTV operation, a full report is produced, but no volumes or data sets
are actually converted.
TYPRUN=SCAN
Only control card syntax checking is done. No tasks are processed.
UTILMSG=YES|NO|ERROR
This parameter controls the output of messages from auxiliary programs
invoked by DFSMSdss (including ICKDSF, IDCAMS, IEBCOPY, IEBISAM, and
IEHMOVE) to the DFSMSdss SYSPRINT output. When YES, informational,
warning, and error messages from these auxiliary programs are copied to the
DFSMSdss SYSPRINT output. When NO, messages are not copied to the
output. When ERROR, messages are copied only if the auxiliary return program
returns an error code to DFSMSdss. The default is ERROR.
WORKUNIT=workunit
You can supply an esoteric DASD unit name (for example, SYSDA), a generic
DASD unit name (for example, 3380), or a specific DASD address. DFSMSdss
passes this unit to dynamic allocation when temporary data sets are allocated.
When WORKUNIT is specified by itself, the volumes to be processed by
DFSMSdss should not fall within the esoteric group passed as the WORKUNIT
name. If the esoteric name applies to the volumes to be processed by
DFSMSdss, specify WORKVOL.
WORKVOL=volser
You can supply a volume serial number on which DFSMSdss should allocate
temporary data sets. DFSMSdss passes the volume serial number to dynamic
allocation. The volume serial number passed as a WORKVOL should not be
the same as any volume being processed by DFSMSdss under the current
task.
Notes:
1. WORKUNIT, WORKVOL, or both parameters can be specified when
invoking DFSMSdss.
2. When DFSMSdss invokes the IDCAMS utility to copy an ICF user catalog,
the export data set is allocated as a permanent data set. The permanent
data set cannot be placed on the volume specified by WORKUNIT or
WORKVOL.
JCL
3. An esoteric unit name that requests virtual I/O can be used in the
WORKUNIT parameter, but when DFSMSdss invokes the IEHMOVE utility
during data set copy, the default dynamic allocation unit name is used
(SYSALLDA).
XABUFF=ABOVE16|BELOW16
The I/O buffers used by DFSMSdss for COPY, COPYDUMP, DEFRAG, DUMP,
PRINT, and RESTORE operations are to be above or below 16 megabytes
virtual storage. The default is ABOVE16.
Examples of PARM information are:
//
//
//
EXEC
PGM=ADRDSSU,
PARM='PAGENO=8,LINECNT=57,SIZE=5K,UTILMSG=YES'
EXEC
PGM=ADRDSSU,PARM='TYPRUN=SCAN,XABUFF=ABOVE16'
//MYJOB
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//DASD2
DD
UNIT=339,VOL=(PRIVATE,SER=222222),DISP=OLD
//SYSIN
DD
\
COPY DATASET(INCLUDE(MYDATSET)) LOGINDDNAME(DASD1) OUTDDNAME(DASD2) DELETE CATALOG
/\
JCL
//MYJOB
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//TAPE
DD
UNIT=348,VOL=SER=TAPE1,
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=MYDATSET.BACKUP
//SYSIN
DD
\
DUMP DATASET(INCLUDE(MYDATSET)) INDDNAME(DASD) OUTDDNAME(TAPE)
/\
//MYJOB
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//TAPE
DD
UNIT=348,VOL=SER=TAPE1,
// LABEL=(1,SL),DISP=(OLD,KEEP),DSNAME=MYDATSET.BACKUP
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//SYSIN
DD
\
RESTORE DATASET(INCLUDE(MYDATSET)) INDDNAME(TAPE) OUTDDNAME(DASD) REPLACE
/\
10
Filtering
11
component for the cluster is also selected. Again, the one exception is the
DEFRAG command, that requires index components to pass all BY criteria.
DFSMSdss supports the BY criterion EXPDT as it exists in the VTOC only.
For a physical data set RESTORE, to prevent index components from being
restored inadvertently, you must specify the fully qualified name of the cluster.
For data set print operation, the fully qualified name of the data set to be
printed is required. Support is at the component, not the cluster, level.
12
Consequently, specifying
I%M.A.%AT%%ET
matches the data set names
IAM.A.DATASET
IBM.A.BATTYET
but not
IAM.A.DATASE
IAM.AA.DATASET
IAM.A.ATASET
IM.A.DATASET
SYS1.UTIL3.LOAD
The first qualifier is SYS1, the second, UTIL3, and the third,
LOAD.
SYS1.\\
USER2.\\.LIST
All data sets whose first and last qualifiers are USER2 and
LIST, respectively, including USER2.LIST.
All data sets with two qualifiers whose last qualifier is LOAD.
SYS1.\
All data sets with two qualifiers whose first qualifier is SYS1.
SYS1.\.LOAD
All data sets with three qualifiers whose first and last
qualifiers are SYS1 and LOAD, respectively.
SYS1.UT\.LIST
All data sets with three qualifiers whose first and last
qualifiers are SYS1 and LIST, respectively, and whose
second qualifier begins with UT.
\\.\LIB
All data sets whose last, or only, qualifier ends with LIB.
\\.\LIB\
All data sets whose last, or only, qualifier has LIB in it.
\.\PLI\.\
All data sets with three qualifiers whose second qualifier has
PLI in it.
\.\.P\M
All data sets with three qualifiers whose last qualifier begins
with P and ends with M.
\\
%.LIST
All data sets with one character in the first qualifier and LIST
in the last qualifier.
13
USER%.\
All data sets with two qualifiers whose first qualifier is USER
followed by some other character.
\%%\
Note: Single quotation marks around a data set name indicates the name is fully
qualified. For example, specifying USER.% selects a data set whose first
qualifier is USER and whose second qualifier is the character %. This data
set is selected using the filter USER.\ because the wildcard (*) matches the
character %.
dsn(x)
dsn(+x)
dsn(*)
For logical operations using catalog filtering, you must use either the fully qualified
data set name, the partially qualified base name with the last qualifier (GggggVvv)
not specified (for example, USER1.GDG.*), or the above relative generation
filtering. Partial qualification of the last qualifier (GggggVvv) is not supported unless
a wildcard (* or %) is specified in the first character of the qualifier. For example,
USER1.GDG.*V01 is valid but USER1.GDG.G%%10* is not.
Note: Relative generation filtering is not applicable when using the CONVERTV,
COPYDUMP, or PRINT functions. These functions do not allow filtering of
any kind.
6
5BY((schar,op,(6arg)))5
14
Where
Represents
schar
Criteria
ALLOC
op
arg
CATLG
CREDT
DSCHA
DSORG
EXPDT
EXTNT
FSIZE
MULTI
REFDT
DATACLAS
MGMTCLAS
STORCLAS
The operator:
Operator
Meaning
EQ or =
Equal to
LE or <=
LT or <
Less than
GT or >
Greater than
GE or >=
NE or =
Not equal to
Data sets without expiration dates explicitly assigned to them are considered to have an expiration date of zero. If you wish to
exclude these data sets from expiration date processing, you must specifically exclude them in your filtering list, that is, BY
EXPDT NE 0000000.
Single volume data sets that have been allocated but have never been opened and are not cataloged may be selected as
multivolume.
Chapter 2. FilteringChoosing the Data Sets You Want Processed
15
op
arg
Notes
ALLOC
EQ
NE
CYL (cylinder
allocation)TRK (track
allocation)
BLK (block length
allocation)
ABSTR (absolute track
allocation)
MOV (movable data sets)
EQ
|
|
|
|
|
YES (or 1)
NO (or 0)
YES: Only currently cataloged data sets are processed. NO: Only
uncataloged data sets are processed. DUMP command: The CATLG
filter is valid only when used with an input volume list (INDD, INDY,
LOGINDD, LOGINDY, STORGRP). COPY command: The CATLG
filter is valid only when used with an input volume list (INDD, INDY,
LOGINDD, LOGINDY, STORGRP). RESTORE command: The target
data set is tested to determine if it is cataloged or not.
Notes:
1. Data sets cataloged via JCL are not cataloged until the job step
ends. Therefore, when you use the (CATLG,EQ,NO) filter, you
should also use a CREDT or REFDT filter. The value used in the
CREDT or REFDT filter should be for data sets at least two days
old: (CREDT,LE,*,-2) or (REFDT,LE,*,-2).
2. A data set is considered uncataloged if it is not cataloged in the
standard order of search or if it is cataloged in an unavailable
catalog.
CREDT
EXPDT
REFDT
LT
GT
EQ
NE
GE
LE
DSCHA
16
EQ
NE
YES (or 1)
NO (or 0)
The preferred form of a date has a 4-digit year (yyyyddd). When you
specify a date with a 4-digit year other than a date of all zeros, the
smallest valid date before modification is 1900001. When you specify a
date with the 2-digit year format (yyddd), a yy of 00 through 49
indicates years 2000 through 2049; a yy of 50 through 99 indicates
years 1950 through 1999. You must use the 4-digit year format if you
wish to filter on years 1900 through 1949 or on years higher than 2049.
CREDT and EXPDT: For a multivolume data set, the date from its first
volumes VTOC is used for checking.
EXPDT: When you specify a date of 99365 or 1999365, you are
specifying the last day of 1999. When you specify EXPDT with NEVER,
99366, 1999366, 99999, 1999999, or 9999999, you ask DFSMSdss to
look for all valid forms of never-expire dates (including 99365 in a data
sets VTOC entry). Therefore, BY(EXPDT,EQ,1999365) selects no
data sets. DFSMSdss considers the valid forms of never-expire dates
as equal to each other and as greater than all other dates. A
never-expire date cannot be modified and cannot be specified with the
GT operator.
REFDT: For a multivolume data set, the latest date from all its VTOCs
is used for checking. RELEASE and DEFRAG commands: The date
in the VTOC of the volume being processed is used for filtering both
single- and multivolume data sets.
For a multivolume data set, the value used for checking is 1 if any of
the indicators from all of its VTOCs is 1. Otherwise, the value is 0.
op
arg
Notes
DSORG
EQ
NE
YES (or 1)
NO (or 0)
MULTI
EQ
Note: Single volume data sets that have been allocated but have
never been opened and are not cataloged may be selected as
multivolume.
DATACLAS EQ
MGMTCLAS NE
STORCLAS
17
op
arg
Notes
EXTNT
FSIZE
LT
GT
EQ
NE
GE
LE
|
|
|
|
|
|
|
FSIZE criteria are applied once for each volume being processed
of a non-VSAM or VSAM data set. For HFS data sets, FSIZE
equates to the allocated space, not the space actually used.
EXTNT criteria are applied once for each volume being processed
of a non-VSAM data set or VSAM data component. If a VSAM data
component residing on a volume is selected by EXTNT filtering, the
index component (if any) residing on the same volume for the
cluster is automatically selected.
FSIZE and EXTNT can be used to select certain volumes of a
multivolume data set without selecting all of the volumes that the
data set resides on.
DEFRAG commands:
For VSAM data sets, EXTNT and FSIZE criteria are applied at the
VSAM component level for the volume being processed only.
EXTNT and FSIZE filtering are performed for both VSAM data and
index components; VSAM index components are not automatically
selected if the data component for the cluster is selected.
For non-VSAM data sets, EXTNT and FSIZE criteria are applied for
the volume being processed only. For HFS data sets, FSIZE
equates to the allocated space, not the space actually used.
|
|
|
Notes:
1. When multiple arguments are specified for an NE operation, DFSMSdss selects only those data sets not matching any of
the arguments.
2. When multiple arguments are specified for an EQ operation, DFSMSdss selects those data sets matching any of the
arguments.
3. BY criteria do not apply for the CONVERTV or COPYDUMP commands.
18
19
20
SyntaxFunction Commands
BUILDSA
COMPRESS
CONVERTV
COPY
COPYDUMP
DEFRAG
DUMP
PRINT
RELEASE
RESTORE
There are several functions that DFSMSdss commands can perform. A feature of
the DFSMS COPY and DUMP commands is the incorporation of Snapshot support.
Move
Move
Move
Move
21
SyntaxFunction Commands
|
|
You can move data sets from one DASD volume to another volume of like or unlike
device type.3
|
|
|
|
|
However, if you copy a full volume or ranges of tracks, the DASD must be of like
device type. The user must specify both the source and target volumes. Only one
source volume and one target volume are allowed. See "COPY Command" in this
section. The DFSMSdss COPY command is used to perform data set, volume, and
track movement.
|
|
|
Like devices have the same track capacity and number of tracks per cylinder (for example, 3380 Model D, Model E, and Model K
DASD). Unlike DASD devices have different track capacities (for example, 3380, 3390, and RVA) or a different number of tracks
per cylinder, or both.
22
BUILDSA Command
BUILDSA Command
Use the BUILDSA command to build the IPL-able core image for the Stand-Alone
Services program. With the BUILDSA command you can specify the device (card
reader, tape drive, or DASD volume) from which Stand-Alone Services will be
IPLed. You can also specify the operator console to be used for Stand-Alone
Services.
The BUILDSA function allocates temporary data sets if needed for BUILDSA
processing. These data sets are deleted when the BUILDSA operation is complete.
System-generated, temporary data set names are used.
The BUILDSA function invokes the linkage editor (or Binder) utility. Specify
UTILMSG=YES whenyou run the BUILDSA function, and keep the output as a
debugging reference when you run the Stand-Alone Services program.
The BUILDSA function builds the IPL-able core image under the current operating
system, and determines a record size based on whether the IPL is from card, tape,
or DASD.
Notes:
1. The Stand-Alone Services modules reside in target library SYS1.SADRYLIB
after they are installed and accepted by System Modification Program (SMP) or
System Modification Program Extended (SMP/E). If you name this data set
something other than SYS1.SADRYLIB, then substitute that name for
SYS1.SADRYLIB in the examples shown later in this section.
2. Stand-Alone Services does not support the creation of the core image from an
SMS-managed volume.
3. To ensure that Stand-Alone Services is available when you run from DASD, do
not delete the SYS1.ADR.SAIPLD.Vvolser data set or move it to another
volume.
4. If you IPL from DASD and later change the volume serial number, you must
rerun the BUILDSA function to create a new core image data set with the new
volume serial number in the name.
5. Consider creating a password or providing other security protection for the
SYS1.ADR.SAIPLD.Vvolser data set and for the Stand-Alone Services
modules.
6. Specifying TYPRUN=NORUN with the EXEC statement causes the BUILDSA
task to end without processing input or output.
BUILDSA Syntax
55BUILDSAINDDNAME(ddname1)OUTDDNAME(ddname2)ADMINISTRATOR5
(volser)
OUTDYNAM
55%
CARD
OPERCNSL(ccuu)
IPL(TAPE)
(SERV)
DASD
23
BUILDSA Command
ADMINistrator
55
ADMINistrator
INDDname
5INDDname(ddname1)5
INDDNAME specifies the DD card in the JCL that identifies the partitioned data set
containing the information needed to build the STAND-ALONE Services core
image. This is the target library (SYS1.SADRYLIB) where the Stand-Alone Services
modules are placed after the SMP or SMP/E install is complete.
ddname1 specifies the name of the DD statement that identifies a volume whose
partitioned data set contains the input information.
IPL
55
CARD
IPL(TAPE)
DASD
IPL specifies the type of device from which Stand-Alone Services will be IPLed.
The appropriate loader is then created for the specified device type. If the IPL
parameter is not specified, then the core image is created to IPL from a card
reader.
CARD specifies that the core image be created for IPLing from a card reader.
When IPL(CARD) is specified, the OUTDDNAME parameter must also be specified.
The core image is created with BLKSIZE=80 and LRECL=80, and is placed into the
data set specified by the OUTDD parameter. This core image can be used to IPL
from a card reader or tape drive. Create the output data set with DSORG=PS,
RECFM=F, BLKSIZE=80 and LRECL=80.
24
BUILDSA Command
TAPE specifies that the core image be created in order to IPL from a tape drive.
This core image can only be used to IPL from a tape drive. The tape is created
with a blocksize determined to be the best for IPL of the Stand-Alone Services
program from tape, and IBM therefore recommends that you specify TAPE when
IPLing from a tape drive. Create the output data set with DSORG=PS, RECFM=U,
BLKSIZE=32760, and LRECL=32760. When IPL(TAPE) is specified, the
OUTDDNAME parameter must also be specified.
DASD specifies that the core image be created for IPLing from a DASD volume.
When IPL(DASD) is specified, the OUTDYNAM parameter must also be specified.
The volume specified by the OUTDYNAM parameter is the volume from which the
Stand-Alone Services program will be IPLed. The core image is created with a
record size determined to be the best for IPL of the Stand-Alone Services program
from DASD. It is then placed in data set SYS1.ADR.SAIPLD.Vvolser that is
allocated by Stand-Alone Services on the volume specified in the OUTDYNAM
parameter.
Additionally, the BUILDSA command invokes the ICKDSF REFORMAT command
to place the IPLTEXT and bootstrap records on this volume. The BUILDSA
command provides ICKDSF with IPLTEXT necessary to IPL the Stand-Alone
Services core image.
This core image can only be used to IPL from the DASD volume specified in the
OUTDYNAM parameter. Only the DASD IPL devices listed in Supported Devices
on page 203 are supported with the IPL(DASD) parameter.
Note: Stand-Alone Services does not support the creation of the core image from
an SMS-managed volume.
OPERCNSL
5(ccuu)5
OPERCNSL
(SERV)
OPERCNSL specifies the device address to be used as the operator console when
running Stand-Alone Services.
ccuu specifies that Stand-Alone Services attempt to use the device address as the
operator console instead of using the device that generates the first interrupt.
Specify a valid device that exists in the configuration where the Stand-Alone
Services program will be executed. You can specify a 3 digit or 4 digit address.
SERV specifies that the ES/9000 service console be used as the Stand-Alone
Services operator console instead of a unit address.
When OPERCNSL is not specified, Stand-Alone Services loads a wait-state, and
then waits for the operator console to generate an interrupt. Limited verification of
this parameter is performed during processing of the BUILDSA command. For more
information about the predefined console, see Running Stand-Alone Services with
a Predefined Console on page 187
25
BUILDSA Command
OUTDDname
5OUTDDname(ddname2)5
OUTDDNAME specifies the output location for the IPL-able core image.
ddname2 specifies the DD card in the JCL where the IPL-able core image is
placed when IPL(TAPE) or IPL(CARD) is specified.
See Supported Devices on page 203 for specific IPL devices.
When IPL(TAPE) is specified, it becomes the physical sequential data set where
the core image (including bootstrap) is placed to IPL from a tape drive.
When IPL(CARD) is specified, it becomes the physical sequential data set where
the core image (including bootstrap) is placed to IPL from a card reader. If this is a
DASD data set, you can then punch it to cards or use it in a VM virtual card reader
for IPL.
Specify either OUTDDNAME or OUTDYNAM, not both. When OUTDDNAME is
specified, IPL(CARD) is the default. You can specify the IPL(CARD) parameter or
the IPL(TAPE) parameter.
OUTDYnam
5OUTDYnam(volser)5
OUTDYNAM specifies the output volume serial number for the DASD volume
where the IPL-able core image is placed when IPL(DASD) is specified.
volser specifies the name of the DASD volume from which the Stand-Alone
Services program will be IPLed.
See Supported Devices on page 203 for specific IPL devices.
The IPL bootstrap and IPLTEXT (needed to read in the core image) are placed on
this volume. Additionally, Stand-Alone Services allocates data set
SYS1.ADR.SAIPLD.Vvolser on this volume and places the core image into this data
set. If the SYS1.ADR.SAIPLD.Vvolser data set already exists, StandAlone
Services deletes and reallocates it.
Specify either OUTDDNAME or OUTDYNAM, not both. When OUTDYNAM is
specified, IPL(DASD) must also be specified.
26
BUILDSA Command
loads a wait-state and then waits for the first interrupt to define the operator
console.
Note: The DCB parameters must be coded as shown.
The following example copies the Stand-Alone Services core image (created in
Example 1) to tape.
Note: The DCB parameters must be coded as shown.
//COPYSA
//STEP1
//SYSPRINT
//SYSUT1
//
//SYSUT2
//
//
//SYSIN
/\
JOB
EXEC
DD
DD
DD
DD
accounting information
PGM=IEBGENER
SYSOUT=A
DSN=ADRSA.IPLC,DISP=SHR,VOL=SER=3391,UNIT=339,
DCB=(RECFM=F,BLKSIZE=8,LRECL=8)
DSN=DSSSA,DISP=(,KEEP),VOL=SER=T112,LABEL=(,NL),
DCB=(RECFM=F,BLKSIZE=8,LRECL=8),
UNIT=348
DUMMY
27
BUILDSA Command
28
COMPRESS Command
COMPRESS Command
The COMPRESS command compresses partitioned data sets on a specified
volume. Compressing (degassing) removes unused space between members in a
partitioned data set. Depending on the filtering criteria you specify , you can
compress either all or some of the partitioned data sets. This command is useful for
compressing system partitioned data sets before you apply maintenance (thus
avoiding certain space-related abends).
Note: You must not compress the data sets that contain DFSMSdss or IEBCOPY
executable code.
The actual PDS compression is done on the existing volume using the IEBCOPY
utility. To prevent loss of data if the system or IEBCOPY abnormally ends during
the processing, back up volumes or data sets that meet the filtering criteria before
using the COMPRESS command.
The COMPRESS command cannot process partitioned data sets that:
Are unmovable
Have no directory
COMPRESS Syntax
55COMpress A 5
FILterdd(ddn) ADMINistrator DYNALloc PASsword(ddn)
FDD
PSWD ,
6dsn/pswd
WAIT (2,2)
,
5DDName(6ddn)5%
WAIT(numsecs,numretries)
,
DYNAM(6(volser))
,unit
29
COMPRESS Command
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
EXClude(6dsn) INClude(6dsn)
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
BY(6(schar,op,(6arg)))
ADMINistrator
55
ADMINistrator
BY
,
6(schar,op,(
6arg)))5
5BY(
BY specifies that the data sets selected up to this point, by the processing of the
INCLUDE and EXCLUDE keywords, are to be further filtered. To select the data
set, all BY criteria must be met. See Filtering by Data Set Characteristics on
page 14 for a full discussion of schar, op, and arg. See the separate discussions of
the INCLUDE and EXCLUDE keywords for information on how these keywords are
specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
30
COMPRESS Command
DDName
,
6ddn)5
5DDName(
ddn
specifies the name of the DD statement that identifies a volume whose partitioned
data sets, if selected, are to be compressed. To assure correct processing, each of
the DD statements corresponding to a DDNAME (ddn) must identify only one
volume serial number.
Refer to DFSMS/MVS DFSMSdss Storage Administration Guide for additional
information regarding storage requirements when processing multiple volumes.
DYNALloc
55
DYNALloc
DYNAM
55
6(volser))
DYNAM(
,unit
volser
specifies the volume serial number of a DASD volume to be processed.
unit
specifies the device type of a DASD volume to be processed. This parameter is
optional.
31
COMPRESS Command
EXClude
,
6dsn)5
5EXClude(
dsn
specifies the name of a data set to be excluded from the data sets selected by the
INCLUDE keyword. Either a fully or a partially qualified data set name can be used.
See the separate discussions of the INCLUDE and BY keywords for information on
how they are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
FILterdd
5FILterdd(ddn)5
FDD
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains the filtering criteria to use. This is in
the form of card-image records, in DFSMSdss command syntax, that contain the
INCLUDE, EXCLUDE, and BY keywords that complete the syntax of the
COMPRESS command.
INClude
,
6dsn)5
5INClude(
dsn
specifies the name of a data set eligible to be compressed. Either a fully or a
partially qualified data set name can be used. See Filtering by Data Set Names
on page 12. If INCLUDE is omitted (but EXCLUDE or BY is specified) or if
INCLUDE(**) is specified, all partitioned data sets are eligible to be selected for
compressing. See the separate discussions of EXCLUDE or BY for information on
how these keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
32
COMPRESS Command
Note: You should specify the passwords for all data sets that do not have RACF
protection but do have password protection. During processing, a utility
invoked by DFSMSdss may have to prompt the operator for a password.
You can control authorization checking by using the installation
authorization exit.
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains data set names and their passwords.
This data set must contain card-image records in DFSMSdss command syntax
format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Printing of actual data set passwords specified in your input command stream is
suppressed in the SYSPRINT output.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
WAIT specifies to DFSMSdss the length of a wait in seconds and the number of
retries to obtain control of a data set.
numsecs
is a decimal number (0255) that specifies the interval, in seconds, between retries.
numretries
is a decimal number (099) that specifies the number of times an attempt to gain
control of a data set can be retried.
The default for numsecs,numretries is WAIT(2,2), which specifies two retries at
2-second intervals. If you do not want to wait for a data set, specify 0 for either
numsecs or numretries.
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
33
CONVERTV Command
//JOB1
JOB accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//SYSIN
DD
\
COMPRESS
DYNAM(338)
/\ DYNAM ALLOC VOL 338
EXCLUDE(SYS1.\\)
/\ EXCL 'SYS1....' DATA SETS
/\ IF THEY MEET THIS CRITERION
BY((DSCHA EQ ))
/\ DATA SET WAS BACKED UP
/\
\/ \/ \/ \/
CONVERTV Command
The CONVERTV command is used to convert existing volumes to and from SMS
management without data movement. The CONVERTV command performs three
functions:
Locks volumes that are ready for conversion to prevent new data set
allocations (PREPARE keyword).
Examines volume identified by SMS to determine if they can be converted to
SMS management (TEST keyword). No conversion is actually performed, but
DFSMSdss identifies any data sets that cannot be converted to SMS
management and why they cannot be converted.
Performs conversion of volumes into or out of SMS management. Any
conditions that prevent conversion are identified.
Note: Proper RACF security authorization may be required. Refer to DFSMS/MVS
DFSMSdss Storage Administration Guide for more information.
A
TEST
SELECTMulti(ALL)
NONSMS
SELECTMulti(ALL) FORCECP(days)
SELM
ANY
FIRST
PREPARE
,
5DDName(6ddn)5%
DYNAM(6(volser))
,unit
34
CONVERTV Command
SELECTMulti(FIRST)
55
CATalog SELECTMulti(ALL) REDETermine
SELM
ANY
INCAT(6catname)
FIRST
CATalog
55
CATalog
6catname)
INCAT(
CATALOG specifies that if a data sets catalog entry is not found in the standard
order of search, the data set is to be cataloged during the conversion.
If the CATALOG keyword has not been specified, and a data sets catalog entry is
not found in the standard order of search, the data set is not converted.
INCAT
specifies input catalogs that are not in the standard search order. This allows
non-VSAM data sets cataloged outside the standard order of search to be
processed.
catname
specifies a fully qualified catalog name.
If CATALOG is specified without INCAT, a single volume, non-VSAM data set
cataloged outside the standard order of search might be cataloged in more than
one place.
DDName
,
6ddn)5
5DDName(
ddn
specifies the name of the DD statement that identifies a volume to be processed.
This parameter is required when the DYNAM keyword is not specified.
DYNAM
,
6(volser))5
5DYNAM(
,unit
35
CONVERTV Command
volser
specifies the volume serial number of a DASD volume to be processed.
unit
specifies the device type of a DASD volume to be processed. This parameter is
optional.
FORCECP
55
FORCECP(days)
FORCECP specifies that checkpointed data sets resident on the SMS volume can
be converted to non-SMS management. Checkpoint indications are removed from
the data set during conversion.
days
is a one-to-three-digit number in the range of zero to 255, and specifies the number
of days that must have elapsed since the last referenced date before the data set
can be converted.
INCAT
See the CATALOG keyword.
NONSMS
5NONSMS5
NONSMS specifies that a volume and all of the data sets on that volume are to be
converted from SMS management.
PREPare
5PREPare5
REDETermine
55
REDETermine
REDETERMINE specifies that the SMS class information is to be reset for data
sets previously converted to SMS management whose SMS management class or
SMS storage class do not match those returned by the current ACS routines.
36
CONVERTV Command
REDETERMINE allows management class and storage class to be reset, but does
not update the data class.
If REDETERMINE is used with the TEST keyword, a report is produced specifying
all data sets eligible for conversion, including those already converted.
SELECTMulti
SELECTMulti(ALL)
55
ALL
SELECTMulti(ANY)
SELM
FIRST
ALL specifies that DFSMSdss not process a multivolume data set unless all of the
volumes that contain a part of the non-VSAM data set or VSAM base cluster are in
the volume list specified by DDNAME or DYNAM. ALL is the default for non-SMS
processing.
ANY specifies that DFSMSdss process a multivolume data set when any part of the
non-VSAM data set or VSAM base cluster is on a volume in the volume list
specified by DDNAME or DYNAM.
FIRST specifies that DFSMSdss process a multivolume data set only when the
DDNAME or DYNAM volume list includes the volume that contains the first part of
the non-VSAM data set or the primary data component of the base cluster for a
VSAM sphere. FIRST is the default for SMS processing.
SMS
SMS
55
SMS specifies that a volume and all of the data sets on that volume are to be
converted to SMS management. SMS is the default when the SMS, NONSMS, or
PREPARE keyword is not specified.
TEST
55
TEST
TEST specifies that DFSMSdss is to verify that a volume and its data sets are
eligible for conversion or for preparation. The TEST keyword functions just as if
TYPRUN=NORUN had been specified on the JCL EXEC PARM field. DFSMS must
be active to use this function.
Note: It is also possible to use TEST to verify that the ACS algorithms would
process correctly because the resulting report indicates the classes
associated with the various data sets on the volume.
37
CONVERTV Command
JOB
EXEC
DD
DD
accounting information,REGION=nnnnK
PGM=ADRDSSU
SYSOUT=A
\
JOB
EXEC
DD
DD
DD
DD
accounting information,REGION=nnnnK
PGM=ADRDSSU
SYSOUT=\
UNIT=SYSDA,VOL=SER=3381,DISP=OLD
UNIT=SYSDA,VOL=SER=3382,DISP=OLD
\
38
COPY Command
//JOB1
//STEP1
//SYSPRINT
//SYSIN
JOB
EXEC
DD
DD
accounting information,nnnnK
PGM=ADRDSSU
SYSOUT=\
\
COPY Command
|
|
|
|
|
Use the DFSMSdss COPY command to perform data set, volume, and track
movement. You can copy data from one DASD volume to another, or move data
sets from one DASD volume to another volume of like or unlike device type.4 You
can copy data sets between DASD of like or unlike device type or a full volume or
ranges of tracks between DASD of like device type.
|
|
|
However, if you copy a full volume or ranges of tracks, the DASD must be of like
device type. The user must specify both the source and target volumes. Only one
source volume and one target volume are allowed.
DFSMSdss offers two ways to process COPY commands:
Logical processing is data-set oriented, which means it operates against data
sets and volumes independently of physical device format.
Physical processing operates against volumes and tracks, but is oriented
toward moving data at the track-image level.
Integrated catalog facility catalogs should not have a high-level qualifier of
SYSCTLG because this causes DFSMSdss to treat them as CVOLs.
For information on how to use the COPY command, refer to DFSMS/MVS
DFSMSdss Storage Administration Guide.
|
|
|
Like devices have the same track capacity and number of tracks per cylinder (for example, 3380 Model D, Model E, and Model K
DASD). Unlike DASD devices have different track capacities (for example, 3380, 3390, or RAMAC Virtual Array) or a different
number of tracks per cylinder, or both.
Chapter 3. SyntaxFunction Commands
39
FDD
OUTDDname(6ddn)
ODD
6
OUTDYnam((volser))
ODY
,unit
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
6dsn) INClude(6dsn)
EXClude(
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
BY(6(schar,op,(6arg)))
40
55
ADMINistrator
,
ALLExcp
,
CC NOTIFYCONCurrent
CONVERT(PDSE(6dsn))
NOTIFYCC
,PDS(6dsn)
PDS(6dsn)
,PDSE(6dsn)
55
DELete DYNALloc FORce FORCECP(days) FREESPACE(CI)
FSPC
,CA
55
INCAT(6catname)
ONLYINCAT
55
INDDname(6ddn)
IDD
6
INDYnam((volser))
IDY
,unit
,
SELECTMulti(ALL)
6
LOGINDDname(ddn)
LIDD
SELECTMulti(ALL)
SELM
ANY
6
LOGINDYnam((volser))
FIRST
LIDY
,unit
55
MAKEMULTI MENtity(modeldsn) MGMTCLAS(management-class-name)
MVOLser(volser)
NULLMGMTCLAS
NMC
PERCENTUtilized(1)
55
,
PASsword(ddn)
,
NOPACKing(6dsn)
PSWD
,
PERCENTUtilized(6n)
6
dsn/pswd
PCTU
41
READIOPacing()
55
PROCESS(SYS1) PURGE READIOPacing(nnn)
,UNDEFINEDSORG
PRG
RIOP
UNDEFINEDSORG
,SYS1
55
,
,
REBLock(6dsn) RELBlockaddress(6dsn)
RELBLKA
55
RENAMEUnconditional(pfx) REPlace SHAre SPHERE
RENUNC
,
SHR
(6(on,nn))
((pfx),6(on,nn))
|
|
TGTAlloc(SOURCE)
55
STORCLAS(storage-class-name)
,
TGTAlloc(BLK)
NULLSTORCLAS STORGRP(6groupname)
CYL
NSC
TRK
SOURCE
SRC
55
TGTGDS(DEFERRED) TOLerate(IOERror)
,
ACTIVE
,ENQFailure
TTRAddress(6dsn)
ROLLEDOFF
ENQFailure
SOURCE
,IOERror
SRC
VOLcount(\) WAIT(2,2)
55
UNCATalog VOLcount(\) WAIT(numsecs,numretries) WRItecheck
SRC
WRC
N(nn)
ANY
,,c1,max head #
6
TRACKS((c1))
TRKS
,c1,max head #
D
,h1
,max head #
,c2
,h2
5INDDname(ddn)OUTDDname(ddn)5%
IDD
ODD
INDYnam(volser) OUTDYnam(volser)
IDY
,unit
ODY
,unit
COPY Command
55
ADMINistrator CANcelerror CHECKvtoc COMpress CONCurrent COPYVolid CPVOLume
CC CPYV
|
|
55
,
PASsword(ddn) PURge
PSWD ,
PRG
6
OUTTRacks((cc))
6dsn/pswd
OUTTRKS
,hh
READIOPacing()
55
READIOPacing(nnn) TOLerate(IOERror) WRItecheck
RIOP
WRC
ADMINistrator
55
ADMINistrator
ALLData
55
6dsn)
ALLData(
ALLData(\)
dsn
specifies the fully qualified name of a data set whose data set organization is PS5,
PSU, PO, POU, or null.6The data set is processed as follows:
For a full-volume copy, all of the allocated space for the source data set is
copied to the target volume.
When ALLDATA or ALLEXCP is specified for an extended-sequential data set, data beyond the last used block pointer is not
retained. The target data set is allocated with the same amount of space as the source data set during a logical restore or copy
operation.
Any time a data set can have data beyond the last used block pointer in the data set's VTOC entry, or has a null data set
organization, or is the first or intermediate volume of a multivolume data set that has a null data set organization, you must specify
ALLDATA(dsn) (or ALLDATA(*) if the data set is not empty or ALLEXCP if the data set is empty) to copy all its data. This applies
to like targets only. JES2/JES3 data sets can have these characteristics, as can CICS journal and MSVCJRNL data sets.
Chapter 3. SyntaxFunction Commands
43
COPY Command
For a data set copy, the function of this parameter is dependent upon certain
data set characteristics, device characteristics, and other DFSMSdss keywords
specified. See Table 2 on page 78 and Table 3 on page 79 for more
information.
* (asterisk)
specifies all data sets whose data set organization is PS, 5 PSU, PO, POU, or null
and are not empty (the last used block pointer in the data set's VTOC entry is not
zero). 6 The data sets are processed as follows:
For a full-volume copy, all of the allocated space for the source data set is
copied to the target volume.
For a data set copy, the function of this parameter is dependent upon certain
data set characteristics, device characteristics, and other DFSMSdss keywords
specified. See Table 2 on page 78 and Table 3 on page 79 for more
information.
DFSMSdss determines the amount of space allocated or used for the data set by
counting how many tracks have been allocated or used by the data set. For this
reason, the allocated space for the target data set may occupy more tracks than
the source when going to a different device type.
Attention: Since the unused portion of the data set may or may not be copied,
care should be used when specifying the ALLDATA keyword with DELETE. For
example, if a data set contains records past the last used block pointer in the data
sets VTOC entry that you wish to preserve and you perform a data set copy with
ALLDATA and DELETE to an unlike device, these records are not copied to the
target, but the source will be deleted upon successful completion of the copy.
ALLExcp
55
ALLExcp
ALLX
ALLEXCP specifies all data sets whose data set organization is PS, 5 PSU, PO,
POU, or null and are empty (the last used block pointer in the data set's VTOC
entry is zero). 6 The data sets are processed as follows:
For a full-volume copy, all of the allocated space for the source data set are
copied to the target volume.
For a data set copy, the function of this keyword is dependent upon certain
data set characteristics, device characteristics, and other DFSMSdss keywords
specified. See Table 2 on page 78 and Table 3 on page 79 for more
information.
Attention: Since all of the allocated space may or may not be copied, care should
be used when specifying the ALLEXCP keyword with DELETE. For example, if a
data set contains records that you wish to preserve, but the last block pointer in the
data sets VTOC entry is zero and you perform a data set copy with ALLEXCP and
DELETE to an unlike device, these records are not copied to the target, but the
source will be deleted upon successful completion of the copy.
44
COPY Command
AUTORELBlockaddress
55
AUTORELBlockaddress
AUTORELBLKA
BY
,
6(schar,op,(
6arg)))5
5BY(
BY specifies that the data sets selected up to this point, by the processing of the
INCLUDE and EXCLUDE keywords, are to be filtered further. To select the data
set, all BY criteria must be met. See Filtering by Data Set Characteristics on
page 14 for a full discussion of schar, op, arg, and for further information on BY
filtering.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
BYPASSACS
55
6dsn)
BYPASSACS(
BYPASSACS specifies that the automatic class selection (ACS) routines are not
invoked to determine the target data set class names. To specify BYPASSACS,
RACF authorization may be required. Refer to DFSMS/MVS DFSMSdss Storage
Administration Guide for more information.
See Assignment of Class Names by Using the RESTORE and COPY Commands
on page 168 for information on the assignment of class names using the COPY
command.
45
COPY Command
dsn
specifies a fully or partially qualified data set name. (See Filtering by Data Set
Names on page 12 for rules.)
If a data set is being renamed, the old name must be specified.
CANcelerror
55
CANcelerror
CANCELERROR specifies that the copy task be ended for a permanent read error,
or that the copy of a data set is ended for a write error.
Permanent read error, such as a data check:
If CANCELERROR is specified, the copy task is ended. If this keyword is not
specified, the track in error is not copied and the copy continues. Only the data
set receiving the error is ended, and the DFSMSdss copy function continues to
process any subsequent data sets.
Write error, such as an invalid track format:
When invalid tracks are created during COPY processing, message ADR367E
is issued and the invalid tracks are erased from the target volume, regardless
of whether CANCELERROR is specified. For data set copy, processing of the
data set ends and the target data set is deleted. The copy operation continues
with the next data set. For full volume and tracks copy, processing for the
volume ends. Subsequent tracks are not processed.
|
|
|
|
Equipment check
Command reject
Intervention required
Busout parity
CATalog
55
CATalog
RECATalog(newcatname)
RECATalog(\)
46
COPY Command
CATALOG
catalogs the target data set as determined by the standard catalog search order.
This is the default for VSAM, multivolume data sets, and SMS-managed data sets.
RECATALOG(newcatname)
catalogs the target data set in the newcatname catalog.
RECATALOG(*)
catalogs the target data set in the same catalog that points to the source data set.
If the source data set was not cataloged, the new data set is not cataloged either.
After DFSMSdss determines the catalog status of the data set and is changed by
other means outside of DFSMSdss, the original catalog status is used.
Notes:
1. Be careful when using the RECATALOG(newcatname) keyword because the
target data set may be cataloged outside of the standard order of search.
2. The CATALOG or RECATALOG operation fails if the target data set is already
cataloged in the same catalog and DELETE, RENAMEU, or UNCATALOG is
not specified. The RECATALOG keyword is ignored for SMS-managed targets.
3. An alternate index (AIX) is always cataloged in the same catalog as its
associated base cluster. If the base cluster is recataloged, the AIX is
recataloged.
4. If you omit the CATALOG or RECATALOG keyword for a single volume,
non-VSAM, non-SMS-managed data set, the target data set is uncataloged.
5. The CATALOG and RECATALOG keywords are ignored for preallocated data
sets.
CHECKvtoc
55
CHECKvtoc
CONCURRENT
55
CONCurrent
CC NOTIFYCONCurrent
NOTIFYCC
47
COPY Command
Attention: Performing concurrent copy operations against many large data sets
when there is also heavy update activity (such as reorganizing data sets or
initializing the volume the data sets reside on) can result in a shortage of storage.
The shortage occurs because data is transferred to data-space storage faster than
DFSMSdss can process it. Refer to the DFSMS/MVS DFSMSdss Storage
Administration Guide in the "Managing Availability with DFSMSdss" chapter for
additional information on determining concurrent copy storage requirements.
Note: CONCURRENT cannot be specified with DELETE or UNCATALOG
keywords because after the concurrent copy operation has begun, the
original data can still be updated.
|
|
|
|
NOTIFYCONCURRENT
For a logical data set copy operation, specifies that DFSMSdss issues message
ADR767I for every data set that is successfully included in the concurrent copy
operation. If not specified, messages are issued only for data sets that are not
successfully included in the concurrent copy operation.
CONVERT
55
6dsn))
CONVERT(PDSE(
,
6dsn)
,PDS(
6dsn)
PDS(
6dsn)
,PDSE(
CONVERT(PDSE(dsn))
specifies that the PDSs listed in the dsn be converted to PDSE
CONVERT (PDS(dsn))
specifies that the PDSE listed in the dsn be converted to PDSs.
Notes:
1. If the target data set is a PDSE, it must be SMS-managed.
2. The CONVERT keyword is not supported for extended-sequential data sets.
COPYVolid
55
COPYVolid
CPYV
COPYVOLID specifies that the volume serial number (VOLID) from the input DASD
volume is to be copied to the output DASD volume. This applies to full copy
operations and to tracks copy operations if track 0 (zero) is copied.
48
COPY Command
Notes:
1. COPYVOLID is required for a full-volume copy operation of an SMS-managed
input volume.
2. When the volume serial number is changed by using a COPYVOLID keyword,
profiles are not built for the RACF-protected data sets on the target volume or
for the RACF DASDVOL for the RACF-protected DASD volume. When the
volume serial number on a DASD volume is changed, the operator is notified.
The operating system then initiates a demount of the volume.
3. Exercise caution using COPYVOLID in a multiple task job step when two or
more of the tasks are using the same output volume. If the output volume is
made unavailable by the first task, all succeeding tasks that use the same
output volume fail.
4. COPYVOLID cannot be performed if there are permanent I/O errors or if
CANCELERROR is specified. If TOLERATE(IOERROR) is honored, however,
COPYVOLID is performed.
CPVOLume
55
CPVOLume
CPVOLUME specifies that the input and output volumes are VM-format volumes
and that the OS-compatible VTOCs must begin on track zero, record five. You must
specify the track range to be copied with the TRACKS keyword, as the
OS-compatible VTOCs do not describe the extents of any data on the volume. You
must also specify the ADMINISTRATOR keyword with CPVOLUME because
DFSMSdss cannot check access authorization for VM data.
DATASet
5DATASet5
DS
DATASET specifies a data set copy operation using filtering. See Chapter 2,
FilteringChoosing the Data Sets You Want Processed on page 11 for an
explanation of the filtering process used. Unless ALLDATA or ALLEXCP is
specified, only used tracks are copied for sequential and partitioned data sets and
for data sets with a data set organization that is null (for example, JES2/JES3 data
sets). If the free space map in the VTOC is invalid, all tracks for the data set are
copied.
Notes:
1. Either the FILTERDD, INCLUDE, EXCLUDE, or BY keyword must be specified
when data set is selected.
2. Non integrated catalog facility VSAM catalogs are not supported for data set
processing. If non integrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
49
COPY Command
DELete
55
DELete
DELETE specifies that for a data set copy DFSMSdss deletes VSAM and
non-VSAM data sets from the source volume after a successful copy. This moves,
in effect, a data set from one volume to another. The data sets are scratched and
uncataloged.
Notes:
1. If you do not specify DELETE when copying cataloged data sets, the target
data set must either be cataloged (with RECATALOG) in a different catalog or
renamed (with RENAMEU).
2. If you copy a data set with DFM attributes to a non-SMS-managed target, the
new data set will not have the DFM attributes.
3. Unexpired source data sets are deleted only if you also specify PURGE.
4. Even if PROCESS (SYS1) is specified, SYS1.VVDS and SYS1.VTOCIX data
sets cannot be copied and deleted.
5. Do not specify SHARE if you specify DELETE.
6. If DFSMSdss encounters a damaged PDS during logical data set copy, it
displays messages indicating the nature and relative location of the problem.
In order to maintain complete data integrity, DFSMSdss does not delete the
source data set. The copy of the data set fails, and the target is deleted. In
order to copy and delete a damaged PDS, use the NOPACKING keyword.
7. Do not specify DELETE with CONCURRENT, because after the concurrent
copy operation has begun, the original data can still be updated.
DYNALloc
55
DYNALloc
50
COPY Command
EXClude
,
6dsn)5
5EXClude(
dsn
specifies the name of a data set to be excluded from the data sets selected by the
INCLUDE keyword. Either a fully or a partially qualified data set name can be used.
See the separate discussions of INCLUDE and BY for information on how these
keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
FILterdd
55FILterdd(ddn)5%
FDD
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains the filtering criteria to be used. This
is in the form of card-image records, in DFSMSdss command syntax, that contain
the INCLUDE, EXCLUDE, and BY keywords.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
FORce
55
FORce
FORCE specifies that DFSMSdss copy one or more unmovable data sets to a like
or unlike device type. Unmovable data sets are those allocated as absolute track
(ABSTR) or as unmovable (PSU, POU, DAU, or ISU). FORCE applies to ISAM
data sets only when they are allocated with the unmovable attribute. The allocation
attribute, unmovable or ABSTR, is carried over to the output volume.
When copying to like devices, DFSMSdss copies the data sets to the same track
locations on the target volume. In this case, FORCE is not required if the target
volume uses an indexed VTOC, and the space where the unmovable data set is to
reside is available. If any of these conditions is not true, DFSMSdss does not copy
any unmovable data sets unless FORCE is specified. In this case, DFSMSdss
places the unmovable data sets in any available location.
When copying to unlike devices, you must specify FORCE. The unmovable data
sets are placed in any available location.
FORCECP
55
FORCECP(days)
51
COPY Command
FORCECP specifies that checkpointed data sets resident on the SMS volume or
volumes can be copied. Checkpoint indications are removed from the target data
set.
days
is a one- to three-digit number in the range of zero to 255, and specifies the
number of days that must have elapsed since the last referenced date before the
data set can be copied.
FREESPACE
55
FREESPACE(CI)
FSPC
,CA
CI
specifies the percentage of free space to be kept in each control interval during
allocation of the data set.
CA
specifies the percentage of free space to be kept in each control area during
allocation of the data set. When omitted, the control area free space is the same as
the source data set.
FULl
5FULl5
FULL specifies that an entire DASD volume is to be copied. This is the default.
Unallocated tracks are not copied. Unless specified by ALLDATA or ALLEXCP, only
the used (rather than allocated) tracks are copied for sequential data sets,
partitioned data sets, and for data sets with unknown data set organization (for
example, JES2/JES3 data sets with a data set organization that is null). If the
VTOC has errors, all tracks are copied. Used tracks consist of the tracks from the
beginning of the data set to the last-used track (as indicated by the last used block
pointer in the data sets VTOC entry).
Notes:
1. You cannot specify the SHARE or TOL(ENQF) keywords for FULL operations.
2. Non integrated catalog facility VSAM catalogs are not supported for full-volume
processing. If non integrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
INCAT
55
6catname)
INCAT(
ONLYINCAT
52
COPY Command
INCAT specifies one or more user catalogs to be searched before the standard
order of search for locating data sets. STEPCAT and JOBCAT are not allowed for
processing SMS-managed data sets. This keyword allows you to identify specific
source catalogs. To specify INCAT, RACF authorization may be required. Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for more information.
catname
specifies a fully qualified catalog name.
ONLYINCAT
specifies that DFSMSdss is to only search catalogs specified in the INCAT catalog
name list.
DFSMSdss does not process an SMS-managed data set that is cataloged outside
the standard order of search, even if it is cataloged in one of the catalogs specified
with the INCAT keyword.
INClude
,
6dsn)5
5INClude(
dsn
specifies the name of a data set eligible to be copied. Either a fully or a partially
qualified data set name can be used. See Filtering by Data Set Names on
page 12. If INCLUDE is omitted (but EXCLUDE or BY is specified) or INCLUDE(**)
is specified, all data sets are eligible to be selected for copying.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
INDDname
55
6ddn)
INDDname(
IDD
ddn
specifies the name of the DD statement that identifies a volume to be copied. For a
data set copy operation, you can specify multiple names (that is, multiple volumes),
separated by commas. For single-volume data sets, each of the DD statements
corresponding to a DDNAME (ddn) must identify only one volume serial number.
Note: If no input volumes are specified for a data set copy operation, DFSMSdss
selects from all data sets cataloged in the catalogs accessible through the
standard search order. If either INDDNAME or INDYNAM is specified,
DFSMSdss still uses the standard catalog search order, but it selects data
sets only from the specified volumes. For multivolume data sets, use
LOGINDDNAME or LOGINDYNAM with SELECTMULTI.
When DFSMSdss invokes IEHMOVE to copy multivolume non-VSAM data sets,
IEHMOVE requires that the first DD statement in the job stream must identify all
input volumes. DFSMSdss requires separate DD statements for the input volumes.
To accommodate both requirements, you must code your JCL as follows:
//INDD1
//INDD2
DD
DD
UNIT=(SYSDA,2),VOL=SER=(VOL1,VOL2),DISP=SHR
UNIT=SYSDA,VOL=SER=VOL2,DISP=SHR
Chapter 3. SyntaxFunction Commands
53
COPY Command
LOGINDD(INDD1,INDD2) ...
INDYnam
55
6(volser))
INDYnam(
IDY
,unit
volser
specifies the volume serial number of a DASD volume to be copied.
unit
specifies the device type of a DASD volume to be copied. This parameter is
optional.
LOGINDDname
55
,
SELECTMulti(ALL)
LOGINDDname(6ddn)
LIDD
SELECTMulti(ALL)
SELM
ANY
FIRST
LOGINDDNAME specifies that data sets be selected from the specified volume or
volumes (which you can also do by specifying INDDNAME or INDYNAM) and also
allows you to specify SELECTMULTI (which cannot be done with INDDNAME or
INDYNAM).
ddn
specifies the name of the DD statement that identifies a volume that contains the
data sets to be copied. For single-volume data sets, each of the DD statements
corresponding to a DDNAME (ddn) must identify only one volume serial number.
See the SELECTMULTI description and the Notes under LOGINDYNAM.
LOGINDYnam
55
,
SELECTMulti(ALL)
LOGINDYnam(6(volser))
LIDY
,unit
SELECTMulti(ALL)
SELM
ANY
FIRST
LOGINDYNAM specifies that the volumes that contain the data sets to be copied
are dynamically allocated. The volume must be mounted and online. You cannot
specify a nonspecific volume serial number using an asterisk (*).
54
COPY Command
volser
specifies the volume serial number of a DASD volume to be copied.
unit
specifies the device type of a DASD volume to be copied. This parameter is
optional.
SELECTMULTI
specifies the method for determining how cataloged multivolume data sets are to be
selected during a logical data set copy operation. SELECTMULTI is accepted only
when logical volume filtering is specified with either LOGINDDNAME or
LOGINDYNAM keywords. If logical volume filtering is not used, the specification of
SELECTMULTI is not accepted.
ALL is the default, and specifies that DFSMSdss not copy a multivolume data set
unless the volume list specified by LOGINDDNAME or LOGINDYNAM lists all the
volumes that contain a part of the data set or VSAM cluster.
ANY specifies that DFSMSdss copy a multivolume data set when any volume in
the volume list specified by LOGINDDNAME or LOGINDYNAM contains a part of
the data set or VSAM cluster.
FIRST specifies that DFSMSdss copy a multivolume data set only when the volume
list specified by LOGINDDNAME or LOGINDYNAM lists the volume that contains
the first part of the data set. For VSAM data sets, the volume list must include the
volume containing the first extent of the data component for the base cluster.
Notes for LOGINDDNAME and LOGINDYNAM keywords:
1. If neither LOGINDDNAME nor LOGINDYNAM is specified, DFSMSdss selects
from all data sets cataloged in the catalogs accessible through the standard
search order. If either LOGINDDNAME or LOGINDYNAM is specified,
DFSMSdss still uses the standard catalog search order, but it selects data sets
only from the specified volumes.
2. A multivolume data set that has extents on volumes not specified with either
the LOGINDDNAME or LOGINDYNAM keywords is copied only if you specify
the SELECTMULTI keyword.
MAKEMULTI
55
MAKEMULTI
MAKEMULTI allows DFSMSdss to convert single volume data sets into multivolume
data sets. The default is not to convert single volume data sets into multivolume
data sets.
This keyword applies only to SMS-managed target data sets. Only single volume,
non-VSAM data sets are eligible to be changed into multivolume data sets.
SMS-managed target data sets are given a volume count (VOLCOUNT) that is
either:
The number of SMS output volumes specified in the COPY command, if output
volumes are specified through OUTDDNAME or OUTDYNAM
The number of volumes in the target storage group or 59, whichever is less
55
COPY Command
A data set's volume count is the maximum number of volumes to which the data
set may extend. At any one time, there may be a mixture of primary volumes
(volumes on which space is allocated for the data set) and candidate volumes
(volumes on which space may be allocated at a future time). The total sum of the
primary volumes and candidate volumes is the data set's volume count.
Note: When MAKEMULTI is specified and VOLCOUNT is also specified with an
option other than VOLCOUNT(*), the VOLCOUNT option overrides
MAKEMULTI.
MENtity
55
MENtity(modeldsn)
MVOLser(volser)
MGMTCLAS
55
MGMTCLAS(management-class-name)
NULLMGMTCLAS
NMC
MGMTCLAS specifies the user-desired management class that replaces the source
management class as input to the ACS routines. You must have the proper RACF
authority for the management class specified. The keyword itself does not require
RACF authorization.
NULLMGMTCLAS/NMC specifies that the input to the ACS routines is a null
management class rather than the source data sets management class.
MGMTCLAS and NULLMGMTCLAS are mutually exclusive; you cannot specify
these keywords together.
56
COPY Command
Notes:
1. All SMS-managed data sets specified in the BYPASSACS keyword are
assigned the specified management class because the ACS routines are not
invoked. Non-SMS-managed data sets do not have a management class.
2. See Assignment of Class Names by Using the RESTORE and COPY
Commands on page 168 for information on the assignment of class names
using the copy function.
NOPACKing
55
6dsn)
NOPACKing(
NOPACKING specifies that DFSMSdss is to allocate the target data set only to the
same or like device types as the source data set is allocated on and that
DFSMSdss is to use track level I/O to perform data movement. This results in an
exact track-for-track image of the source data set on the target volume.
dsn
specifies the fully or partially qualified names of a PDS to be processed.
NOPACKing is only valid with a PDS. If REBLOCK is specified, REBLOCK is
ignored for the data set. If the data set is specified with CONVERT(PDSE()),
NOPACKing is ignored for the data set.
A PDS copied or restored by using NOPACKing is not be compressed during data
movement.
NOPACKing can be used for a damaged PDS that is currently usable by an
application but would be made unusable by compression or other rearrangement of
the physical layout of the data.
NOTIFYCONCURRENT
See the CONCURRENT keyword.
NULLMGMTCLAS
See the MGMTCLAS keyword.
NULLSTORCLAS
See the STORCLAS keyword.
ONLYINCAT
See the INCAT keyword.
OUTDDname
55
6ddn)
OUTDDname(
ODD
57
COPY Command
ddn
specifies the name of the DD statement that identifies the output DASD volume. To
assure correct processing, each of the DD statements corresponding to a DDNAME
(ddn) must identify only one volume serial number. The volume serial number
specified must be a valid DASD device; DD DUMMY is not supported. Only one
volume is allowed for a full or tracks copy; one or more volumes are allowed for a
data set copy operation. Multiple names in a data set copy must be separated by
commas.
See the Note under OUTDYNAM for additional information.
OUTDYnam
55
6(volser))
OUTDYnam(
ODY
,unit
volser
specifies the volume serial number of the volume.
unit
specifies the device type of the volume. This parameter is optional.
Note for OUTDDNAME and OUTDYNAM Keywords: DFSMSdss now
distinguishes between non-SMS and SMS volumes specified in the
OUTDDNAME or OUTDYNAM keywords. For non-SMS allocations, only the
volumes that are non-SMS are considered for allocation. Similarly, only
SMS volumes are considered for SMS allocations.
This distinction is also used when determining the volume count for a
multivolume allocation. Where volume count is determined from the number
of specified volumes, only those volumes eligible for the type of allocation
being done are counted. If there are no volumes that match the type of
allocation (SMS volumes for SMS allocation, or non-SMS volumes for
non-SMS allocation), processing proceeds with a null volume list.
OUTTRacks
55
6(cc))
OUTTRacks(
OUTTRKS
,hh
OUTTRACKS specifies, for a tracks copy operation, the cylinder (cc) and head
number (hh) on the output volume to which the tracks from the input volume are to
be copied. If you do not specify OUTTRACKS operation, the tracks are copied to
the same place on the output volume where they were on the input volume. The
number of (cc,hh) combinations specified in the OUTTRACKS keyword must be the
58
COPY Command
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
ddn
specifies the name of the DD statement that identifies the sequential data set, or
member of a partitioned data set, that contains data set names and their
passwords. This data set must contain card-image records in DFSMSdss command
syntax format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Printing of actual data set passwords specified in the input command stream is
suppressed in the SYSPRINT output.
When a system utility is being used to perform the DFSMSdss copy operation, the
user must supply the password for each password-protected data set selected or
have the proper RACF data set access authority.
PERCENTUtilized
PERCENTUtilized(1)
55
6n)
PERCENTUtilized(
PCTU
59
COPY Command
PERCENTUTILIZED specifies that DFSMSdss must stop allocating data sets to the
target volumes when the allocated space reaches n percent of the total space on
the target volume. The default value is 100. Specify more than one n if you have
more than one target volume (for instance, a volume for overflow). If there are more
target volumes than you have values in this keyword, the last value is used for the
remaining target volumes. This keyword is used as a guide only and might not be
precise for all situations.
Notes:
1. PERCENTUTILIZED is ignored when the target data set is preallocated.
2. PERCENTUTILIZED is not supported in an SMS environment.
3. PERCENTUTILIZED is ignored if no output volume is specified.
PROCESS
55
PROCESS(SYS1)
,UNDEFinedsorg
UNDEFinedsorg
,SYS1
SYS1
specifies that DFSMSdss is to allow data sets with a high-level qualifier of SYS1 to
be copied to a preallocated target and that SYS1 data sets can be deleted and
uncataloged. SYS1.VVDS and SYS1.VTOCIX data sets cannot be copied, deleted,
or uncataloged. To specify PROCESS(SYS1), RACF authorization may be required.
Refer to DFSMS/MVS DFSMSdss Storage Administration Guide for more
information.
UNDEFinedsorg
PROCESS also specifies that DFSMSdss allows data sets with undefined data set
organizations to be copied to an unlike target with a larger capacity. Refer to
Table 2 on page 78 and Table 3 on page 79 for the action taken by DFSMSdss.
Note: Even though the data is being copied to a device with a larger track
capacity, the data may not fit on the output device. For example, if the
source device is a 3380, and the output device is a 3390 and the data sets
block size is less than 277 bytes, a track on the target cannot contain as
much data as a track on the source and the message ADR366W (Invalid
Track Format) is issued.
PURge
55
PURge
PRG
PURGE specifies, for a full or tracks copy operation, that unexpired data sets on
the target volume can be overlaid. If PURGE is not specified and unexpired data
sets reside on the target tracks, the copy operation is ended.
For a data set copy operation, PURGE specifies that unexpired source data sets
are to be deleted after they are successfully copied. This keyword is only valid
when the DELETE keyword is also specified.
60
COPY Command
READIOPacing
READIOPacing()
55
READIOPacing(nnn)
RIOP
READIOPACING specifies the pacing (that is, I/O delay) to be used for DFSMSdss
DASD read channel programs. You can use this keyword to allow more time for
other applications to complete I/O processing. DFSMSdss waits the specified time
before issuing each channel program that reads from DASD.
nnn
specifies the amount of time in milliseconds. The maximum delay that can be
specified is 999 milliseconds.
Notes:
1. If READIOPACING is not specified, there is no I/O delay.
2. The additional wait time does not apply to error recovery channel programs.
3. READIOPACING does not apply to concurrent copy I/O.
REBLock
55
6dsn)
REBLock(
dsn
specifies the fully or partially qualified names of a sequential or partitioned data set
to be copied and reblocked.
The REBLOCK keyword is ignored for:
Unmovable data sets
Data sets with record format of U (except for partitioned load modules)
Data sets with a record format of V, VS, VBS, or F
Partitioned data sets with note lists (except for partitioned load modules)
Partitioned data sets that are also specified in the NOPACKING keyword
Additionally, both the installation options exit and the installation reblock exit can
override the specification of the REBLOCK keyword. The installation options exit
can specify that no data set is to be reblocked. The installation reblock exit can
specify whether a given data set is to be reblocked.
Some sequential and partitioned data sets have an attribute indicated in the VTOC
making them capable of being reblocked. These data sets may be automatically
reblocked by DFSMSdss independent of the REBLOCK keyword.
Refer to DFSMS/MVS DFSMSdss Storage Administration Guide for additional
information on DFSMSdss processing of reblockable data sets.
Chapter 3. SyntaxFunction Commands
61
COPY Command
RECATalog
See the CATALOG keyword.
RELBlockaddress
55
6dsn)
RELBlockaddress(
RELBLKA
RELBLOCKADDRESS identifies the direct access data sets whose names match
the fully or partially qualified names specified (dsn). These direct access data sets
are organized by relative block address instead of TTR and are to be copied block
by block. DFSMSdss updates the block reference count (the relative position of the
physical record as stored on its track) of dummy records. This keyword applies only
to direct access data sets with fixed record formats and without standard user
labels.
Note: If the data set is actually organized by TTR, the data set may become
unusable.
RENAMEUnconditional
55
RENAMEUnconditional(pfx)
RENUNC
,
(6(on,nn))
((pfx),6(on,nn))
RENAMEUNCONDITIONAL specifies that the data set must be copied with the new
name, regardless of whether the data set exists on DASD with the old name. If the
data set exists on the target volume with the new name, an allocation error occurs,
and the data set is not copied, regardless of whether the REPLACE keyword is
specified.
pfx
specifies the prefix used to replace the first-level qualifier of the data set name. It is
optional, but if specified, must be the first parameter in the list of subkeywords. The
prefix is used only if the (on,nn) parameters are not specified or the old name filters
do not match the data set name.
on
specifies the old name to be used as a filtering criterion to check if it matches the
data set name.
nn
specifies the new name to be used to derive the new data set name when the data
set name matches the corresponding old name filtering criterion.
62
COPY Command
The syntax rules for pfx (prefix), on (old name), and nn (new name) are the same
as in the RENAME keyword in a restore operation. See REName on page 156
under the RESTORE command for more information.
REPlace
55
REPlace
REPLACE specifies that DFSMSdss is to search the target volumes for usable
preallocated data sets. If no preallocated target is found, DFSMSdss attempts to
allocate a data set.
Notes:
1. If REPLACE is specified with the COPY command, the classes already
associated with the preallocated data set remain the same.
2. CATALOG and RECATALOG are ignored for preallocated data sets.
3. If the source data set is an extended-addressable VSAM KSDS, then the target
must also be an extended-addressable VSAM KSDS.
4. The target data set name must match the source data set name.
SELECTMulti
See the LOGINDDNAME and LOGINDYNAM keywords.
SHAre
55
SHAre
SHR
SHARE specifies that DFSMSdss is to share the data sets to be copied for read
access with other programs.
SHARE and FULL are mutually exclusive; you cannot specify these keywords
together.
Do not specify DELETE if you specify SHARE. You must have exclusive control
over data sets that are to be deleted; SHARE does not require such exclusive
control.
Note: The SHARE keyword is not honored for VSAM data sets. Exclusive control
is obtained for VSAM data sets even if the SHARE keyword is specified.
Neither read access nor write access by other programs is allowed while
the VSAM data set is being copied, regardless of the share options defined
for the data set.
SPHERE
55
SPHERE
SPHERE specifies that, for any VSAM cluster copied, all associated AIX clusters
and paths are to be copied. Individual names of sphere components do not need to
Chapter 3. SyntaxFunction Commands
63
COPY Command
be specified. Only the base cluster name is required. If output volumes are
specified, the volumes on which the AIX clusters reside do not need to be
specified.
Note: The base cluster name must be specified to process the entire sphere. If
the sphere is specified but the base cluster name is not, DFSMSdss
processes only those components of the sphere whose names are
specified.
STORCLAS
55
STORCLAS(storage-class-name)
NULLSTORCLAS
NSC
STORCLAS specifies the storage class that you want to replace the source storage
class as input to the ACS routines. You must have the proper RACF authorization
for the storage class specified. The keyword itself does not require authorization.
NULLSTORCLAS/NSC specifies that the input to the ACS routines is to be a null
storage class rather than the source data sets storage class.
STORCLAS and NULLSTORCLAS are mutually exclusive; you cannot specify both
keywords simultaneously. See Assignment of Class Names by Using the
RESTORE and COPY Commands on page 168 for information on assigning class
names using the copy function.
Note: If BYPASSACS(dsn) is specified, also all data sets that pass the
BYPASSACS selection criteria are guaranteed the specified storage class.
The combination of NULLSTORCLAS and BYPASSACS(dsn) forces the
selected data sets to be non-SMS-managed.
|
STORGRP
|
|
|
55
6groupname)
STORGRP(
|
|
|
|
|
STORGRP specifies that all of the online volumes in the storage group be
dynamically allocated. If a volume in the storage group is not online, that volume is
not used for processing. Up to 255 storage group names may be specified.
Specifying STORGRP with a storage group name is equivalent to specifying
LOGINDYNAM with all the online volumes in the storage group included in the list.
|
|
|
You can specify the STORGRP keyword with the SELECTMULTI keyword, but
STORGRP is mutually exclusive with the INDDname, INDYnam, LOGINDDname
and LOGINDYnam keywords.
TGTAlloc
64
COPY Command
TGTAlloc(SOURCE)
55
TGTAlloc(BLK)
CYL
TRK
SOURCE
SRC
by blocks
by cylinders
by tracks
with the same space allocation type as that of the source data set
Notes:
1. If the TGTALLOC keyword is omitted, the target allocation defaults to
SOURCE.
2. If SRC is specified and if the source data set is allocated by track or if TRK is
specified, then the final VSAM allocation might be different from the requested
one because of VSAM allocation rules.
3. If BLK is specified for VSAM data sets, TRK is used instead. The final VSAM
allocation might be different from the requested one because of VSAM
allocation rules.
TGTGDS
55
TGTGDS(DEFERRED)
ACTIVE
ROLLEDOFF
SOURCE
SRC
TGTGDS specifies in what status, during a data set operation, that DFSMSdss is to
place nonpreallocated SMS-managed GDG data sets:
DEFERRED
specifies that the target data set is to be assigned the DEFERRED status.
ACTIVE
specifies that the target data set is to be assigned the ACTIVE status, for example,
rolled into the GDG base.
ROLLEDOFF
specifies that the target data set is to be assigned the rolled-off status.
SOURCE/SRC
specifies that the target data set is to be assigned the same status as that of the
source data set.
65
COPY Command
Notes:
1. If DELETE is specified without RENAMEUNCONDITIONAL and the source data
set is an SMS-managed generation data set, the TGTGDS keyword is ignored
and the source GDS status is copied to the target.
2. The requested target status of generation data sets must not violate generation
data group rules.
3. Refer to DFSMS/MVS DFSMSdss Storage Administration Guide for a
description of the default status when TGTGDS is not specified.
TOLerate
55
TOLerate(IOERror)
,ENQFailure
ENQFailure
,IOERror
TOLERATE specifies that DFSMSdss tolerates certain error conditions. For a copy
operation (except of a user catalog or loadlib) in which a utility performs the copy,
this keyword is ignored.
ENQFailure
specifies that source and target data sets are to be processed even though shared
or exclusive access fails.
Notes:
1. Unlike PDS data sets, PDSE data sets that are open for update cannot be
copied even if TOL(ENQF) is specified.
2. If you must copy a PDSE data set and it must be open for update, convert the
PDSE back to PDS and then copy the PDS data set with TOL(ENQF).
ENQF and FULL or TRACKS
are mutually exclusive; you cannot specify these keywords together.
For more information on TOL(ENQF), see Appendix B, Data
IntegritySerialization on page 241.
IOERROR
specifies that if the input volume can be opened, DFSMSdss is to continue copying
even though permanent input errors (busout parity and equipment checks only)
occur. DFSMSdss ends after 100 errors when this keyword is specified. The
default ends on permanent input errors. On a data set copy in which a utility
performs the copy, DFSMSdss ignores this keyword.
Notes:
1. TOL(IOERror) is ignored if CANcelerror is specified.
2. You cannot use the TOLERATE(ENQF) keyword when performing a logical
copy operation with VSAM extended-format data sets.
66
COPY Command
TRACKS
555%
,,c1,max head #
6
TRACKS((c1))
TRKS
,c1,max head #
,h1
,max head #
,c2
,h2
TRACKS specifies ranges of tracks to be copied (that is, a tracks copy). Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for additional information on
using TRACKS during physical processing.
c1,h1
specifies the cylinder and head number of the beginning of the range. Specify
hexadecimal numbers as X'c1' or X'h1'.
c2,h2
specifies the cylinder and head number of the end of the range. Specify
hexadecimal numbers as X'c2' or X'h2'. The c2 must be greater than or equal to
c1. If c2 equals c1, h2 must be greater than or equal to h1.
DFSMSdss verifies that the range is within the limits of the device. If you do not
specify all four values for a range, DFSMSdss provides the missing values unless
the omitted value causes a syntax error. No intervening values can be omitted. For
example:
Specified
Results
None
c1
c1,h1
c1,h1,c2
c1,,c2
,h1
Syntax error
c1,0,c1,maximum head number
c1,h1,c1,maximum head number
c1,h1,c2,maximum head number
Syntax error
Syntax error
TTRAddress
55
6dsn)
TTRAddress(
TTRADDRESS identifies the direct access data sets whose names match the fully
or partially qualified names specified (dsn). These data sets are organized by TTR
rather than by relative block addressing and are to be processed track by track.
The target device track capacity must be equal to or greater than the source.
Notes:
1. If a direct access data set is specified by both the RELBLOCKADDRESS and
the TTRADDRESS parameters, the data set is not processed. Refer to the
RELBLOCKADDRESS keyword for more information.
2. The TTRADDRESS keyword takes precedence over the
AUTORELBLOCKADDRESS keyword processing for the specified data sets
(dsn).
67
COPY Command
UNCATalog
55
UNCATalog
VOLcount
VOLcount(\)
55
VOLcount(SRC)
N(nn)
ANY
68
COPY Command
N(nn)
nn represents the number of volumes to be used for SMS data set allocation. Any
value between 0 and 59 may be specified with the following conditions:
If nn is not zero and a volume list is specified through OUTDDNAME or
OUTDYNAM, DFSMSdss allocates either the number of SMS volumes in the
volume list or nn, whichever is less.
If nn is zero and a volume list is specified through OUTDDNAME or
OUTDYNAM, DFSMSdss allocates either the number of SMS volumes in the
volume list or the number of volumes that were allocated for the source data
set, whichever is less.
If a volume list is specified through OUTDDNAME or OUTDYNAM and there
are no SMS volumes in the list, or there is no volume list, DFSMSdss allocates
either the number of volumes used by the source data set or nn, whichever is
more.
DFSMSdss does not adjust the final number of candidate volumes after the
allocation is complete.
ANY
specifies that DFSMSdss use a maximum volume count to allocate the SMS target
data set as follows:
DFSMSdss initially sets a volume count of 59 for the allocation.
If the data set is allocated on more volumes than were used to allocate the
source data set, DFSMSdss reduces the number of volumes used to the
number of primary volumes needed to satisfy the allocation.
If the data set is allocated on the same number or fewer volumes than were
used to allocate the source data set, DFSMSdss reduces the number of
volumes used to the number of volumes used for allocation of the source data
set.
Notes:
1. VOLCOUNT does not convert single-volume data sets whose organization is
partitioned into multivolume data sets. This includes PDS, PDSE, and HFS data
sets, single-volume data sets whose organization is undefined, and empty
non-VSAM single-volume data sets.
2. VOLCOUNT does not change the number of volumes for keyrange KSDS data
sets.
3. VOLCOUNT does not increase the number of volumes allocated for linear data
sets.
4. VOLCOUNT(ANY) does not support keyed VSAM data sets that have an
imbedded index. If VOLCOUNT(ANY) is specified and a data set has an
imbedded index, the data set is processed as if VOLCOUNT(*) were specified.
5. Guaranteed space is not honored when VOLCOUNT(ANY) is used.
6. VOLCOUNT(ANY) does not support any type of multi-striped data set (physical,
sequential, extended, or VSAM). If VOLCOUNT(ANY) is specified and a data
set is multi-striped, the data set is processed as if VOLCOUNT(*) were
specified.
You can override VOLCOUNT keyword settings with the options installation exit
routine, as described in DFSMS/MVS Installation Exits.
Chapter 3. SyntaxFunction Commands
69
COPY Command
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
WAIT specifies to DFSMSdss the length of the wait in seconds, and the number of
passes to be made through the list of selected data sets to obtain control of a data
set for COPY DATASET command.
numsecs
is a decimal number (0255) that specifies the interval, in seconds, to wait before
attempting another pass through the entire list of selected data sets.
numretries
is a decimal number (099) that specifies the number of passes to make through
the list of selected data sets in an attempt to obtain control of a data set.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a resource, specify 0 for either numsecs or
numretries.
For a data set copy operation the WAIT keyword has a different meaning when: (1)
data sets are being serialized, (2) multiple data sets are being processed, and (3)
WAIT(0,0) is not specified. In this case, DFSMSdss makes multiple passes through
the list of data sets. On each pass, DFSMSdss processes the data sets that (1) can
be serialized without waiting for the resource and (2) were not processed before. At
the end of a pass, if none of the data sets can be processed without waiting for a
resource, then, in the next pass, at the first occurrence of a data set that was not
processed, a WAIT is issued. That data set and the remainder of the list are
processed if possible.
The above procedure is repeated until all data sets are processed or the WAIT
limits are reached. For example, if WAIT(3,10) is specified and five data sets are
left to be processed, up to ten passes are made. On each pass, an unprocessed
data set is waited upon for 3 seconds. Thus, only a 30-second maximum is ever
waited, not 150 (5 times 3 times 10).
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
WRItecheck
55
WRItecheck
WRC
70
COPY Command
Notes:
1. On a data set copy in which a utility performs the copy, DFSMSdss ignores this
keyword.
2. The WRITECHECK keyword is not supported for extended-sequential data
sets.
Example 1:
//JOB1
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//DASD2
DD
UNIT=338,VOL=(PRIVATE,SER=222222),DISP=OLD
//SYSIN
DD
\
command input (see Examples 1A and 1B below)
/\
The data from DASD volume 111111 is to be copied to DASD volume 222222. For
the full copy operation, all allocated space in sequential or partitioned data sets and
data sets with a data set organization that is null is copied (ALLDATA(*)). The
preceding applies only to data sets that are not empty. For data sets that are
empty, DFSMSdss copies all data within the allocated space (ALLEXCP). The copy
operation is to be ended if a permanent read error occurs (CANCELERROR).
71
COPY Command
\/
\/
\/
\/
The following example shows a data set copy operation in which all single-volume
data sets with the first-level qualifier USER1 on the source volume labeled 338000
are copied to the target volume labeled 338001. All source data sets that are
selected are deleted. The copied non-SMS, non-VSAM data sets are not cataloged.
\/ \/ -
The following example shows a data set copy in which all cataloged data sets with
a first-level qualifier of USER1 (USER1.**) data sets are to be consolidated on a
72
COPY Command
single target volume labeled 338001. The data sets can be scattered on multiple
source volumes. The target volume can be of unlike device type to any of the
volumes on which the source data sets reside. A few of the data sets might already
be on volume 338001. The data sets are to be cataloged (CATALOG) in the
standard order of search. The expired source data sets are scratched and
uncataloged (DELETE) after successfully moving them to volume 338001, where
they have the same allocation type (BLK, TRK, or CYL) that they had on the source
volumes. FORCE is specified to include unmovable data sets.
73
COPY Command
//JOB6
JOB accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//SYSIN
DD
\
COPY data set(
INCLUDE(USER1.\\)) /\ FILTER ON DS W/1ST LEV Q USER1 \/ OUTDYNAM((3381),(3382),(3383)) /\ DYNAM ALLOC VOLS \/ DELETE
RENAMEU(USER2)
RECATALOG(USERCAT2)
/\
The following example shows a data set copy operation in which all data sets with
the high-level qualifier USER1 that are in the standard order of search are copied
to the target volumes labeled 338001, 338002, and 338003. The copied data sets
are renamed (RENAMEU) to the high-level qualifier USER2, followed by the second
through last qualifiers of the old names. If data sets with the same name as the
new names are on the target volumes or if they are already cataloged in
USERCAT2, they are not copied. The copied, expired data sets are deleted
(DELETE) from the source volumes, uncataloged, and cataloged (RECATALOG) in
the catalog USERCAT2. This provides for the movement of data sets from one set
of volumes to another set of volumes and from one catalog to another catalog, and
for the renaming of the data sets.
74
COPY Command
//JOB8
JOB accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//STEPCAT
DD
DSN=USERCAT,DISP=SHR
//SYSPRINT DD
SYSOUT=A
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//DASD2
DD
UNIT=338,VOL=(PRIVATE,SER=222222),DISP=OLD
//SYSIN
DD
\
COPY data set(
INCLUDE(USER.TEST.DATA) ) INDDNAME(DASD1) OUTDDNAME(DASD2) REPLACE DELETE
/\
The following example shows a data set copy in which a source data set
(USER.TEST.DATA) allocated on volume 111111 and cataloged in catalog
USERCAT is copied to a preallocated target data set (with the same name as the
source) on volume 222222. The REPLACE keyword specifies that DFSMSdss is to
search the target volume for a usable preallocated data set. The data set is deleted
(DELETE) from the source volume if it is expired.
75
COPY Command
//JOB1
JOB accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=\
//SYSIN
DD
\
COPY DS(INC(\\)) LOGINDYNAM ( (3381) (3382) ) RENUNC(AUG387)
/\
In this next step all data sets on the non-SMS-managed volumes 338001 and
338002 are copied to SMS-managed volumes on the system. The RENUNC
command is used to avoid duplicate catalog entries. The ACS routines select a
target storage and management class for each data set. Those data sets that
cannot be SMS-managed (storage class ACS routine returns a null storage class)
are not copied because no output volume is specified. Each data set that is copied
is given a new high-level qualifier (AUG0387) and automatically cataloged.
76
This JCL does a DFSMSdss logical data set copy using the concurrent copy
feature. This job continues (with a warning message) if concurrent copy initialization
fails.
77
Table 2. ALLDATA and ALLEXCP Interactions When Copying to LIKE Device. Read the first eleven columns to
find the row that matches your situation. Read the last column to find what DFSMSdss does.
Y
Y
REBLOCK used?
NOPACKING used?
ALLEXCP used?
Load module?
Undefined DSORG?
Yes
No
Either
Not Applicable
Allocate and copy all the allocated space
Allocate and copy only the used space
Allocate and copy only one track
Allocate all the allocated space, and copy only the used space
Allocate all the allocated space, and copy only one track
Do not process the data set
Y
N
X
1
2
3
4
5
6
Notes:
(a) When ALLDATA or ALLEXCP is specified for an extended-sequential data set, data beyond the last used block
pointer is not retained. The target data set is allocated with the same amount of space as the source data set during
a logical restore or copy operation.
(b) Partitioned data sets that have directories (whether or not there are empty members in the directory) are treated
as not empty.
78
Table 3. ALLDATA and ALLEXCP Interactions When Copying to UNLIKE Device. Read the first twelve columns
to find the row that matches your situation. Read the last column to determine what DFSMSdss does.
ALLEXCP used?
PROCESS (UNDEF)
used?
Load module?
Undefined DSORG?
Yes
No
Either
Not Applicable
Allocate the same number of tracks as the source, and make a track image copy.
Allocate and copy only the used space
Allocate and copy only one track
Allocate all the allocated space, and copy only the used space
Allocate all the allocated space, and copy only one track
Do not process the data set
Y
N
X
1
2
3
4
5
6
Notes:
(a) When ALLDATA or ALLEXCP is specified for an extended-sequential data set, data beyond the last used block
pointer is not retained. The target data set is allocated with the same amount of space as the source data set during
a logical restore or copy operation.
(b) Partitioned data sets that have directories (whether or not there are empty members in the directory) are treated
as not empty.
79
COPYDUMP Command
COPYDUMP Command
With the COPYDUMP command, you can make from 1 to 255 copies of
DFSMSdss-produced dump data. The data to be copied, a sequential data set, can
be on a tape or a DASD volume, and copies can be written to a tape or a DASD
volume. If the dump data is produced from multiple DASD volumes by using a
physical data set dump operation, you can selectively copy the data from one or
more of those volumes.
The COPYDUMP command cannot change the block size of the DFSMSdss dump
data set. If you are copying a dump data set to a DASD device, the source block
size must be small enough to fit on the target device.
Note: Extra dump tapes can be used for such things as disaster recovery backup
or distribution of dumped data (for example, a newly generated system).
COPYDUMP Syntax
,
5COPYDumpINDDname(ddn)OUTDDname(6ddn)5
CPYD IDD
ODD
LOGicalvolume(6volser)
LVOL
INDDname
5INDDname(ddn)5
IDD
ddn
specifies the name of the DD statement that identifies the sequential data set to be
copied. This data set can reside on one or more tapes, or on DASD volumes.
LOGicalvolume
55
6volser)
LOGicalvolume(
LVOL
volser
specifies the source DASD volume serial number from which dumped data is to be
copied. Omission of the LOGICALVOLUME keyword causes DFSMSdss to copy
data from all logical volumes in the dump data set. This keyword is useful only if
the data being copied was created by a physical data set dump operation from
multiple DASD volumes. When copying a logical dump, LOGICALVOLUME is
ignored.
80
COPYDUMP Command
OUTDDname
,
6ddn)5
5OUTDDname(
ODD
ddn
specifies the name of the DD statement that identifies the output sequential data
set. This data set can be on a tape or a DASD volume.
81
DEFRAG Command
DEFRAG Command
With the DEFRAG command, you can relocate data set extents on a DASD volume
to reduce or eliminate free-space fragmentation and print a report about free space
and other volume statistics. Also, you can specify which data sets, if any, are to be
excluded from data-set-extent relocation.
DEFRAG Syntax
55DEFragDDName(ddn)5
DYNAM(volser) ADMINistrator
,unit
55
,
DYNALloc
6
6
BY(LISt((shar,op,((arg)))))
(DDName(ddn))
55
,
FORCECP(days) FRAGMENTATIONIndex(n)
EXClude(LISt(6dsn))
FRAGI
(DDName(ddn))
55
,1
PASSDelay(999) PASsword(ddn)
MAXmove(n)
PSWD
,
,p
PASSDelay(nnnn)
6dsn/pswd
WAIT(2,2)
55%
WAIT(numsecs,numretries) WRITECHECK
WRC
ADMINistrator
55
ADMINistrator
82
DEFRAG Command
BY
55
6
6
BY(LISt((shar,op,((arg)))))
(DDName(ddn))
DDName(ddn)
specifies the name of the DD statement that identifies a sequential data set or
member of a partitioned data set that contains the filtering criteria to use. This is in
the form of card-image records, in DFSMSdss command syntax, that contain the
BY keywords described below.
LIST((schar,op,((arg))))
specifies data set filtering. To select the data set for inclusion in the DEFRAG
operation, all BY criteria must be met. See Filtering by Data Set Characteristics
on page 14 for a full discussion of schar, op, and arg.
DDName
5DDName(ddn)5
ddn
specifies the name of the DD statement that describes the volume to be processed.
DYNALloc
55
DYNALloc
83
DEFRAG Command
DYNAM
55
DYNAM(volser)
,unit
volser
specifies the volume serial number of a DASD volume to be processed.
unit
specifies the device type of a DASD volume to be processed. This parameter is
optional.
EXClude
55
6dsn))
EXClude(LISt(
(DDName(ddn))
dsn
specifies a fully or partially qualified name of a data set to be excluded from the
DEFRAG operation. You can specify either a cluster or component name for VSAM
data sets.
ddn
specifies the name of the DD statement that identifies a sequential data set or
member of a partitioned data set, which contains the list of data sets to be
excluded.
For a list of data sets to be placed in the EXCLUDE list if they are present on the
volume being defragmented, refer to the DFSMS/MVS DFSMSdss Storage
Administration Guide.
FORCECP
55
FORCECP(days)
FORCECP specifies that extents of checkpointed data sets resident on the SMS
volume or volumes can be moved. The checkpoint indication is left in place for IMS
GSAM data sets, as the data set is still usable for a restart. The checkpoint
indication is removed from all volumes for MVS checkpointed data sets, as the data
sets are no longer usable for a restart.
days
is a one-to three-digit number in the range of zero to 255, and specifies the
number of days that must have elapsed since the last referenced date before the
data set can be defragmented.
84
DEFRAG Command
FRAGMENTATIONIndex
55
FRAGMENTATIONIndex(n)
FRAGI
MAXmove
55
,1
PASSDelay(999)
MAXmove(n)
,p
PASSDelay(nnnn)
n
is a 1- to 6-digit number that specifies that DFSMSdss is to attempt to assemble up
to n free tracks in a contiguous area. If n is greater than the total number of free
tracks on the volume, for example MAXMOVE(999999), a message is issued and
the DEFRAG operation adjusts n to the number of free tracks.
p
is a 1- to 2-digit number that specifies that DFSMSdss is to make up to p passes in
attempting to assemble the tracks. If p is not specified, for example MAXMOVE(99),
only one pass is made, that is, MAXMOVE(99,1).
PASSDelay
specifies the time delay between the passes (p) specified in MAXMOVE (n,p).
PASSDELAY is only meaningful if (p) is greater than one.
nnnn
is a 1- to 4-digit number from 0 to 9999 that specifies the time delay in milliseconds
(1/1000 of a second). When MAXMOVE (n,p) is specified and PASSDELAY is not
specified, a default PASSDELAY value of 999 (almost a second) is used to allow
access to the volume between MAXMOVE passes.
DEFRAG processing attempts to move a fraction of the total free tracks during
each pass. DEFRAG processing calculates an integer limit that is the larger of n
divided by p or the value of 15. After each extent is moved, the limit is compared
with the cumulative number of tracks moved thus far during the pass, and if the
limit is reached or exceeded, the current pass is ended and a new pass is started.
Between each pass, the DEFRAG function releases and reobtains volume
serialization. This action reduces the overall time that a volume is made unavailable
to other applications by a DEFRAG operation.
The DEFRAG operation may end before completing p passes. If the DEFRAG
operation cannot assemble n contiguous free tracks without moving more than n
tracks, DFSMSdss issues a message and ends the DEFRAG operation. If n
contiguous free tracks exist, the DEFRAG operation still attempts to reduce the
fragmentation of the volume if it can do so without relocating more than n tracks.
85
DEFRAG Command
The operation or the current pass is also ended when DEFRAG processing criteria
(for example, FRAGI) is met. If more than one pass has been specified, only the
current pass is ended and message ADR233W is issued for the current pass when
the FRAGI criteria has been met. The DEFRAG function continues to run and
attempts to complete the specified number of passes; therefore, message
ADR233W is issued for each pass that has the FRAGI criteria met. The function
continues to run because activity on the volume between the DEFRAG passes may
change the fragmentation index and the subsequent DEFRAG passes may be able
to further reduce the fragmentation of the volume.
In order to reobtain volume serialization between DEFRAG passes, DFSMSdss
uses a default value of WAIT(3,30). This means that DFSMSdss is to retry the
volume serialization 30 times at 3 second intervals for a total wait time of 90
seconds. The DEFRAG operation issues a message and ends if volume
serialization cannot be obtained; any remaining passes are not run. The WAIT
Option on page 243 explains how to change the wait/retry values for the volume
serialization if the default is not satisfactory.
If MAXMOVE is not specified, DFSMSdss tries to assemble a contiguous free area
of a size equal to the total number of free tracks on the volume in a single pass.
The DEFRAG function uses two methods to assemble free tracks on the volume.
The first method attempts to assemble the largest contiguous amount of free space
with a minimum amount of data movement. The second method attempts to
assemble multiple groups of large areas of contiguous free space and generally
moves more data around than the first method. When MAXMOVE is specified, only
the first method is used during each pass.
PASSDelay
See the MAXMOVE keyword.
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
ddn
specifies the name of the DD statement that identifies the sequential data set, or
member of a partitioned data set that contains data set names and their passwords.
86
DEFRAG Command
This data set must contain card-image records in DFSMSdss command syntax
format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Printing of actual data set passwords specified in the input command stream is
suppressed in the SYSPRINT output.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
WAIT specifies to DFSMSdss the length of a wait in seconds and the number of
retries to obtain control of a data set.
numsecs
is a decimal number from 1 to 255 that specifies the interval, in seconds, between
retries.
numretries
is a decimal number (099) that specifies the number of times an attempt to gain
control of a data set is to be retried.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a data set, specify 0 for either numsecs or
numretries.
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to the DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
WRITECHECK
55
WRItecheck
WRC
87
DEFRAG Command
//JOB1
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//A1
DD
DSN=USER2.EXCLUDE,DISP=SHR
//SYSIN
DD
\
command input (see examples 1A and 1B below)
/\
Example 1A: With the Names of Excluded Data Sets in the Input
Stream
DEFRAG
DDNAME(DASD) EXCLUDE(LIST(USER2.\\.LIST,\.LOAD))
DDNAME(DASD) EXCLUDE(DDNAME(A1))
In examples 1A and 1B, DASD volume 111111 is defragmented. All data sets
whose first and last qualifiers are USER2 and LIST, respectively, are to be
excluded from this operation, as are data sets with two qualifiers whose second
qualifier is LOAD. In example 1B, cataloged data set USER2.EXCLUDE contains a
single card-image record with the following in columns 2 through 72:
USER2.\\.LIST,\.LOAD
88
DUMP Command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PAGE 1
5695-DF175
DEFRAG
DYNAM(D9S6)
ADR11I (R/I)-RI1 (1),
ADR19I (R/I)-RI1 (1),
ADR16I (1)-PRIME(1),
ADR6I (1)-STEND(1),
ADR28I (1)-EANAL(1),
ADR22I (1)-EANAL(1),
ADR29I (1)-EFRAG(1),
ADR29I (1)-EFRAG(1),
ADR29I (1)-EFRAG(1),
ADR29I (1)-EFRAG(1),
ADR29I (1)-EFRAG(1),
ADR213I (1)-EANAL(1),
PAGE 2
5695-DF175
ADR212I (1)-EANAL(1),
ADR6I (1)-STEND(2),
ADR13I (1)-CLTSK(1),
ADR12I (SCH)-DSSU (1),
DFSMSDSS V1R5.
1998.293 15:28
FOR
FOR
FOR
FOR
FOR
The value in the first column of message ADR212I is the size of the extent in tracks
(free space or data set) and is printed only if an extent of that size occurs. The
second and third columns show the number of free space extents existing before
processing that were of the size shown in the first column, along with their
cumulative percentage divided by 100. The fourth and fifth columns give the same
information for free space, but after processing. The sixth and seventh columns
give the distribution of allocated data set extents, which do not change during a
run.
DUMP Command
With the DUMP command, you can dump DASD data to a sequential data set. The
storage medium for the sequential data set can be a tape or DASD. You can dump
data sets, an entire volume, or ranges of tracks.
Note: The FULL keyword for the DUMP command specifies that an entire DASD
volume is to be dumped. The TRACKS keyword with the DUMP command
specifies ranges of tracks to be dumped.
89
,,c1,max head #
6
TRACKS((c1))
TRKS
,c1,max head #
B
,h1
,max head #
,c2
,h2
,
5INDDname(ddn)OUTDDname(6ddn)5%
IDD
ODD
INDYnam(volser)
IDY
,unit
55
ADMINistrator CANcelerror CHECKvtoc COMpress CONCurrent CPVOLume
CC
OPTimize(1)
READIOPacing()
55
OPTimize(n) PASsword(ddn) READIOPacing(nnn)
PSWD
,
RIOP
6dsn/pswd
55
TOLerate(IOERror)
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
EXClude(6dsn) INClude(6dsn)
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
6
6
BY((schar,op,(arg)))
91
55
ADMINistrator
,
ALLExcp CANcelerror CHECKvtoc COMpress
ALLData(6dsn) ALLX
ALLData(\)
55
CONCurrent DELete DYNALloc FORCECP(days)
CC NOTIFYCONCurrent
NOTIFYCC
55
INCAT(6catname)
ONLYINCAT
55
,
SELECTMulti(ALL)
LOGINDDname(6ddn)
LIDD
SELECTMulti(ALL)
SELM
ANY
6
LOGINDYnam((volser))
FIRST
LIDY
,unit
OPTimize(1)
55
OPTimize(n) PASsword(ddn) PROCESS(SYS1) PURge
PSWD
,
PRG
6dsn/pswd
|
|
READIOPacing()
55
READIOPacing(nnn) RESEt SHAre SPHERE
,
RIOP
SHR
STORGRP(6groupname)
VALIDate WAIT(2,2)
55
TOLerate(IOERror) UNCATalog NOVALIDate WAIT(numsecs,numretries)
,ENQFailure
ENQFailure
,IOERror
FDD
6
INDYNAM((volser))
IDY
,unit
,
5OUTDDname(6ddn)5%
ODD
F
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
6dsn) INClude(6dsn)
EXClude(
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
6
6
BY((schar,op,(arg)))
92
DUMP Command
55
ADMINistrator
, ALLExcp CANcelerror CHECKvtoc COMpress
ALLData(6dsn) ALLX
ALLData(\)
OPTimize(1)
55
CONCurrent DELete DYNALloc OPTimize(n) PASsword(ddn)
CC
PSWD ,
6dsn/pswd
READIOPacing()
55
PROCESS(SYS1) PURge READIOPacing(nnn) RESEt SHAre
PRG
RIOP
SHR
WAIT(2,2)
55
TOLerate(IOERror) UNCATalog WAIT(numsecs,numretries)
,ENQFailure
ENQFailure
,IOERror
ADMINistrator
55
ADMINistrator
ALLData
55
6dsn)
ALLData(
ALLData(\)
dsn
specifies the fully qualified name of a data set whose data set organization is PS7,
When ALLDATA or ALLEXCP is specified for an extended-sequential data set, data beyond the last used block pointer is not
retained. The target data set is allocated with the same amount of space as the source data set during a logical restore or copy
operation.
Chapter 3. SyntaxFunction Commands
93
DUMP Command
PSU, PO, POU, or null, for which all allocated space is to be dumped.8
* (asterisk)
specifies that all allocated space is to be dumped for:8
All sequential7 and partitioned data sets that are not empty, and
Data sets whose data set organization is null and are not empty (the last used
block pointer in the data set's VTOC entry is not zero).
Notes:
1. Using the ALLDATA keyword will result in all the allocated space being dumped
for applicable data sets. However, whether or not all the allocated space is
restored depends on data set characteristics and device characteristics during
the restore. If you require that all of the unused space is restored, then you
should be sure that the data set is restored to a like device type and not
reblocked or compressed. Compress is the default for PDS data sets on restore
unless you use the NOPACKING keyword.
|
|
2. For physical dump of PDSE and HFS data sets, all of the allocated space is
always dumped, regardless of the ALLDATA keyword.
ALLExcp
55
ALLExcp
ALLX
ALLEXCP is an option for full and data set dump operations. It instructs DFSMSdss
to dump all allocated space for data sets whose data set organization is PS7, PSU,
PO, POU, or null and are empty (the last used block pointer in the data set's VTOC
entry is zero).8
Note: Using the ALLEXCP keyword will result in all the allocated space being
dumped for applicable data sets. However, whether or not all the allocated
space is restored depends on data set characteristics and device
characteristics during the restore. If you require that all of the unused space
is restored, then you should be sure that the data set is restored to a like
device type and not reblocked or compressed. Compress is the default for
PDS data sets on restore unless you use the NOPACKING keyword.
BY
,
6(schar,op,(
6arg)))5
5BY(
BY specifies that the data sets selected up to this point by the processing of the
INCLUDE and EXCLUDE keywords are to be further filtered. To select the data set,
all BY criteria must be met. See Filtering by Data Set Characteristics on page 14
Any time a data set can have data beyond the last used block pointer in the data set's VTOC entry, or has a data set organization
that is null, or is the first or intermediate volume of a multivolume data set that has a data set organization that is null, you must
specify ALLDATA(dsn) or ALLDATA(*) if the data set is not empty or ALLEXCP if the data set is empty) to dump all its data.
JES2/JES3 data sets can have these characteristics, as can CICS journal and MSVCJRNL data sets.
94
DUMP Command
for a full discussion of schar, op, and arg. See the separate discussions of
INCLUDE and EXCLUDE for information on how these keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
CANcelerror
55
CANcelerror
Equipment check
Command reject
Intervention required
Busout parity
CHECKvtoc
55
CHECKvtoc
COMpress
55
COMpress
95
DUMP Command
CONCurrent
55
CONCurrent
CC NOTIFYCONCurrent
NOTIFYCC
NOTIFYCONCURRENT
For a logical data set dump operation, specifies that DFSMSdss issues message
ADR767I for every data set that is successfully included in the concurrent copy
operation. If not specified, messages are issued only for data sets that are not
successfully included in the concurrent copy operation.
CPVOLume
55
CPVOLume
CPVOLUME specifies that the input volume is a VM-format volume and that the
OS-compatible VTOC must begin on track zero, record five. You must specify the
track range to be copied with the TRACKS keyword, as the OS-compatible VTOCs
do not describe the extents of any data on the volume. You must also specify the
ADMINISTRATOR keyword with CPVOLUME because DFSMSdss cannot check
access authorization for VM data.
96
DUMP Command
DATASet
5DATASet5
DS
DATASET specifies a data set dump operation, using filtering. See Chapter 2,
FilteringChoosing the Data Sets You Want Processed on page 11 for an
explanation of the filtering process used. Unless the ALLDATA or ALLEXCP
keyword is specified, only used tracks are dumped for sequential and partitioned
data sets and for data sets with no defined data set organization (for example,
JES2/JES3 data sets). If the free space map in the VTOC is invalid, all tracks are
dumped.
Notes:
1. Either the FILTERDD, INCLUDE, EXCLUDE, or BY keyword must be specified
when DATASET is selected.
2. Nonintegrated catalog facility VSAM catalogs are not supported for data set
processing. If nonintegrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
DELete
55
DELete
For a physical data set dump, DELETE instructs DFSMSdss to delete expired
single-volume, non-VSAM data sets that are successfully serialized and dumped. In
addition, DFSMSdss is to uncatalog successfully deleted data sets. DELETE is
ignored for VSAM data sets.
|
|
For a logical data set dump, DELETE can be used to delete expired single- and
multivolume VSAM and non-VSAM data sets that are successfully serialized and
dumped. Unmovable data sets can also be deleted. User catalogs cannot be
deleted. Unexpired source data sets are deleted only if you also specify PURGE.
Notes:
1. For both a physical and a logical data set dump operation, you cannot delete
data sets with a high-level qualifier of SYS1 unless you specify
PROCESS(SYS1). Even if PROCESS(SYS1) is specified, SYS1.VVDS and
SYS1.VTOCIX data sets cannot be dumped and deleted. To delete or scratch a
password-protected data set, the operator must supply the password for
DADSM scratch password checking.
2. Do not specify SHARE if you specify DELETE.
3. Do not specify DELETE with CONCURRENT, because after the concurrent
copy operation has begun, the original data can still be updated.
97
DUMP Command
DYNALloc
55
DYNALloc
EXClude
,
6dsn)5
5EXClude(
dsn
specifies the name of a data set to be excluded from the data sets selected by
INCLUDE. Either a fully or a partially qualified data set name can be used. See
INCLUDE and BY for information on how these keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
FILterdd
5FILterdd(ddn)5
FDD
FILTERDD specifies the name of the DD statement that identifies the sequential
data set or member of a partitioned data set that contains the filtering criteria to
use. The filtering criteria are in the form of card-image records, in DFSMSdss
command syntax, containing the INCLUDE, EXCLUDE, and BY keywords that
complete the DUMP command syntax.
Note: You must use FILTERDD when you have more than 255 entries in the
INCLUDE, EXCLUDE, or BY list of subkeywords.
FORCECP
55
FORCECP(days)
98
DUMP Command
FORCECP specifies that checkpointed data sets resident on the SMS volume or
volumes can be logically dumped. Checkpoint indications are not removed from the
data set during conversion.
days
is a one-tothree-digit number in the range of zero to 255, and specifies the
number of days that must have elapsed since the last referenced date before the
data set can be dumped.
FULl
5FULl5
FULL specifies that an entire DASD volume is to be dumped. This is the default.
Unallocated tracks are not dumped. Unless the ALLDATA or ALLEXCP keyword is
specified, only used tracks are dumped for sequential and partitioned data sets and
for data sets with no defined data set organization. (for example, JES2/JES3 data
sets). If the free space map in the VTOC is invalid, all tracks are dumped. Used
tracks consist of the tracks from the beginning of the data set to the last-used track
(as indicated by the last used block pointer in the data sets VTOC entry).
Notes:
1. You cannot specify SHARE or TOL(ENQF) for FULL operations.
2. Nonintegrated catalog facility VSAM catalogs are not supported for full-volume
processing. If nonintegrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
INCAT
55
6catname)
INCAT(
ONLYINCAT
INCAT specifies one or more user catalogs to be searched before the standard
order of search for locating data sets. STEPCAT and JOBCAT are not allowed for
processing SMS-managed data sets. INCAT allows you to identify specific source
catalogs. To specify INCAT, RACF authorization may be required. Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for more information.
catname
specifies a fully qualified catalog name.
ONLYINCAT
specifies that DFSMSdss is to only search catalogs specified in the INCAT catalog
name list.
DFSMSdss does not process an SMS-managed data set that is cataloged outside
the standard order of search, even if it is cataloged in one of the catalogs specified
with the INCAT keyword.
99
DUMP Command
INClude
,
6dsn)5
5INClude(
dsn
specifies the name of a data set eligible to be dumped. Either a fully or a partially
qualified data set name can be used. See Filtering by Data Set Names on
page 12. If INCLUDE is omitted (but EXCLUDE or BY is specified) or if
INCLUDE(**) is specified, all data sets are eligible to be selected for dumping. See
the separate discussions of EXCLUDE and BY for information on how these
keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
INDDname
,
6ddn)5
5INDDname(
IDD
ddn
specifies the name of the DD statement that identifies the input volume to be
dumped. To assure correct processing, each of the DD statements corresponding
to a DDNAME (ddn) must identify only one volume serial number.
Notes:
1. Only one ddn can be specified for INDDname when you use full or tracks dump
operation. One or more are allowed for a physical data set dump operation.
2. Specifying INDDNAME or INDYNAM results in a physical dump. To do a logical
data set dump, either do not specify any input volumes with the DATASET
keyword or use the LOGINDDNAME or LOGINDYNAM keywords.
INDYnam
,
6(volser))5
5INDYnam(
IDY
,unit
volser
specifies the volume serial number of a DASD volume to be dumped.
unit
specifies the device type of a DASD volume to be dumped. This parameter is
optional.
100
DUMP Command
Notes:
1. The volume must be mounted and online. You cannot specify a nonspecific
volume serial number using an asterisk (*).
2. Only one volume is allowed for a full or tracks dump operation; one or more
volumes are allowed for a physical data set dump operation.
3. Using INDYNAM instead of DD statements to allocate DASD volumes does not
appreciably increase run time and permits easier coding of JCL and command
input.
4. If either INDDNAME or INDYNAM is specified, physical processing is used to
perform the dump. If both INDDNAME and INDYNAM are omitted, a logical
data set dump is performed. A logical data set dump is also performed if you
specify LOGINDDNAME or LOGINDYNAM.
LOGINDDname
55
,
SELECTMulti(ALL)
LOGINDDname(6ddn)
LIDD
SELECTMulti(ALL)
SELM
ANY
FIRST
ddn
specifies the name of the DD statement that identifies the input volume that
contains the data sets for a logical dump operation. To ensure correct processing,
each of the DD statements corresponding to a DDNAME (ddn) must identify only
one volume serial number.
See the SELECTMULTI description and the notes under LOGINDYNAM.
LOGINDYnam
55
,
SELECTMulti(ALL)
6(volser))
LOGINDYnam(
LIDY
,unit
SELECTMulti(ALL)
SELM
ANY
FIRST
LOGINDYNAM specifies that volumes that contain the data sets to be dumped
using logical processing are to be dynamically allocated.
Note: The volume must be mounted and online. You cannot specify a nonspecific
volume serial number using an asterisk (*).
volser
specifies the volume serial number of a DASD volume to be dumped.
unit
specifies the device type of a DASD volume to be dumped. This parameter is
optional.
SELECTMULTI
specifies the method for determining how cataloged multivolume data sets are to be
selected during a logical data set dump operation. SELECTMULTI is accepted only
when logical volume filtering is specified with either LOGINDDNAME or
LOGINDYNAM keywords. If logical volume filtering is not used, the specification of
SELECTMULTI is not accepted.
101
DUMP Command
ALL is the default, and specifies that DFSMSdss not dump a multivolume data set
unless the volume list specified by LOGINDDNAME or LOGINDYNAM lists all the
volumes that contain a part of the data set or VSAM cluster. For VSAM data sets:
If SPHERE is not specified, all parts of the base cluster or alternate index must
be contained in the volume list.
If SPHERE is specified, all parts of the base cluster must be contained in the
volume list.
ANY specifies that DFSMSdss dump a multivolume data set when any volume in
the volume list specified by LOGINDDNAME or LOGINDYNAM contains a part of
the data set or VSAM cluster. For VSAM data sets:
If SPHERE is not specified, any part of the base cluster or alternate index can
be contained in the volume list.
If SPHERE is specified, any part of the base cluster can be contained in the
volume list.
FIRST specifies that DFSMSdss dump a multivolume data set only when the
volume list specified by LOGINDDNAME or LOGINDYNAM lists the volume that
contains the first part of the data set. For VSAM data sets:
If SPHERE is not specified, the volume list must include the volume containing
the first extent of the data component for the base cluster or the volume
containing the first extent of the data component of an alternate index.
If SPHERE is specified, the volume list must include the volume containing the
first extent of the data component for the base cluster.
Notes for LOGINDDNAME and LOGINDYNAM keywords:
1. If LOGINDDNAME or LOGINDYNAM is specified, DFSMSdss uses logical
processing to perform the dump operation. Logical processing is also used if no
input volume is specified.
2. A multivolume data set that has extents on volumes not specified with
LOGINDDNAME or LOGINDYNAM will not be dumped unless you specify
SELECTMULTI.
NOTIFYCONCURRENT
See the CONCURRENT keyword.
NOVALIDate
See the VALIDATE keyword.
ONLYINCAT
See the INCAT keyword.
OPTimize
OPTimize(1)
55
OPTimize(n)
102
DUMP Command
OUTDDname
,
6ddn)5
5OUTDDname(
ODD
ddn
specifies the name of the DD statement that identifies the (output) dump data set.
This data set can be on a tape or a DASD volume. Up to 255 DDNAMEs can be
specified; that is, up to 255 dump copies can be made.
Notes:
1. The default block size for output records written to tape is 65 520 bytes. You
can change this default to 32 760 bytes by using the installation options exit
routine. Refer to DFSMS/MVS Installation Exits for details.
2. The default block size for output records written to DASD is the track length for
devices whose track length is less than 32KB (KB equals 1 024 bytes), or
one-half the track length for devices whose track length is greater than 32KB.
3. If the DCB keyword BLKSIZE is specified on the DD statement for tape or
DASD, it must be in the range of 7 892 to 32 760 inclusive.
4. The COPYDUMP command cannot change the block size of the DFSMSdss
dump data set. If you intend to copy the dump data set to a DASD device, you
must ensure that the block size will be small enough to fit on the target device.
5. If the DCB keyword RECFM is specified on the DD statement, it must have a
value of U.
6. If the DCB keyword LRECL is specified on the DD statement, it must have a
value of 0 (zero).
7. The output data set must be a standard format sequential data set and cannot
use any extended-format features, such as compression.
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
103
DUMP Command
Note: You should specify the passwords for all data sets that do not have RACF
protection but do have password protection. During processing, a utility
invoked by DFSMSdss may have to prompt the operator for a password.
You can control authorization checking by using the installation
authorization exit.
Catalog passwords are not supported to facilitate disaster recovery operations,
application data transfers, and data set migration. Catalog protection via an access
control facility, such as RACF, is the preferred method of protection.
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains data set names and their passwords.
This data set must contain card-image records in DFSMSdss command syntax
format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Note: Printing of actual data set passwords specified in your input command
stream is suppressed in the SYSPRINT output.
PROCESS
55
PROCESS(SYS1)
SYS1
specifies that DFSMSdss is to allow data sets with a high-level qualifier of SYS1 to
be dumped and that SYS1 data sets can be deleted and uncataloged. SYS1.VVDS
and SYS1.VTOCIX data sets can be physically, but not logically, dumped.
SYS1.VVDS and SYS1.VTOCIX data sets cannot be deleted or uncataloged. To
specify PROCESS(SYS1), RACF authorization may be required. Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for more information.
PURge
55
PURge
PRG
PURGE for a data set dump operation, specifies deletion of unexpired data sets
that are dumped successfully. This keyword is valid only when DELETE has been
specified.
READIOPacing
READIOPacing()
55
READIOPacing(nnn)
RIOP
READIOPACING specifies the pacing (that is, I/O delay) to be used for DFSMSdss
DASD read channel programs. You can use this keyword to allow more time for
104
DUMP Command
other applications to complete I/O processing. DFSMSdss waits the specified time
before issuing each channel program that reads from DASD.
nnn
specifies the amount of time in milliseconds. The maximum delay that can be
specified is 999 milliseconds.
Notes:
1. If READIOPACING is not specified, there will be no I/O delay.
2. The additional wait time does not apply to error recovery channel programs.
3. READIOPACING does not apply to concurrent copy I/O.
RESEt
55
RESEt
RESET specifies that the data-set-changed flag in the VTOC entry is to be reset for
all data sets serialized and successfully dumped. This applies to both a full dump
and a data set dump operation.
Notes:
1. Do not specify SHARE if you specify RESET. You might not want to specify
RESET if you use a storage management program, such as DFSMShsm.
2. The RESET keyword is ignored when a data set is dumped using RLS access.
|
|
|
|
|
|
|
3. For a logical data set dump operation, the use of the RESET keyword causes
the enqueue on a data set to be held until all data sets are dumped.
DFSMSdss does not reset the data set change indicator until after all data sets
are dumped. This may be of particular interest when dumping user catalogs.
The fact that DFSMSdss will hold the enqueue for the user catalog until all the
data sets are dumped may cause delays for other jobs that need access to the
user catalog and may cause a lockout condition when another job is dumping
the same catalog at the same time. For information about a patch to modify the
reset algorithm, refer to the appendix in DFSMS/MVS DFSMSdss Diagnosis
Guide.
4. You may specify both CONCURRENT and RESET, but RESET is ignored and
a warning message is printed unless your installation uses a patch to tell
DFSMSdss to accept RESET with CONCURRENT and to reset the data set
changed indicator after the concurrent copy initialization is complete. If your
installation uses the patch, it is possible that the data set changed indicator is
left reset (off) even when the dump of the data set is not successful. If this is
unacceptable, do not specify RESET with CONCURRENT. Refer to the
appendix in DFSMS/MVS DFSMSdss Diagnosis Guide for more information on
DFSMSdss patches.
105
DUMP Command
SELECTMulti
See the LOGINDDNAME and LOGINDYNAM keywords.
SHAre
55
SHAre
SHR
SHARE specifies that DFSMSdss is to share the data sets to be dumped for read
access with other programs. Do not specify the DELETE, RESET, or UNCATALOG
keyword if you specify SHARE. Use SHARE carefully to ensure that the contents of
the dumped copy of the data set are valid.
SHARE and FULL are mutually exclusive and cannot be specified together.
Note: Unlike the COPY and RESTORE commands, the SHARE keyword is
honored for VSAM data sets. However, the SHARE keyword is only
honored for VSAM data sets that were defined with share options other than
(1,3) or (1,4).
Specifying the SHARE keyword does not cause DFSMSdss to honor the
share options defined for VSAM data sets. For VSAM data sets defined with
share options other than (1,3) or (1,4), specifying the SHARE keyword
allows other programs to obtain read access, but not write access to the
data sets while they are being dumped. For VSAM data sets defined with
share options (1,3) or (1,4), neither read access nor write access by other
programs is allowed while the data set is being dumped, regardless of
whether or not SHARE was specified.
SPHERE
55
SPHERE
SPHERE is an option for a logical data set dump. SPHERE specifies that for any
VSAM cluster dumped DFSMSdss must also dump all associated AIX clusters and
paths. Individual sphere components need not be specified, only the base cluster
name.
Notes:
1. The base cluster name must be specified to process the entire sphere. If the
SPHERE keyword is specified but the base cluster name is not, none of the
associations will be processed.
2. If an AIX is dumped without the SPHERE keyword, during a restore DFSMSdss
treats the AIX as a normal VSAM KSDS.
|
STORGRP
|
|
|
55
6groupname)
STORGRP(
106
DUMP Command
|
|
|
|
|
STORGRP specifies that all of the online volumes in the storage group be
dynamically allocated. If a volume in the storage group is not online, that volume is
not used for processing. Up to 255 storage group names may be specified.
Specifying STORGRP with a storage group name is equivalent to specifying
LOGINDYNAM with all the online volumes in the storage group included in the list.
|
|
|
You can specify the STORGRP keyword with the SELECTMULTI keyword, but
STORGRP is mutually exclusive with the INDDname, INDYnam, LOGINDDname
and LOGINDYnam keywords.
TOLerate
55
TOLerate(IOERror)
,ENQFailure
ENQFailure
,IOERror
ENQFailure
specifies that data sets are to be processed even though shared or exclusive
access fails.
TOL(ENQF) and FULL or TRACKS are mutually exclusive; you cannot specify
these keywords together.
Notes:
|
|
1. Unlike PDS data sets, PDSE data sets that are open for update cannot be
dumped even if TOL(ENQF) is specified.
2. If you must dump a PDSE data set and it must be open for update, process the
data set with concurrent copy (specify CONCURRENT). If you cannot use
concurrent copy, convert the PDSE back to PDS and then dump the PDS data
set with TOL(ENQF).
|
|
|
|
|
3. TOL(ENQF) is not supported for HFS data sets. HFS data sets cannot be
dumped when the HFS is mounted on a system other than the system where
the dump is being performed. TOL(ENQF) is not required when dumping an
HFS data set that is mounted on the same system where the dump is being
performed.
For more information on TOL(ENQF), see Appendix B, Data
IntegritySerialization on page 241.
IOERror
specifies that DFSMSdss is to continue processing even though input errors occur,
but is to end after 100 errors. This applies only to input errors and only to
equipment check and busout parity.
Notes:
1. TOL(IOERror) is ignored if CANcelerror is specified.
2. If a permanent read error occurs, the track image record is flagged on output
as having an I/O error and the dump processing continues.
3. This track is cleared in a restore operation.
107
DUMP Command
TRACKS
55
,,c1,max head #
6
TRACKS((c1))
TRKS
,c1,max head #
,h1
,max head #
,c2
,h2
TRACKS specifies ranges of tracks to be dumped. When you restore the data, this
entire range or its subset must be specified with the RESTORE command. Refer
to DFSMS/MVS DFSMSdss Storage Administration Guide for additional information
on using TRACKS during physical processing.
c1,h1
specifies the cylinder and head number of the beginning of the range. Specify
hexadecimal numbers as X'c1' or X'h1'.
c2,h2
specifies the cylinder and head number of the end of the range. Specify
hexadecimal numbers as X'c2' or X'h2'.
Notes:
1. The c2 must be greater than or equal to c1.
2. If c2 equals c1, h2 must be greater than or equal to h1.
DFSMSdss verifies that the range is within the limits of the device. If you do not
specify all four values for a range, DFSMSdss provides the missing values unless
the omitted value causes a syntax error. No intervening values can be omitted. For
example:
Specified Results
None
Syntax error
c1
c1,h1
c1,h1,c2
c1,,c2
Syntax error
,h1
Syntax error
UNCATalog
55
UNCATalog
108
DUMP Command
are currently cataloged. (For VSAM or SMS-managed data sets, use the DELETE
keyword.)
Notes:
1. UNCATALOG is ignored for VSAM and SMS-managed data sets.
2. Do not specify UNCATALOG with CONCURRENT, because after the
concurrent copy operation has begun, the original data can still be updated.
3. For a logical data set dump operation, the use of the UNCATALOG keyword
causes the enqueue in a data set to be held until all data sets are dumped.
DFSMSdss does not uncatalog the data set until after all data sets are
dumped. Refer to the appendix in DFSMS/MVS DFSMSdss Diagnosis Guide
for information about a patch to modify the UNCATALOG algorithm.
4. Any non-SMS, non-VSAM data set that has a high-level qualifier of SYS1
cannot be uncataloged unless PROCESS(SYS1) is specified.
VALIDate
VALIDate
55
NOVALIDate
VALIDATE on a logical data set dump, specifies that all indexed VSAM data sets
are to be validated as they are dumped. If the NOVALIDATE keyword is specified,
the indexed VSAM data sets are dumped without validation. VALIDATE is the
default.
Notes:
1. If an indexed VSAM data set is dumped using VALIDATE, it must be restored
on a system that supports VALIDATE. Otherwise, an error message is issued,
and the restore fails.
2. Do not specify the NOVALIDATE keyword when processing VSAM
extended-format or extended-addressable data sets.
3. When a data set is restored, the free space in the control areas and control
intervals are reset to the values in the catalog entry. You can override the
values in the catalog entry by specifying the FREESPACE keyword on the
restore.
4. Use the NOVALIDATE keyword on the DUMP command if you wish to restore
to a DFDSS Version 2 Release 5 system that does not have the appropriate
VALIDATE support, or to any level of DFDSS prior to Release 2 Version 5.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
For Physical Data Set Dump Processing: WAIT specifies to DFSMSdss the
length of a wait and the number of retries to obtain control of a data set.
109
DUMP Command
numsecs
is a decimal number from 0 to 255 that specifies the interval, in seconds, between
retries.
numretries
is a decimal number (099) that specifies the number of times DFSMSdss must
retry to gain control of a data set.
For Logical Data Set Dump Processing: WAIT specifies to DFSMSdss the
length of wait and the number of passes to be made through the list of selected
data sets to obtain control of a data set.
numsecs
is a decimal number from 0 to 255 that specifies the interval, in seconds, to wait
before attempting another pass through the list of selected data sets.
numretries
is a 1- or 2-digit number (099) that specifies the number of passes to make
through the list of selected data sets in an attempt to obtain control of a data set.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a data set, specify 0 for either numsecs or
numretries.
For logical data set dump operation, the WAIT keyword has a different meaning
when: (1) data sets are being serialized, (2) multiple data sets are being processed,
and (3) WAIT(0,0) is not specified. In this case, DFSMSdss makes multiple passes
through the list of selected data sets. On each pass, DFSMSdss processes the
data sets that (1) can be serialized without waiting for the resource and (2) were
not processed before. At the end of a pass, if none of the data sets could be
processed without waiting for a resource, then, in the next pass, at the first
occurrence of a data set that was not processed, a WAIT will be issued. That data
set and the remainder of the list will be processed if possible. The above procedure
will be repeated until all data sets are processed or the WAIT limits are reached.
For example, if WAIT(3,10) is specified and 5 data sets are left to be processed, up
to 10 passes are made. On each pass, an unprocessed data set is waited upon for
3 seconds. Thus, only a 30-second maximum will ever be waited, not 150 (5 times
3 times 10).
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
110
DUMP Command
Full data integrity can only be guaranteed by performing dump operations by data
set when TOL(ENQF) or SHARE keywords are not specified.
Example 1:
//JOB1
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//TAPE
DD
UNIT=(348,2),VOL=SER=(TAPE1,TAPE2),
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=USER2.BACKUP
//SYSIN
DD
\
command input (See Examples 1A and 1B below)
/\
INDDNAME(DASD) OUTDDNAME(TAPE)
111
DUMP Command
Example 2:
//JOB2
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//DASD2
DD
UNIT=338,VOL=(PRIVATE,SER=222222),DISP=OLD
//TAPE
DD
UNIT=348,VOL=SER=TAPE2,
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=USER2.BACKUP
//SYSIN
DD
\
command input (see Examples 2A, 2B, ... 2G that follow)
/\
Note: The following DD statement must be added to the JCL shown above:
//A1
DD
DSNAME=USER2.FILTER,DISP=SHR
This cataloged data set (USER2.FILTER) contains three card-image records. The
information shown is positioned in columns 2 through 72 of each record:
INCLUDE(USER2.\\,USER3.\) EXCLUDE(USER2.\\.REP) BY((DSCHA,EQ,1))
112
DUMP Command
Note: The following DD statement must be added to the JCL shown above:
//PDD
DD
DSNAME=USER2.PASSWORD,DISP=SHR
Example 2G: Wait for Data Sets if They or Other Data Sets with
the Same Name Are in Use by Other Jobs
DUMP
If a data set is in use, DFSMSdss waits for one second, then tries to gain access to
the resource again. This is done as many as 99 times for each data set.
If you do not want a dump of the uncataloged data sets, the DD named TAPE can
be a dummy. DASD1 and DASD2 identify the input volumes. A physical data set
dump can handle multiple uncataloged single-volume data sets with the same
name if multiple volumes are specified. This is because each volume is processed
in order, one at a time. The dump cannot handle a multivolume data set even if all
the volumes on which it resides are specified as input volumes.
113
DUMP Command
//JOB1
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//DASD2
DD
UNIT=338,VOL=(PRIVATE,SER=222222),DISP=OLD
//TAPE
DD
UNIT=348,VOL=SER=TAPE2,
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=USER2.BACKUP
//SYSIN
DD
\
DUMP LOGINDDNAME(DASD1) OUTDDNAME(TAPE) DATASET(INCLUDE(\\)) TOL(ENQF) WAIT(,)
/\
DFSMSdss does not wait (WAIT(0,0)) if a data set is in use. Instead, it processes
the data set without serialization or enqueuing (TOL(ENQF)).
114
DUMP Command
115
DUMP Command
116
PRINT Command
PRINT Command
With the PRINT command, you can print:
A single-volume non-VSAM data set, as specified by a fully qualified name.
You must specify the volume where the data set resides, but you do not need
to specify the range of tracks it occupies.
A single-volume VSAM data set component (not cluster). The component name
specified must be the name in the VTOC, not the name in the catalog.
Ranges of tracks.
All or part of the VTOC. The VTOC location need not be known.
Note: In order to print a multivolume data set, multiple PRINT commands with the
appropriate INDD/INDY keywords must be used.
Unless the ALLDATA keyword is specified, only the used space is printed for
sequential or partitioned data sets or data sets with data set organizations of null.
If an error occurs in reading a record, DFSMSdss attempts to print the record in
error. You can print all requested tracks or just a subset of the tracks that have
data checks. For information about authorization checking, see Chapter 6, Data
Security and Authorization Checking on page 207.
PRINT Syntax
VTOC(1,X'FFFF')
55PRInt5
PRT
,a
TOLerate(IOERror)
ADMINistrator
VTOC(a)
,b
DATASet(dsn)
DS
A
,,c1,max head #
TRACKS(c1)
TRKS
,c1,max head #
TOLerate(IOERror)
,h1
,max head #
,c2
,h2
55
DATALength(n) ERRortracks KEYlength(n) OUTDDname(ddn) PASsword(ddn)
ODD
PSWD
,
6dsn/pswd
5INDDname(ddn)5%
IDD
INDYnam(volser)
IDY
,unit
,ENQFailure
ENQFailure
,IOERror
WAIT(2,2)
55
WAIT(numsecs,numretries)
117
PRINT Command
ADMINistrator
55
ADMINistrator
ALLData
55
ALLData
ALLDATA specifies, when the DATASET keyword is also specified, that all
allocated space in the data set is to be printed.
DATALength
55
DATALength(n)
n
specifies the logical length, in decimal format, of the data portion of a record. It is
used only if the count field of a record on any track has a data check.
DATASet
5DATASet(dsn)5
DS
dsn
specifies the fully qualified name of the data set to be printed. The data set is
printed in logical sequence.
Note: Data set filtering is not allowed with the PRINT command.
Nonintegrated catalog facility VSAM catalogs are not supported for data set
processing. Attempting to print such a data set will result in message ADR377W.
118
PRINT Command
DYNALloc
55
DYNALloc
ERRortracks
55
ERRortracks
ERRORTRACKS specifies that only tracks on which data checks occur are to be
printed.
INDDname
5INDDname(ddn)5
IDD
ddn
specifies the name of the DD statement that identifies a volume that contains the
data set, range of tracks, or the VTOC to be printed. If you want to print a
multivolume data set, you must print one volume at a time.
INDYnam
5INDYnam(volser)5
IDY
,unit
INDYNAM specifies that the volume that contains the data set, range of tracks, or
the VTOC to be printed is to be dynamically allocated. The volume must be
mounted and online. You cannot specify a nonspecific volume serial number using
an asterisk (*).
Using INDYNAM instead of DD statements to allocate DASD volumes does not
noticeably increase run time and permits easier coding of JCL and command input.
volser
specifies the volume serial number of a DASD volume to be printed.
unit
specifies the device type of a DASD volume to be printed. This parameter is
optional.
119
PRINT Command
KEYlength
55
KEYlength(n)
n
specifies the key length, in decimal format, of a record. It is used only if the count
field of a record on any track has a data check.
OUTDDname
55
OUTDDname(ddn)
ODD
ddn
specifies the name of the DD statement that identifies the (output) print data set.
Each of the DD statements corresponding to a DDNAME (ddn) must identify only
one volume serial number. If this keyword is not specified, the default is
SYSPRINT.
Notes:
1. If the DCB keyword LRECL is specified on the DD statement, it must be in the
range of 84 to 137 inclusive. If BLKSIZE is specified, it must be at least four
greater than the LRECL.
2. If an LRECL less than 84 is chosen, the return code is 8 and an error message
is issued.
3. If the specified LRECL is greater than 137, LRECL and BLKSIZE are set to 137
and 141, respectively.
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
120
PRINT Command
ddn
specifies the name of the DD statement that identifies the sequential data set, or
member of a partitioned data set, that contains data set names and their
passwords. This data set must contain card-image records in DFSMSdss command
syntax format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Printing of actual data set passwords specified in your input command stream is
suppressed in the SYSPRINT output.
SHAre
55
SHAre
SHR
SHARE specifies that DFSMSdss is to share, for read access with other programs,
the data set that is to be printed.
TOLerate
55
TOLerate(IOERror)
,ENQFailure
ENQFailure
,IOERror
ENQFailure
specifies that data sets are to be processed even though shared or exclusive
access fails. For more information on TOL(ENQF), see Appendix D, Examples of
the Application Program with the User Interaction Module (UIM) on page 287.
IOERror
specifies that DFSMSdss is to continue processing even though I/O errors occur,
but is to end after 100 errors.
TRACKS
55
,,c1,max head #
TRACKS(c1)
TRKS
,c1,max head #
,h1
,max head #
,c2
,h2
c1,h1
specifies the cylinder and head number of the beginning of the range. Specify
hexadecimal numbers as X'c1' or X'h1'.
121
PRINT Command
c2,h2
specifies the cylinder and head number of the end of the range. Specify
hexadecimal numbers as X'c2' or X'h2'. The c2 must be greater than or equal to
c1. If c2 equals c1, h2 must be greater than or equal to h1.
DFSMSdss verifies that the range is within the limits of the device. If you do not
specify all four values for a range, DFSMSdss provides the missing values unless
the omitted value causes a syntax error. No intervening values can be omitted. For
example:
Specified Results
None
Syntax error
c1
c1,h1
c1,h1,c2
c1,,c2
Syntax error
,h1
Syntax error
VTOC
VTOC(1,X'FFFF')
55
,a
VTOC(a)
,b
VTOC specifies that all or part of the VTOC is to be printed. Omitting the VTOC,
DATASET, and TRACKS keywords causes the entire VTOC to be printed. Part of
the VTOC can be printed by specifying:
VTOC(a,b)
where a and b are the relative track numbers (1 is the first track) of the first and
last tracks to be printed. The value of b must be equal to or greater than the value
of a and equal to or less than 65535 (X'FFFF'). Either of these numbers can be
specified in decimal or hexadecimal. To specify a hexadecimal number, code
X'nn'.
If only the first value (a) is specified, only that track is printed.
If the second value (b) is greater than the relative track number of the last physical
track of the VTOC, DFSMSdss prints up to and including the last track of the
VTOC. Therefore, another way of printing the entire VTOC would be to specify:
VTOC(1,X'FFFF')
Note: The PASSWORD keyword is not valid for a PRINT VTOC command.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
122
PRINT Command
WAIT specifies to DFSMSdss the length of a wait in seconds and the number of
retries to obtain control of a data set.
numsecs
is a decimal number (1255) that specifies the interval, in seconds, between retries.
numretries
is a decimal number (099) that specifies the number of times an attempt to gain
control of a data set is to be retried.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a data set, specify 0 for either numsecs or
numretries.
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
\/
\/
\/
\/
\/
123
RELEASE Command
PAGE 1
5695-DF175 DFSMSDSS V1R5. DATA SET SERVICES
1998.293 15:28
PRINT
DATASET(PUBSEXMP.SAM.S1) INDYNAM(D9S6)
ADR11I (R/I)-RI1 (1), TASKID 1 HAS BEEN ASSIGNED TO COMMAND 'PRINT '
ADR19I (R/I)-RI1 (1), 1998.293 15:28:31 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED.
ADR16I (1)-PRIME(1), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
ADR6I (1)-STEND(1), 1998.293 15:28:31 EXECUTION BEGINS
\\\ TRACK(CCHH) E
R DATA
COUNT E119
FFFF FF1D7E4 C2E2C5E7 D4D74BE2 C1D44BE2 FF1C1C2 C3C4C5C6 C7C8C9D1 \1PUBSEXMP.SAM.S1ABCDEFGHIJ\
2 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 \KLMNOPQRSTUVWXYZABCDEFGHIJKLMNOP\
4 D8D9E2E3 E4E5E6E7 E8E9C1C2 C3C4C5C6 FFFF FF2D7E4 C2E2C5E7 D4D74BE2 \QRSTUVWXYZABCDEF2PUBSEXMP.S\
6 C1D44BE2 FF1C1C2 C3C4C5C6 C7C8C9D1 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 \AM.S1ABCDEFGHIJKLMNOPQRSTUVWXYZ\
8 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 D8D9E2E3 E4E5E6E7 E8E9C1C2 C3C4C5C6 \ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF\
A FFFF FF3D7E4 C2E2C5E7 D4D74BE2 C1D44BE2 FF1C1C2 C3C4C5C6 C7C8C9D1 \3PUBSEXMP.SAM.S1ABCDEFGHIJ\
C D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 \KLMNOPQRSTUVWXYZABCDEFGHIJKLMNOP\
E D8D9E2E3 E4E5E6E7 E8E9C1C2 C3C4C5C6 FFFF FF4D7E4 C2E2C5E7 D4D74BE2 \QRSTUVWXYZABCDEF4PUBSEXMP.S\
1 C1D44BE2 FF1C1C2 C3C4C5C6 C7C8C9D1 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 \AM.S1ABCDEFGHIJKLMNOPQRSTUVWXYZ\
12 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 D8D9E2E3 E4E5E6E7 E8E9C1C2 C3C4C5C6 \ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF\
14 FFFF FF5D7E4 C2E2C5E7 D4D74BE2 C1D44BE2 FF1C1C2 C3C4C5C6 C7C8C9D1 \5PUBSEXMP.SAM.S1ABCDEFGHIJ\
16 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 \KLMNOPQRSTUVWXYZABCDEFGHIJKLMNOP\
18 D8D9E2E3 E4E5E6E7 E8E9C1C2 C3C4C5C6
\QRSTUVWXYZABCDEF
\
ADR6I (1)-STEND(2), 1998.293 15:28:31 EXECUTION ENDS
ADR13I (1)-CLTSK(1), 1998.293 15:28:31 TASK COMPLETED WITH RETURN CODE
ADR12I (SCH)-DSSU (1), 1998.293 15:28:31 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS
RELEASE Command
|
|
|
|
|
|
|
The RELEASE command releases allocated but unused space from all eligible
sequential, partitioned, and extended-format VSAM data sets that pass INCLUDE,
EXCLUDE, and BY filtering criteria. The RELEASE command does not release
space from guaranteed-space VSAM extended-format data sets. For an explanation
of these criteria, see Chapter 2, FilteringChoosing the Data Sets You Want
Processed on page 11. DFSMSdss only selects data sets that have space that
can be released.
|
|
|
|
|
Logical processing operates on a single selected data set at a time. The data
set can be multivolume. The user has the option to not specify volumes or to
specify one or more volumes with the LOGDDNAME, LOGDYNAM, or
STORGRP keywords. Releasing unused space from extended-format VSAM
data sets requires logical processing.
|
|
|
|
If no input volumes are specified and the INCAT keyword is not specified,
DFSMSdss selects from all data sets cataloged in the catalogs accessible
through the standard search order. For INCAT keyword details, see the INCAT
keyword description in this section.
124
RELEASE Command
|
|
|
|
|
Physical processing operates on all selected data sets that reside on a single
volume. The user must specify one or more volumes with the DDNAME or
DYNAM keywords. You cannot use physical processing to release unused
space from extended-format VSAM data sets.
To process multivolume data sets, do one of the following:
|
|
|
|
|
|
|
|
|
|
|
A data set with the maximum number of extents already in use will not have
any space released. For an extended-format VSAM data set, the maximum is
255 extents. For a partitioned data set extended (PDSE) and an
extended-sequential data set, the maximum is 123 extents. For other
partitioned and sequential data sets, the maximum is 16 extents.
For extended-format VSAM data sets, DFSMSdss releases space from only the
data component of a base cluster or an alternate index (AIX).
Free tracks in cylinder-allocated extents are not released. Only free cylinders
are released.
DFSMSdss excludes system data sets beginning with SYS1, unless the
PROCESS keyword is used.
DFSMSdss releases space from each volume on which an extended-sequential
data set contains data.
DFSMSdss does not support the release of HFS data sets, as the DADSM
PARTREL macro no longer supports HFS data sets.
FDD
DYNam(6(volser))
,unit
||
|
|
|
5RELease A 5
FILterdd(ddn) B C
FDD
125
RELEASE Command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
EXClude(6dsn) INClude(6dsn)
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
BY(6(schar,op,(6arg)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MINSECqty(1) MINTRAcksunused(1)
555
ADMINistrator DYNALloc FORCECP(days) MINSECqty(n) MINTRAcksunused(n)
MINTRKS
WAIT(2,2)
55%
PASsword(ddn) PROCESS(SYS1) WAIT(numsecs,numretries)
PSWD
,
6dsn/pswd
55
,
SELECTMulti(ALL)
LOGDDname(6ddn)
LDD
SELECTMulti(ALL)
SELM
ANY
FIRST
,
SELECTMulti(ALL)
LOGDYnam(6(volser))
LDY
,unit
SELECTMulti(ALL)
SELM
ANY
FIRST
55
,
SPHERE
,
INCAT(6catname)
STORGRP(6groupname)
ONLYINCAT
ADMINistrator
55
ADMINistrator
126
RELEASE Command
BY
,
6(schar,op,(
6arg)))5
5BY(
BY specifies that the data sets selected up to this point, by the processing of the
INCLUDE and EXCLUDE keywords, are to be further filtered. To select the data
set, all BY criteria must be met. See Filtering by Data Set Characteristics on
page 14 for a full discussion of schar, op, and arg. See the separate discussions of
INCLUDE and EXCLUDE for information on how these keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
DDName
,
6ddn)5
5DDName(
ddn
specifies the name of the DD statement that identifies a volume whose sequential
and partitioned data sets, if selected, are to have their unused space released. To
assure correct processing, each of the DD statements corresponding to a DDname
(ddn) must identify only one volume serial number.
DYNALloc
55
DYNALloc
DYNam
,
6(volser))5
5DYNam(
,unit
127
RELEASE Command
volser
specifies the volume serial number of a DASD volume to be processed.
unit
specifies the device type of a DASD volume to be processed. This parameter is
optional.
EXClude
,
6dsn)5
5EXClude(
dsn
specifies the name of a data set to be excluded from the data sets selected by
INCLUDE. Either a fully or a partially qualified data set name can be used. See the
separate discussions of INCLUDE and BY for information on how these keywords
are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
FILterdd
5FILterdd(ddn)5
FDD
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains the filtering criteria to use. This is in
the form of card-image records, in DFSMSdss command syntax, that contain the
INCLUDE, EXCLUDE, and BY keywords that complete the RELEASE command
syntax.
Note: You must use FILTERDD when you have more than 255 entries in the
INCLUDE, EXCLUDE, or BY list of subkeywords.
FORCECP
55
FORCECP(days)
FORCECP specifies that allocated but unused space in checkpointed data sets
resident on the SMS volume or volumes can be released. Checkpoint indications
are removed from the data set.
days
is a one- to three-digit number in the range of zero to 255, and specifies the
number of days that must have elapsed since the last referenced date before the
space can be released.
128
RELEASE Command
INCAT
|
|
|
|
55
6catname)
INCAT(
ONLYINCAT
|
|
|
|
|
|
INCAT specifies that DFSMSdss search one or more user catalogs before the
standard order of search for locating data sets. DFSMSdss does not allow
STEPCAT and JOBCAT when processing SMS-managed data sets. The INCAT
keyword allows you to identify specific source catalogs. RACF authorization may be
required to specify INCAT. Refer to DFSMS/MVS DFSMSdss Storage
Administration Guide for more information about the RACF Facility Class profiles.
|
|
catname
specifies a fully qualified catalog name.
|
|
|
ONLYINCAT
specifies that DFSMSdss only search catalogs specified in the INCAT catalog name
list.
|
|
|
DFSMSdss does not process an SMS-managed data set that is cataloged outside
the standard order of search, even if it is cataloged in one of the catalogs specified
with the INCAT keyword.
INClude
,
6dsn)5
5INClude(
dsn
specifies the name of a data set whose unused space is eligible to be released.
Either a fully or a partially qualified data set name can be used. See Filtering by
Data Set Names on page 12. If INCLUDE is omitted (but EXCLUDE or BY is
specified) or if INCLUDE(**) is specified, all data sets are eligible to be selected for
releasing. See the separate discussions of EXCLUDE and BY for information on
how these keywords are specified.
Note: You must use FILTERDD when you have more than 255 entries in
INCLUDE, EXCLUDE, or BY list keywords.
|
|
|
|
|
|
|
LOGDDname
|
|
|
|
|
ddn
specifies the name of the DD statement that identifies a single volume that contains
the data sets to be released by logical processing. You can specify up to 255
DDNAME entries with the LOGDDNAME keyword. Each DD statement can
correspond to only one volume serial number.
55
,
SELECTMulti(ALL)
LOGDDname(6ddn)
LDD
SELECTMulti(ALL)
SELM
ANY
FIRST
129
RELEASE Command
|
|
|
|
|
SELECTMULTI
specifies the method that determines how DFSMSdss selects cataloged
multivolume data sets. DFSMSdss accepts SELECTMULTI only when you specify
logical processing with either the LOGDDNAME or LOGDYNAM keyword.
Otherwise, DFSMSdss cannot accept the SELECTMULTI keyword.
|
|
|
|
ALL
is the default, and specifies that DFSMSdss not process a multivolume data set
unless the volume list specified by LOGDDNAME or LOGDYNAM lists all the
volumes that contain a part of the data set of VSAM cluster.
|
|
|
|
ANY
specifies that DFSMSdss process a multivolume data set when any part of the
non-VSAM data set or VSAM cluster is on a volume in the volume list specified by
LOGDDNAME or LOGDYNAM.
|
|
|
|
|
FIRST
specifies that DFSMSdss process a multivolume data set only when the volume list
specified by LOGDDNAME or LOGDYNAM lists the volume that contains the first
part of the data set. For VSAM data sets, the volume list must include the volume
that contains the first extent of the data component for the cluster.
|
|
|
|
|
|
|
|
|
|
|
55
,
SELECTMulti(ALL)
LOGDYnam(6(volser))
LDY
,unit
SELECTMulti(ALL)
SELM
ANY
FIRST
LOGDYnam
|
|
LOGDYNAM requests logical processing and specifies that the volumes that
contain the data sets to be processed are dynamically allocated.
|
|
|
|
|
volser
specifies the volume serial number of a DASD volume to be dynamically allocated.
The volume must be mounted and online. You cannot specify a nonspecific volume
serial number by using an asterisk(*). You can specify up to 511 volumes with the
LOGDYNAM keyword.
|
|
|
unit
specifies the device type of a DASD volume to be processed. This parameter is
optional.
|
|
|
|
|
SELECTMULTI
specifies how DFSMSdss selects cataloged multivolume data sets. DFSMSdss
accepts SELECTMULTI only when you specify logical processing with either the
LOGDDNAME or LOGDYNAM keyword. Otherwise, DFSMSdss cannot accept the
specification of SELECTMULTI.
|
|
|
|
ALL
is the default, and specifies that DFSMSdss not process a multivolume data set
unless the volume list specified by LOGDDNAME or LOGDYNAM lists all the
volumes that contain a part of the data set of VSAM cluster.
130
RELEASE Command
|
|
|
|
ANY
specifies that DFSMSdss process a multivolume data set when any part of the
non-VSAM data set or VSAM cluster is on a volume in the volume list specified by
LOGDDNAME or LOGDYNAM.
|
|
|
|
|
FIRST
specifies that DFSMSdss process a multivolume data set only when the volume list
specified by LOGDDNAME or LOGDYNAM lists the volume that contains the first
part of the data set. For VSAM data sets, the volume list must include the volume
that contains the first extent of the data component for the cluster.
|
|
|
|
MINSECqty
MINSECqty(1)
55
MINSECqty(n)
|
|
|
|
|
|
|
|
|
|
When you have not specified a secondary allocation quantity, all the allocated but
unused space is released, and after the release operation you will not be able to
add records to the data set. MINSECQTY solves this problem. The release
operation is not performed unless the secondary allocation quantity in the VTOC
(VVDS for extended-format VSAM) is equal to or greater than n tracks and the data
set has not reached the maximum number of used extents (16 extents for
sequential and partitioned data sets, 123 extents for extended-format sequential
data sets and PDSEs, or 255 extents for extended-format VSAM data sets). The
letter n represents a 1-to-5-digit decimal number with a range from zero to 99999.
The default is one track if you do not specify MINSECQTY (n).
MINTRAcksunused
MINTRAcksunused(1)
55
MINTRAcksunused(n)
MINTRKS
ONLYINCAT
See the INCAT keyword.
131
RELEASE Command
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains data set names and their passwords.
This data set must contain card-image records in DFSMSdss command syntax
format.
dsn/pswd
dsn is a fully qualified data set name. pswd is its password. If no password follows
the slash (/), dsn is treated as though it were ddn.
Printing of actual data set passwords specified in your input command stream is
suppressed in the SYSPRINT output.
PROCESS
55
PROCESS(SYS1)
PROCESS specifies that the release operation is to be performed for data sets with
a high-level qualifier of SYS1. To specify PROCESS(SYS1), RACF authorization
may be required. Refer to DFSMS/MVS DFSMSdss Storage Administration Guide
for more information.
SELECTMULTI
|
SPHERE
|
|
55
SPHERE
|
|
|
SPHERE specifies that DFSMSdss also select all associated alternate index
clusters whenever you select a VSAM base cluster. You do not need to specify
individual names of sphere components, only the base cluster name. If you specify
132
RELEASE Command
|
|
a volume list (with LOGDDNAME or LOGDYNAM), you do not need to specify the
volumes on which the AIX clusters reside.
|
|
|
|
To select an entire sphere, specify the base cluster name by using fully or partially
qualified data set names. If you specify SPHERE but not the base cluster name,
DFSMSdss processes only those data components of the sphere whose names are
specified.
STORGRP
|
|
|
55
6groupname)
STORGRP(
|
|
|
|
|
STORGRP specifies that DFSMSdss dynamically allocate all of the online volumes
in the storage group. DFSMSdss does not process a volume in the storage group
that is not online. You can specify up to 255 storage group names. Specifying
STORGRP with a storage group name is equivalent to specifying LOGINDYNAM
with all the online volumes in the storage group that is included in the list.
|
|
|
You can specify the STORGRP keyword with the SELECTMULTI keyword, but
STORGRP is mutually exclusive with the DDname, DYnam, LOGDDname, and
LOGDYnam keywords.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
WAIT specifies to DFSMSdss the length of a wait in seconds and the number of
retries to obtain control of a data set.
numsecs
is a decimal number (0255) that specifies the interval, in seconds, between retries.
numretries
is a decimal number (099) that specifies the number of times an attempt to gain
control of a data set is to be retried.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a resource, specify 0 for either numsecs or
numretries.
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
133
RELEASE Command
|
|
|
|
The following is an example of the commands used to release unused space from
extended-format VSAM data sets residing wholly or in part on a specific volume,
and to release unused space from the data sets alternate indexes that reside on
any volumes:
|
|
|
|
|
|
|
//SYSIN
DD
\
RELEASE INCLUDE(\\) BY(DSORG EQ VSAM)
/\ RELEASE ONLY VSAM
\/LOGDYNAM(339)
/\ DYN ALLOC VOL 339 \/SELECTMULTI(ANY)
/\EVEN IF MULTIVOL
\/SPHERE
/\ RELEASE AIXES
\/
/\
|
|
To release unused space from all eligible data sets that are cataloged in a
particular user catalog, without specifying any volume:
|
|
|
|
//SYSIN
DD
\
RELEASE INCLUDE(\\)
INCAT(CATALOGA) ONLYINCAT /\ ONLY FROM CATALOG \/
/\
134
RESTORE Command
RESTORE Command
With the RESTORE command, you can restore data to DASD volumes from
DFSMSdss-produced dump volumes. You can restore data sets, an entire volume,
or ranges of tracks. You can restore to unlike devices from a logical dump tape.
Note: The FULL keyword with the RESTORE command specifies that an entire
DASD volume is to be restored. The TRACKS keyword for RESTORE
command specifies ranges of tracks to be restored.
DFSMSdss offers two ways to process RESTORE commands:
Logical processing is data-set oriented, which means it operates against data
sets independently of physical device format.
Physical processing can operate against data sets, volumes, and tracks, but is
oriented toward moving data at the track-image level.
The processing method is determined by what type of dump tape is used as input
and by the keywords specified on the command.
Target data set allocation differs between physical data set and logical data set
restore of non-VSAM data sets. Logical data set restore allocates target data sets
according to the amount of used space in the source data set, thereby freeing
unused space. Physical data set restore preserves the original size of the source
data set. To force unused space to be kept during logical data set restore, the
ALLDATA or ALLEXCP keyword must be specified during a dump. However, the
action that restore takes with respect to these keywords depends on data set
characteristics and device characteristics. If you require that all of the unused
space is restored, then you should be sure that the data set is restored to a like
device type and not reblocked or compressed. Compress is the default for PDS
data sets on restore unless you use the NOPACKING keyword.
DFSMSdss logical restore processing cannot be used to process partitioned data
sets containing location-dependent information that does not reside in note lists or
in the directory.
HFS, SAM compressed extended function, and data sets with DFM attributes
cannot be restored to non-SMS target volumes during a physical or logical data set
restore.
For more information on using the RESTORE command, refer to the DFSMS/MVS
DFSMSdss Storage Administration Guide .
135
136
55RESToreFULlINDDname(ddn)5
A
IDD
,,c1,max head #
6
TRACKS((c1))
TRKS
,c1,max head #
B
,h1
,max head #
,c2
,h2
5OUTDDname(ddn)5%
ODD
OUTDYnam(volser)
ODY
,unit
CPYV
6
OUTTRacks((cc))
OUTTRKS
,hh
55%
PASsword(ddn) PURge WRItecheck
PSWD
,
PRG WRC
6dsn/pswd
C: Additional Keywords Used with RESTORE DATASET for Logical Data Set
,
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
EXClude(6dsn) INClude(6dsn)
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
6
6
BY((schar,op,(arg)))
D: Optional Keywords Used with RESTORE DATASET for Logical Data Set
137
555
ADMINistrator AUTORELBlockaddress
,
CANcelerror
AUTORELBLKA BYPASSACS(6dsn)
55
CATalog DELETECATALOGENTRY DYNALloc FORce FORCECP(days)
RECATalog(newcatname) DELCATE
RECATalog(\)
55
FREESPACE(CI) IMPORT MAKEMULTI MENtity(modeldsn)
FSPC
,CA
MVOLser(volser)
55
MGMTCLAS(management-class-name)
,
NULLMGMTCLAS NOPACKing(6dsn)
NMC
55
,
PASsword(ddn)
OUTDDname(6ddn)
PSWD
,
ODD
6dsn/pswd
OUTDYnam(6(volser))
ODY
,unit
PERCENTUtilized(1)
55
,
PROCESS(UNDEFinedsorg)
,
PERCENTUtilized(6n)
REBLock(6dsn)
PCTU
55
,
REName(pfx)
RELBlockaddress(6dsn)
RELBLKA
(6(on,nn))
((pfx),6(on,nn))
55
RENAMEUnconditional(pfx) REPlace SHAre SPHERE
RENUNC
,
SHR
(6(on,nn))
((pfx),6(on,nn))
TGTAlloc(SOURCE) TGTGDS(DEFERRED)
55
STORCLAS(storage-class-name) TGTAlloc(BLK) TGTGDS(DEFERRED)
NULLSTORCLAS
CYL
ACTIVE
NSC
TRK
ROLLEDOFF
SOURCE
SOURCE
SRC
SRC
VOLcount(\)
55
TOLerate(ENQFailure)
,
VOLcount(SRC)
TTRAddress(6dsn)
N(nn)
ANY
WAIT(2,2)
55%
WAIT(numsecs,numretries) WRItecheck
WRC
)
5OUTDDname(ddn)5%
ODD
OUTDYnam(volser)
ODY
,unit
E: Additional Keywords Used with RESTORE DATASET for Physical Data Set
138
RESTORE Command
INClude(\\)
5BY(6(schar,op,(6arg)))5
,
,
EXClude(6dsn) INClude(6dsn)
,
INClude(\\)
EXClude(6dsn)
,
,
INClude(6dsn)
6
6
BY((schar,op,(arg)))
6
INClude(dsn)
,
,
EXClude(6dsn)
BY(6(schar,op,(6arg)))
F: Optional Keywords Used with RESTORE DATASET for Physical Data Set
555
ADMINistrator
,
CANcelerror DYNALloc FORCECP(days)
BYPASSACS(6dsn)
55
,
MGMTCLAS(management-class-name)
LOGicalvolume(6volser) NULLMGMTCLAS
LVOL
NMC
55
PASsword(ddn) REName(pfx)
PSWD
,
6dsn/pswd
(6(on,nn))
((pfx),6(on,nn))
55
RENAMEUnconditional(pfx) REPlace SHAre
RENUNC
,
SHR
(6(on,nn))
((pfx),6(on,nn))
TGTGDS(DEFERRED)
55
STORCLAS(storage-class-name) TGTGDS(DEFERRED) TOLerate(ENQFailure)
NULLSTORCLAS
ACTIVE
NSC
ROLLEDOFF
SOURCE
SRC
WAIT(2,2)
55%
WAIT(numsecs,numretries) WRItecheck
WRC
ADMINistrator
55
ADMINistrator
139
RESTORE Command
AUTORELBlockaddress
55
AUTORELBlockaddress
AUTORELBLKA
BY
,
6(schar,op,(
6arg)))5
5BY(
BY specifies that the data sets selected up to this point, by the processing of the
INCLUDE and EXCLUDE keywords, are to be further filtered. To select the data
set, all BY criteria must be met. See Filtering by Data Set Characteristics on
page 14 for a full discussion of schar, op, and arg. Also, separate discussions of
INCLUDE and EXCLUDE provide information on how these keywords are specified.
BYPASSACS
55
6dsn)
BYPASSACS(
BYPASSACS specifies that Automatic Class Selection (ACS) routines are not to be
invoked to determine the target data sets storage class or management class
names. To specify BYPASSACS, RACF authorization may be required. Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for more information.
dsn
specifies a fully or partially qualified data set name. (See Filtering by Data Set
Names on page 12 for rules.)
140
RESTORE Command
CANcelerror
55
CANcelerror
CANCELERROR specifies that the restore function be ended for a permanent read
error, or that the restore of a data set be ended for a write error.
Permanent read error (permanent I/O error):
If CANCELERROR is specified, the restore task is ended. If this keyword is not
specified, DFSMSdss attempts to recover from the input errors, but the results
can be unpredictable as a result of the difficulty in repositioning and assembling
the data.
Write error, such as an invalid track format:
|
|
|
|
|
|
Equipment check
Command reject
Intervention required
Busout parity
CATalog or RECATalog
55
CATalog
RECATalog(newcatname)
RECATalog(\)
For a logical restore operation, CATALOG instructs DFSMSdss to catalog data sets
that it allocates. For a physical restore operation, CATALOG is used for non-VSAM
single volume data sets; RECATALOG is ignored. DFSMSdss does not catalog
VSAM data sets during physical restore. If the CATALOG keyword is specified, it is
ignored when processing VSAM data sets. You must use IDCAMS DEFINE
RECATALOG to catalog the data sets after the physical restore.
141
RESTORE Command
CATALOG
catalogs the target data set in a catalog as determined by the standard catalog
search order. This is the default for VSAM data sets, multivolume data sets, and
SMS-managed data sets (during logical data set restore). It is also the default for
single-volume, non-VSAM, SMS-managed data sets (in physical data set restore).
RECATALOG(newcatname)
catalogs the target data set in the newcatname catalog.
RECATALOG(*)
catalogs the target data set in the same catalog that points to the source data set.
If the source data set was not cataloged, the new data set is not cataloged either.
Notes:
1. CATALOG or RECATALOG fails if the target data set is already cataloged in
the same catalog and RENAME is not specified.
2. CATALOG and RECATALOG are ignored when the target data set is
preallocated.
3. RECATALOG is ignored for SMS-managed data sets.
4. Be careful when using RECATALOG(newcatname) because the target data set
may already be cataloged outside of the standard order of search.
5. If RECATALOG is specified for a physical restore it is ignored. DFSMSdss does
not attempt to catalog the data set. If the data set is already cataloged on
another volume:
The catalog entry is not updated, and
The data set is restored, but it is not cataloged.
6. If CATALOG is specified for a physical restore of a single-volume non-VSAM
data set, DFSMSdss attempts to catalog the data set. If the data set is already
cataloged on another volume:
Message ADR385E, reason code 08, is issued,
The catalog entry will not be updated, and
The data set will be restored, but it will not be cataloged.
7. DFSMSdss physical data set restore does not create catalog entries for VSAM,
multivolume non-VSAM, or preallocated data sets. The user must create them.
8. For multivolume non-VSAM data sets, use IDCAMS DEFINE NONVSAM.
COPYVolid
55
COPYVolid
CPYV
COPYVOLID specifies that the volume ID from the dumped DASD volume is to be
copied to the output DASD volume. This applies to a full restore operation; it
applies to a tracks restore only if track 0 (zero) is to be restored.
When the volume serial number on a DASD volume is changed, the operator is
notified. The operating system then initiates either:
A demount if there is another volume with the same serial number
A mount to get the volume with the new serial number mounted
142
RESTORE Command
This might change the mount attributes of the volume. You should exercise
operating precautions if there are two or more processors sharing the same DASD
volume.
When the volume serial number is changed by using a COPYVOLID keyword or
when both the dumped volume and the restored volume have different serial
numbers, profiles are not built for the RACF-protected data sets on the restored
volume or for the RACF DASDVOL for RACF-protected DASD volumes.
Notes:
1. If you are doing a full restore operation and the input has VSAM data sets, the
VOLID must be copied.
2. The COPYVOLID keyword is required for a full-volume restore operation of
SMS-managed source volumes.
3. Exercise caution using the COPYVOLID keyword in a multiple task job step
when two or more of the tasks are using the same output volume. If the output
volume is made unavailable by the first task, all succeeding tasks that use the
same output volume will fail.
CPVOLume
55
CPVOLume
CPVOLUME specifies that the output volume is a VM-format volume and that the
OS-compatible VTOCs must begin on track zero, record five. You must specify the
track range to be copied with the TRACKS keyword, as the OS-compatible VTOCs
do not describe the extents of any data on the volume. You must also specify the
ADMINISTRATOR keyword with CPVOLUME because DFSMSdss cannot check
access authorization for VM data.
DATASet
5DATASet5
DS
DATASET specifies a data set restore operation, using filtering. See Chapter 2,
FilteringChoosing the Data Sets You Want Processed on page 11 for an
explanation of the filtering process used.
Notes:
1. Either the FILTERDD, INCLUDE, EXCLUDE, or BY keyword must be used
when DATASET is selected.
2. Nonintegrated catalog facility VSAM catalogs are not supported for data set
processing. If nonintegrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
143
RESTORE Command
DELETECATALOGENTRY
55
DELETECATALOGENTRY
DELCATE
144
RESTORE Command
successful unless the data set entries in the catalogs are deleted either by you
or by DFSMSdss.
Condition 2 on page 144 typically occurs during a disaster recovery when the
data sets are restored to different volumes on a different operating system. The
target data sets are cataloged but point to volumes that do not exist on the
target system. The restore will not be successful unless the data set entries in
the catalogs are deleted either by you or by DFSMSdss.
If you specify DELETECATALOGENTRY for conditions 3 through 6, damage is
most likely to occur:
Condition 3 on page 144 typically occurs during a disaster recovery when the
data sets are restored to different volumes on a different operating system. The
target data sets are cataloged but point to offline volumes on the target system.
The restore will not be successful unless the data set entries in the catalogs
are deleted either by you or by DFSMSdss.
Condition 3 on page 144 can also occur in any environment where volumes
are varied on and offline.
If you specify DELETECATALOGENTRY and then vary the volume back online,
you may find that there will be two copies of a data set: the original data set on
the volume that was varied offline, and the restored data set. The original data
set will no longer be cataloged.
Conditions 4 on page 144 and 5 on page 144 typically occur in a shared
system environment with a nonsymmetric system configuration. For example,
There are shared catalogs between two systems.
A data set is dumped from system A and it is being restored into system B.
The data set is cataloged in system A in a catalog that is shared by system
B.
The volume containing the data set and, if applicable, its VVDS is on
system A and is unavailable to system B.
If you specify DELETECATALOGENTRY, you may find that there will be
two copies of a data set: the original data set on the system A and the
restored data set on system B. The original data set will no longer be
cataloged.
DFSMSdss will attempt to detect condition 6 and issue an error message
instead of performing the DELETE NOSCRATCH. However, it will not always
be possible to do so. In that event, the DELETE NOSCRATCH will be issued
and DFSMSdss will attempt to restore the data set with one of the following
results:
The data set will be successfully restored, and there is no residual data
from the original data set. In this case, there is nothing further for you to
do.
The data set will be successfully restored, but there is residual data from
the original data set. Although the data set has been restored, you may
find, for example, that there is an uncataloged AIX from the original data
set. In this case, you will have to perform other corrective actions: These
are the same actions that you would have had to perform even if you had
not used the DELETECATALOGENTRY parameter.
145
RESTORE Command
An error will occur during the restore that prevents the data set from being
restored. The error results from the fact that the data set was only partially
missing. For example, residual data and the VSAM Volume Record (VVR)
may exist on a second volume so that when the data set being restored is
extended to that volume, a duplicate entry condition is encountered. Again,
if this occurs you will have to perform other corrective actions before the
data set can be successfully restored.
Notes:
1. DELETECATALOGENTRY is only supported for logical data set restore.
2. DELETECATALOGENTRY should not be used to restore partially damaged
volumes or data sets.
3. DELETECATALOGENTRY will not delete any catalog entry for user catalogs.
4. DELETECATALOGENTRY will not delete any catalog entry for migrated data
sets (VOLSER=MIGRAT).
5. DELETECATALOGENTRY will not delete any catalog entry for the SYSRES
volume (VOLSER=******).
6. DELETECATALOGENTRY will not delete any catalog entry for a data set
where the volser(s) in the catalog do not match either the source volser(s) from
the dump tape or the target volser(s) specified with OUTDD/OUTDYNAM.
7. If you are performing a disaster recovery and the original volumes are not
available on the restoring system, you should also specify the IMPORT
parameter. If you do not specify IMPORT keyword, you may be prompted by
the system to mount the volume(s) which the catalog indicates the target data
set is on, because the volumes are not online. Even if you reply CANCEL,
DFSMSdss will attempt to perform a DELETE NOSCRATCH on the data set
because it is unable to recognize the CANCEL request. Even if the DELETE
NOSCRATCH is successful, DFSMSdss may fail to allocate the volume and
issue message ADR405E, and the data set may not be restored.
8. DELETECATALOGENTRY will not delete any catalog entry when the phantom
entry indicates a different type of data set than the source data set.
DYNALloc
55
DYNALloc
146
RESTORE Command
EXClude
,
6dsn)5
5EXClude(
dsn
specifies the name of a data set to be excluded from the data sets selected by
INCLUDE. Either a fully or a partially qualified data set name can be used. See the
separate discussion of INCLUDE and BY for information on how these keywords
are specified.
FILterdd
5FILterdd(ddn)5
FDD
ddn
specifies the name of the DD statement that identifies the sequential data set or
member of a partitioned data set that contains the filtering criteria to use. This is in
the form of card-image records, in DFSMSdss command syntax, containing the
keywords INCLUDE, EXCLUDE, and BY that complete the RESTORE command
syntax below.
Note: You must use FILTERDD when you have more than 255 entries in the
INCLUDE, EXCLUDE, or BY list of subkeywords.
FORce
55
FORce
For a logical data set restore operation, FORCE specifies that DFSMSdss allows
an unmovable data set or a data set allocated by absolute track allocation to be
moved.
FORCE does not apply to ISAM data sets.
FORCECP
55
FORCECP(days)
FORCECP specifies that any checkpointed data sets resident on the SMS volume
or volumes can be logically restored or that MVS checkpointed data sets can be
physically restored. Checkpoint indications are removed from the data sets.
days
is a one-to-three-digit number in the range of zero to 255, and specifies the number
of days that must have elapsed since the last referenced date before the data set
can be restored.
Note: For IMS GSAM checkpointed data sets that are physically restored,
FORCECP is not required, and checkpoint indications are not removed from
the data sets regardless of whether or not FORCECP is specified.
147
RESTORE Command
FREESPACE
55
FREESPACE(CI)
FSPC
,CA
CI
specifies the percentage of freespace to be kept in each control interval during
allocation of the data set.
CA
specifies the percentage of freespace to be kept in each control area during
allocation of the data set. When omitted, the control area free space is the same as
the source data set.
FULl
5FULl5
FULL specifies that an entire DASD volume is to be restored. This is the default for
the RESTORE command.
Notes:
1. You cannot specify SHARE or TOL(ENQF) for FULL operations.
2. Nonintegrated catalog facility VSAM catalogs are not supported for full-volume
processing. If nonintegrated catalog facility VSAM catalogs are processed, the
results can be unpredictable.
3. It is possible to duplicate a volume serial number during a restore FULL
operation. Follow the procedure in Data Integrity Considerations for Full or
Tracks Restore Operations on page 136 to maintain data integrity when
restoring a volume with FULL restore.
IMPORT
55
IMPORT
IMPORT specifies that the data sets being restored were dumped from a different
system and they should be considered new data sets.
Since the data sets being restored are new to the system, certain source data set
processing is modified. For example:
DFSMSdss bypasses checking to see if you are authorized to read a data set
with the same name as the one that was dumped.
If you are authorized to read the input dump data set that contains the data
sets that are being restored, you are considered to have the authority to read
any data set being restored. DFSMSdss continues to check that you are
authorized to create a new target data set or replace an existing target data
set.
148
RESTORE Command
If you are restoring the data set without renaming it, the restore may be
unsuccessful. Some common reasons for such a failure are:
You do not have sufficient authority to create a target data set with the
same name as the source data set. You must obtain the required access
authority to do so before you can restore the data set.
A data set already exists with the same name as the source data set and
you did not specify the REPLACE parameter. You must also specify the
REPLACE parameter if you want the restore to replace an existing data
set.
A data set with the same name as the source data set is cataloged but is
not available to the restoring system. You must make the volume(s)
containing the data set and, as applicable, its VVDS, available to the
restoring system before you can restore the data set.
A catalog contains a phantom entry for a data set with the same name as
the source data set. In this case, the data set does not exist on any
volume. You may either perform a separate DELETE NOSCRATCH
operation for that data set name, or you can specify the
DELETECATALOGENTRY parameter to request that DFSMSdss perform a
DELETE NOSCRATCH operation for you.
Attention: Do not use DELETECATALOGENTRY keyword if the restoring
system is sharing catalogs, but not the data set volumes, with another
system.
DFSMSdss can try to access a VVDS for a source data set in order to obtain
information such as the resource owner. If IMPORT is specified, DFSMSdss
suppresses a VVDS not available error.
To specify IMPORT, you must have the proper RACF facility class authorization
(see Protecting Usage of DFSMSdss on page 209 and refer to OS/390 Security
Server (RACF) Security Administrator's Guide).
Notes:
1. IMPORT should be RACF-protected.
2. IMPORT is only supported for logical data set restore.
3. DELETECATALOGENTRY may have to be specified to successfully restore a
data set with the old data set name. Refer to the DFSMS/MVS DFSMSdss
Storage Administration Guide for more information.
4. When IMPORT is specified, DFSMSdss does not create a discrete data set
profile unless the source data set is RACF-protected when it is dumped and
you specify the MENTITY parameter.
INClude
,
6dsn)5
5INClude(
dsn
specifies the name of a data set eligible to be restored. Either a fully or a partially
qualified data set name can be used. See Filtering by Data Set Names on
page 12. If INCLUDE is omitted (but EXCLUDE or BY is specified) or if
INCLUDE(**) is specified, all data sets are eligible to be selected for restoring. See
Chapter 3. SyntaxFunction Commands
149
RESTORE Command
the separate discussions of EXCLUDE and BY for information about how these
keywords are specified.
INDDname
5INDDname(ddn)5
IDD
ddn
specifies the name of the DD statement that identifies the (input) dump data set.
This data set can be on a tape or DASD volume.
LOGicalvolume
55
6volser)
LOGicalvolume(
LVOL
LOGICALVOLUME specifies, for a physical data set restore operation, the volume
serial numbers of the source DASD volumes that are to be processed. For
example, if you have taken a data set dump from volumes 111111, 222222, and so
forth, but you want to restore only some data sets from source volume 222222,
specify LOGICALVOLUME (222222). LOGICALVOLUME is useful for restoring
multivolume data sets.
MAKEMULTI
55
MAKEMULTI
MAKEMULTI allows DFSMSdss to convert single volume data sets into multivolume
data sets. The default is not to convert single volume data sets into multivolume
data sets.
This keyword applies only to SMS-managed target data sets. Only single volume,
non-VSAM data sets are eligible to be changed into multivolume data sets.
SMS-managed target data sets are given a volume count (VOLCOUNT) that is
either:
The number of SMS output volumes specified in the RESTORE command, if
output volumes are specified through OUTDDNAME or OUTDYNAM.
|
The number of volumes in the target storage group or 59, whichever is less.
A data set's volume count is the maximum number of volumes to which the data
set may extend. At any one time, there may be a mixture of primary volumes
(volumes on which space is allocated for the data set) and candidate volumes
(volumes on which space may be allocated at a future time). The total sum of the
primary volumes and candidate volumes is the data set's volume count.
Note: When MAKEMULTI is specified and VOLCOUNT is also specified with an
option other than VOLCOUNT(*), the VOLCOUNT option overrides
MAKEMULTI.
150
RESTORE Command
MENtity
55
MENtity(modeldsn)
MVOLser(volser)
MENTITY specifies a model entity and, optionally, the serial number of the volume
containing that entity (volser) to be used when DFSMSdss defines discrete profiles.
These keywords are used to define the data sets to RACF. Specification of
MVOLSER is optional when the model entity (MENTITY) is either (1) cataloged in
an integrated catalog facility catalog or (2) a non-VSAM data set cataloged in the
standard catalog search order. When MVOLSER is specified for a VSAM model
entity, the volser specified must be the volume serial number of the catalog in
which the model entity is cataloged. If these keywords are not specified,
DFSMSdss defines the data set to RACF without using a model.
For a description of RACF data sets, refer to OS/390 Security Server (RACF)
Introduction.
MGMTCLAS
55
MGMTCLAS(management-class-name)
NULLMGMTCLAS
NMC
NOPACKing
55
6dsn)
NOPACKing(
NOPACKING specifies that DFSMSdss is to allocate the target partitioned data set
only to devices that are the same or like device type as the source, and that
DFSMSdss is to use track level I/O to perform data movement. This results in an
exact track-for-track image of the source data set on the target volume.
dsn
specifies the fully or partially qualified names of a PDS to be processed.
151
RESTORE Command
NOPACKing is only valid with a PDS. If specified, REBLOCK is ignored for the data
set.
A PDS restored using NOPACKing is not compressed during data movement.
NOPACKing can be used for a damaged PDS that is currently usable by an
application but would be made unusable by compression or other rearrangement of
the physical layout of the data.
Note: NOPACKing only applies to logical restore operations. Physical restore uses
only track-level I/O. Therefore, no compression will take place against the
PDS.
NULLMGMTCLAS
See the MGMTCLAS keyword.
NULLSTORCLAS
See the STORCLAS keyword.
OUTDDname
,
6ddn)5
5OUTDDname(
ODD
ddn
specifies the name of the DD statement that identifies a volume to be restored to.
To assure correct processing, each of the DD statements corresponding to a
DDNAME (ddn) must identify only one volser. For a logical data set restore or when
you specify spill files, you can specify multiple names, separated by commas. For
any other type of restore, you can specify only one name.
See the Notes under OUTDYNAM for additional information.
OUTDYnam
,
6(volser))5
5OUTDYnam(
ODY
,unit
volser
specifies the volume serial number of a DASD volume to be restored.
unit
specifies the device type of a DASD volume to be restored. This parameter is
optional.
152
RESTORE Command
OUTTRacks
55
6(cc))
OUTTRacks(
OUTTRKS
,hh
OUTTRACKS specifies, for a track restore operation, the beginning location of the
cylinder (cc) and head (hh) number of the target volume to which the track is to be
restored. The number of (cc,hh) combinations specified in the OUTTRACKS
keyword must be the same as the number of (c1,h1,c2,h2) combinations specified
in the TRACKS keyword.
If OUTTRKS is not specified, the track is restored to its original cylinder and head
number.
153
RESTORE Command
PASsword
55
PASsword(ddn)
PSWD
,
6dsn/pswd
ddn
specifies the name of the DD statement that identifies the sequential data set, or
member of a partitioned data set, that contains data set names and their passwords
in the format dsn/pswd[,...]. This data set must contain card-image records in
DFSMSdss command syntax format.
dsn/pswd
dsn is a fully or partially qualified data set name. pswd is its password. If no
password follows the slash (/), dsn is treated as though it were ddn.
Note: Printing of actual data set passwords specified in your input command
stream is suppressed in the SYSPRINT output.
PERCENTUtilized
PERCENTUtilized(1)
55
6n)
PERCENTUtilized(
PCTU
PERCENTUTILIZED specifies that DFSMSdss must stop allocating data sets to the
target volumes when the allocated space reaches n percent of the total space on
the target volume. The default is 100. Specify more than one n if you have more
than one target volume (for instance, a volume for overflow). If there are more
target volumes than you have values in this keyword, the last value will be used for
the remaining target volumes.
154
RESTORE Command
Notes:
1. PERCENTUTILIZED is ignored when the target data set is preallocated.
2. PERCENTUTILIZED is not supported in an SMS environment. This keyword is
valid only for logical data set restore operations.
3. PERCENTUTILIZED is ignored if no output volume is specified.
PROCESS
55
PROCESS(UNDEFinedsorg)
UNDEFinedsorg
specifies that the logical data set restore operation is to be allowed for data sets
with undefined data set organization going to an unlike target device of a larger
capacity and that DFSMSdss is to use track level I/O to perform data movement.
This results in an exact track-for-track image of the source data set on target
volume. To specify PROCESS, RACF authorization may be required. Refer to
DFSMS/MVS DFSMSdss Storage Administration Guide for more information.
Note: Even though the data is being copied to a device with a larger track
capacity, the data may not fit on the output device. For example, if the
source device is a 3380, and the output device is a 3390 and the data sets
block size is less than 277 bytes, a track on the target cannot contain as
much data as a track on the source and the message ADR366W (Invalid
Track Format) is issued.
PURge
55
PURge
PRG
PURGE specifies that a full or tracks restore is not to be stopped if there are
unexpired data sets on the target volume. See the REPLACE keyword for a data
set restore operation.
REBLock
55
6dsn)
REBLock(
dsn
specifies the fully or partially qualified names of a sequential or partitioned data set
to be restored and reblocked.
The REBLOCK keyword is ignored for:
Unmovable data sets
Data sets with record format of U (except for partitioned load modules)
Data sets with a record format of V, VS, VBS, or F
155
RESTORE Command
Partitioned data sets with note lists (except for partitioned load modules)
partitioned data sets that are also specified in the NOPACKING keyword
Additionally, both the installation options exit and the installation reblock exit can
override the specification of the REBLOCK keyword. The installation options exit
can specify that no data set is to be reblocked. The installation reblock exit can
specify whether a given data set is to be reblocked.
Some sequential and partitioned data sets have an attribute of being reblockable.
These data sets may be automatically reblocked by DFSMSdss independent of the
REBLOCK keyword.
Refer to DFSMS/MVS DFSMSdss Storage Administration Guide for additional
information on DFSMSdss processing of reblockable data sets.
DFSMSdss uses the DASDCALC macro to determine the optimal block size for the
target. The reblocking method used, DFSMSdss or DASDCALC, is presented to the
installation reblock exit.
RECATalog
See the CATALOG keyword.
RELBlockaddress
55
6dsn)
RELBlockaddress(
RELBLKA
REBLOCKADDRESS identifies the direct access data sets whose names match the
fully or partially qualified names specified (dsn). These direct access data sets are
organized by relative block address instead of TTR and are to be restored block by
block. DFSMSdss updates the block reference count (the relative position of the
physical record as stored on its track) of dummy records. This keyword applies only
to direct access data sets with fixed record formats and without standard user
labels.
Note: If the data set is actually organized by TTR, the data set may become
unusable.
REName
55
REName(pfx)
6(on,nn))
(
6(on,nn))
((pfx),
RENAME specifies that, if a data set with the old name exists on the output DASD
volume, DFSMSdss is to allocate a new data set with the new name and restore
the data set. If the data set with the old name does not exist on the volume, the
data set is restored with the old name. For a VSAM data set that already exists on
another DASD volume and is cataloged, the VSAM data set is restored with the
new name unless the new name also exists and is cataloged.
156
RESTORE Command
VSAM data sets cannot be renamed during a physical data set restore. If a data set
is preallocated with the new name, it is not restored. If a data set is not
preallocated, it is restored using the old name. This keyword only applies to
movable data sets; therefore, unmovable or ISAM data sets will not be renamed.
See Special Considerations for Restore on page 135 for details. RENAME and
RENAMEUNCONDITIONAL are mutually exclusive; you cannot specify these
keywords together.
pfx
specifies the prefix to be used to replace the first-level qualifier of the data set
name. It is optional, but if specified, must be the first parameter in the list of
subkeywords. The prefix is used only if the (on,nn) parameters are not specified or
the old name filters do not match the data set name.
on
specifies the old name to be used as filtering criteria for matching data set names
on the target volume.
nn
specifies the new name to be used to derive the new data set name if the data set
name selected by the corresponding old name filtering criteria matches the name of
a data set that already exists on the target volume.
If none of the old name filters match the data set name and the prefix is specified,
the prefix is used to derive the new name. If old name filters do not match and the
prefix is not specified, the data set is not renamed. If the old name filter matches
and there is an error in the new name filter, the data set is not renamed.
The syntax for the prefix is as follows:
The syntax for the old name filter is exactly like that of the INCLUDE filter, and
their rules match. For more information, see the INCLUDE keyword for the
RESTORE command, or see Filtering by Data Set Names on page 12.
Examples of valid syntax for the new name filter are:
**
Restore the data set with the old name. This provides a powerful
tool whereby some data sets can be restored with the old name
and others can be restored with the new name.
A.**
A.B.**
*.A.**
**.BCD
DATE.**.LIST
Q.*
Q.*.B
If DSNAME has three levels, replace the first and last by Q and B.
157
RESTORE Command
*.*.SYSLIST
ABC.DEF
SYS*
*SYS
RENAMEUnconditional
55
RENAMEUnconditional(pfx)
RENUNC
,
(6(on,nn))
((pfx),6(on,nn))
RENAMEUNCONDITIONAL specifies that the data set should be restored with the
new name, whether or not the data set exists on DASD with the old name. If the
data set exists on the volume with the new name, it is not restored.
RENAMEUNCONDITIONAL is not supported for VSAM data sets during a physical
data set restore. This keyword only applies to movable data sets; therefore,
unmovable or ISAM data sets will not be renamed. If the old name filter matches
and there is an error in the new name filter, the data set is not restored. See
Special Considerations for Restore on page 135 for details.
Notes:
1. RENAME and RENAMEUNCONDITIONAL are mutually exclusive; you cannot
specify these keywords together. RENAMEUNCONDITIONAL is not supported
for physical restore of VSAM data sets, and, if specified, the data sets will not
be restored.
2. RENAMEUNCONDITIONAL specifies that the data set must be restored with
the new name, regardless of whether the data set exists on DASD with the old
name. If the data set exists on the target volume with the new name, an
allocation error occurs and the data set is not restored, regardless of whether
REPLACE is specified.
158
RESTORE Command
pfx
specifies the prefix used to replace the first-level qualifier of the data set name. It is
optional but, if specified, must be the first parameter in the list of subkeywords. The
prefix is used only if the (on,nn) parameters are not specified or the old name filters
do not match the data set name.
on
specifies the old name to be used as a filtering criterion to check if it matches the
data set name.
nn
specifies the new name to be used to derive the new data set name if the data set
name matches the corresponding old name filtering criterion.
For syntax rules, see the discussion of pfx, on, and nn under REName on
page 156.
REPlace
55
REPlace
REPLACE specifies that if the data set exists on DASD, it can be replaced with the
data set from the source volume. DFSMSdss first searches for a catalog entry for
the data set. If no entry is found, DFSMSdss then searches the output volumes for
preallocated data sets. If no output volumes are specified, DFSMSdss searches the
volumes on which the data set resided at dump time. If no preallocated target is
found, DFSMSdss attempts to allocate a data set. If allocation is successful, the
data set is restored. PURGE is accepted and is treated the same as REPLACE.
REPLACE only works if the data set is not being renamed.
For non-VSAM data sets, if the target data set is smaller than the source data set,
DFSMSdss scratches the target data set and reallocates it with the size of the
source data set.
Notes:
1. REPLACE must be specified to restore preallocated data sets.
2. If the source data set is an extended-addressable VSAM KSDS, then the target
must also be an extended-addressable VSAM KSDS.
3. If REPLACE is specified with the RESTORE command, the classes already
associated with the preallocated data set remain the same. See Special
Considerations for Restore on page 135 for more information.
4. CATALOG and RECATALOG are ignored for preallocated data sets.
5. The target data set name must match the source data set name.
SHAre
55
SHAre
SHR
159
RESTORE Command
SHARE specifies that DFSMSdss is to share, for read access with other programs,
the data sets that are to be restored. The resetting of the data set change indicator
is bypassed if SHARE is specified on a data set restore operation.
SHARE and FULL are mutually exclusive; you cannot specify these keywords
together.
SPHERE
55
SPHERE
SPHERE specifies that for any VSAM cluster dumped with the SPHERE keyword,
DFSMSdss must also restore all associated AIX clusters and paths. Individual
sphere component names need not be specified; only the base cluster name is
required.
Notes:
1. If an AIX is dumped without the SPHERE keyword, during a restore DFSMSdss
treats the AIX as a normal VSAM KSDS.
2. The base cluster name must be specified to process the entire sphere. If the
SPHERE keyword is specified but the base cluster name is not, none of the
associations will be processed.
3. The SHARE keyword is not honored for VSAM data sets. Exclusive control is
obtained for VSAM data sets even if the SHARE keyword is specified. Neither
read access nor write access by other programs is allowed while the VSAM
data set is being restored, regardless of the share options defined for the data
set.
STORCLAS
55
STORCLAS(storage-class-name)
NULLSTORCLAS
NSC
STORCLAS specifies the user-desired storage class that is to replace the source
storage class as input to the ACS routines. The user must have the proper RACF
authorization for the storage class specified. The keyword itself does not require
authorization.
NULLSTORCLAS/NSC specifies that the input to the ACS routines is to be a null
storage class rather than the source data sets storage class.
STORCLAS and NULLSTORCLAS are mutually exclusive.
Note: If BYPASSACS(dsn) is specified, all data sets that pass the BYPASSACS
selection criteria are guaranteed the specified storage class. The
combination of NULLSTORCLAS and BYPASSACS(dsn) forces the
selected data sets to be non-SMS managed.
160
RESTORE Command
TGTAlloc
TGTAlloc(SOURCE)
55
TGTAlloc(BLK)
CYL
TRK
SOURCE
SRC
TGTALLOC specifies, during a logical data set restore function, how DFSMSdss
will allocate the target data set.
BLK
specifies to allocate by blocks.
CYL
specifies to allocate by cylinders.
TRK
specifies to allocate by tracks.
SOURCE/SRC
specifies to allocate with the same space allocation type as that of the source data
set.
Notes:
1. If the TGTALLOC keyword is omitted, the target allocation defaults to source.
2. If SRC is specified and if the source data set is allocated by track or if TRK is
specified, then the final VSAM allocation might be different from the requested
one because of VSAM allocation rules.
3. If BLK is specified for VSAM data sets, TRK is used instead. The final VSAM
allocation can be different from the requested one because of VSAM allocation
rules.
TGTGDS
TGTGDS(DEFERRED)
55
TGTGDS(DEFERRED)
ACTIVE
ROLLEDOFF
SOURCE
SRC
TGTGDS specifies in what status, during a data set operation, that DFSMSdss is to
place nonpreallocated SMS-managed GDG data sets.
DEFERRED
specifies that the target data set is to be assigned the DEFERRED status.
ACTIVE
specifies that the target data set is to be assigned the ACTIVE status, for example,
rolled into the GDG base.
ROLLEDOFF
specifies that the target data set is to be assigned the rolled-off status.
161
RESTORE Command
SOURCE/SRC
specifies that the target data set is to be assigned the same status as that of the
source data set.
Notes:
1. If the TGTGDS keyword is omitted, the target data set is assigned the
DEFERRED status.
2. The requested target status of generation data sets must not violate generation
data group rules.
TOLerate
55
TOLerate(ENQFailure)
ENQFailure
specifies that target data sets are to be processed even though shared or exclusive
access fails. TOL(ENQF) and FULL or TRACKS are mutually exclusive; you cannot
specify these keywords together.
For more information on TOL(ENQF), see Appendix B, Data
IntegritySerialization on page 241.
TRACKS
55
,,c1,max head#
6
TRACKS((c1))
TRKS
,c1,max head #
,h1
,max head #
,c2
,h2
c1,h1
specifies the cylinder and head number of the beginning of the range. Specify
hexadecimal numbers as X'c1' or X'h1'.
c2,h2
specifies the cylinder and head number of the end of the range. Specify
hexadecimal numbers as X'c2' or X'h2'.
Notes:
1. The c2 must be greater than or equal to c1.
2. If c2 equals c1, h2 must be greater than or equal to h1.
DFSMSdss verifies that the range is within the limits of the device. If you do not
specify all four values for a range, DFSMSdss provides the missing values unless
the omitted value causes a syntax error. No intervening values can be omitted. For
example:
162
RESTORE Command
Specified Results
None
c1
c1,h1
c1,h1,c2
c1,,c2
,h1
Syntax error
c1,0,c1,maximum head number
c1,h1,c1,maximum head number
c1,h1,c2,maximum head number
Syntax error
Syntax error
TTRAddress
55
6dsn)
TTRAddress(
TTRADDRESS identifies the direct access data sets whose names match the fully
or partially qualified names specified (dsn). These direct access data sets are
organized by TTR rather than by relative block addressing and are to be processed
track by track. The target device track capacity must be equal to or greater than the
source.
Notes:
1. If a direct access data set is specified by both the RELBLOCKADDRESS and
the TTRADDRESS parameters, the data set is not processed. Refer to the
RELBLOCKADDRESS keyword for more information.
2. The TTRADDRESS keyword takes precedence over the
AUTORELBLOCKADDRESS keyword processing for the specified data sets
(dsn).
VOLcount
VOLcount(\)
55
VOLcount(SRC)
N(nn)
ANY
163
RESTORE Command
If the source data set is a multivolume data set and a volume list is specified
through OUTDDNAME or OUTDYNAM, the volume count is the number of
SMS volumes in the list.
DFSMSdss does not adjust the final number of candidate volumes after the
allocation is complete.
SRC
specifies that DFSMSdss rely on the source volume count to determine the number
of volumes to allocate for the target data set as follows:
If no output volume list is specified, DFSMSdss allocates the same number of
volumes that the source data set had.
If a volume list is specified through OUTDDNAME or OUTDYNAM, the volumes
in the list that are SMS-managed must be in the same storage group, and the
allocation must be directed to that storage group.
DFSMSdss does not adjust the final number of candidate volumes after the
allocation is complete.
N(nn)
nn represents the number of volumes to be used for SMS data set allocation. Any
value between 0 and 59 may be specified with the following conditions:
If nn is not zero and a volume list is specified through OUTDDNAME or
OUTDYNAM, DFSMSdss allocates either the number of SMS volumes in the
volume list or nn, whichever is less.
If nn is zero and a volume list is specified through OUTDDNAME or
OUTDYNAM, DFSMSdss allocates either the number of SMS volumes in the
volume list or the number of volumes that were allocated for the source data
set, whichever is less.
If a volume list is specified through OUTDDNAME or OUTDYNAM and there
are no SMS volumes in the list, or there is no volume list, DFSMSdss allocates
either the number of volumes used by the source data set or nn, whichever is
more.
DFSMSdss does not adjust the final number of candidate volumes after the
allocation is complete.
ANY
specifies that DFSMSdss use a maximum volume count to allocate the SMS target
data set as follows:
DFSMSdss initially sets a volume count of 59 for the allocation.
If the data set is allocated on more volumes than were used to allocate the
source data set, DFSMSdss reduces the number of volumes used to the
number of primary volumes needed to satisfy the allocation.
If the data set is allocated on the same number or fewer volumes than were
used to allocate the source data set, DFSMSdss reduces the number of
volumes used to the number of volumes used for allocation of the source data
set.
164
RESTORE Command
Notes:
|
|
|
|
|
|
2. VOLCOUNT does not change the number of volumes for KSDS data sets.
3. VOLCOUNT does not increase the number of volumes allocated for linear data
sets.
4. VOLCOUNT(ANY) does not support keyed VSAM data sets that have an
imbedded index. If VOLCOUNT(ANY) is specified and a data set has an
imbedded index, the data set is processed as if VOLCOUNT(*) were specified.
5. Guaranteed space is not honored when VOLCOUNT(ANY) is used.
6. VOLCOUNT(ANY) does not support any type of multi-striped data set (physical,
sequential, extended, or VSAM). If VOLCOUNT(ANY) is specified and a data
set is multi-striped, the data set is processed as if VOLCOUNT(*) were
specified.
You can override VOLCOUNT keyword settings with the options installation exit
routine, as described in DFSMS/MVS Installation Exits.
WAIT
WAIT(2,2)
55
WAIT(numsecs,numretries)
WAIT specifies to DFSMSdss the length of a wait in seconds and the number of
retries to obtain control of a data set.
numsecs
is a decimal number (0255) that specifies the time interval, in seconds, between
retries.
numretries
is a decimal number (099) that specifies the number of times an attempt to gain
control of a data set is to be retried.
The default for numsecs,numretries is (2,2), which specifies two retries at 2-second
intervals. If you do not want to wait for a data set, specify 0 for either numsecs or
numretries.
Note: The WAIT keyword does not control wait/retry attempts for system
resources (such as the VTOC and the VVDS). For system resources, the
default wait time is 3 seconds and the default retry count is 30. This results
in a total wait time of 90 seconds. Refer to the DFSMS/MVS DFSMSdss
Diagnosis Guide for information about controlling the wait/retry attempts for
system resources.
165
WRItecheck
55
WRItecheck
WRC
N N Y Y Y Y
N N Y
Y Y
RENUNC
N N
Y Y Y Y N N
Y Y N N N
REPLACE
Y Y N N Y Y N N Y Y N N N X
Y N Y N Y N Y N Y N Y N Y X Y N Y N Y Y N
NEW NAME ON
VOLUME
T T
T T T
Do not restore
T T
N X N
VSAM Physical
Restore
N N N
Y N
Y Y
T T T
T T T T
Legend:
Y = Yes
T = Action taken
N = No
X = Doesn't matter
= Not Applicable
Figure 3 on page 167 describes general DFSMSdss actions for both physical and
logical restore on non-VSAM data sets. It is not a program flowchart. Use it to
clarify the restore actions on non-VSAM data sets under varying conditions.
166
START
Yes
RENUNC
Specified
No
Yes
B
Data set
on volume
No
Yes
RENAME
Specified
Data set
is SMS
No
Allocate data
set and restore
Yes
Match
on oldname
filter
No
No
Data set
in catalog
REPLACE
Specified
Derive
new name
from filter
Yes
Error
on newname
definition
No
No
Prefix
Specified
Yes
Yes
Yes
No
Yes
No
Yes
RENAME
Specified
Overlay the
data set
Derive
new name
from prefix
No
Cataloged
data set
is SMS
Is
newname
on volume
already
No
Yes
REPLACE
Specified
Yes
No
No
Allocate using
newname and
Restore
Yes
Overlay the
data set
ADR1SR01
Figure 3. Restore Actions on Non-VSAM Data Sets. These actions apply to a data set RESTORE command with
RENAME, RENAMEUNCONDITIONAL, and REPLACE keywords.
167
RESTORE Command
|
|
|
|
Source
data set
classes
No
MGMTCLAS
STORCLAS
NULLSTORCLAS
and/or
NULLMGMTCLAS
Yes
User
specified
classes
Source
classes
Yes
No
BYPASSACS
NULLSTORCLAS
Target
data set
classes
END
168
Yes
No classes
assigned
ADR1SR02
No
ACS
routines
RESTORE Command
Notes to Figure 4:
If you specify BYPASSACS, the source data sets class names or the class
names specified with STORCLAS and MGMTCLAS are assigned to the target
data set. If you do not specify BYPASSACS, ACS uses the source data sets
class names, or the class names specified with STORCLAS and MGMTCLAS
as input to assign the target data sets class names.
If you specify NULLSTORCLAS, DFSMSdss passes a null storage class to
ACS, which selects a storage class for the data set. If you specify
NULLSTORCLAS and BYPASSACS together, the data set becomes non-SMS
managed.
NULLMGMTCLAS can only be used with SMS-managed data sets. Specifying
NULLMGMTCLAS and BYPASSACS together causes the removal of the
original management class of the data set.
Example 1:
//JOB1
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//TAPE
DD
UNIT=348,VOL=SER=(TAPE1,TAPE2),
// LABEL=(1,SL),DISP=(OLD,KEEP),DSNAME=USER2.BACKUP
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//SYSIN
DD
\
command input (see Examples 1A and 1B below)
/\
169
RESTORE Command
//JOBTRKS JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//TAPE
DD
UNIT=348,VOL=SER=TAPE4,
// LABEL=(1,SL),DISP=(OLD,KEEP),DSN=USER2.BACKUP
//SYSPRINT DD
SYSOUT=A
//SYSIN
DD
\
RESTORE INDD(TAPE) OUTDYNAM(338) TRKS(2,1,2,1) /\ INPUT TRK 2,1 ON SOURCE VOL\/
OUTTRKS(1,)
/\RESTORE TO 1, ON TARGET VOL \/
PURGE
/\ OK TO OVERLAY THE TRK
\/
/\ EVEN IF UNEXPIRED DATA SET AT THE LOCATION \/
PSWD(ABC/WRITPSWD) /\ PASSWORD FOR THE DATA SET
\/
/\
A track of dump data is restored to a cylinder and head number other than that
from which it was dumped. The dump tape (which might have resulted from a full,
tracks, or data set dump operation) contains a track dumped from cylinder 200
head 10 that is restored to cylinder 100 head 0.
Example 2:
//JOB2
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//TAPE
DD
UNIT=348,VOL=SER=TAPE2,
// LABEL=(1,SL),DISP=(OLD,KEEP),DSNAME=USER2.BACKUP
//DASD1
DD
UNIT=338,VOL=(PRIVATE,SER=111111),DISP=OLD
//SYSIN
DD
\
command input (see Examples 2A, 2B, ... below)
/\
All data sets are restored, except those ending with a qualifier of LIST.
170
RESTORE Command
All data sets that satisfy the BY subkeyword except those specified in the
EXCLUDE subkeyword are restored.
Note to Example 2D: The following DD statement must be added to the JCL
shown in Example 2:
//A1
DD
DSNAME=USER2.FILTER,DISP=SHR
This cataloged data set (USER2.FILTER) contains three card-image records. The
information shown below is positioned in columns 2 through 72 of each record:
INCLUDE(\\) EXCLUDE(\\.LIST) BY((DSCHA,EQ,1))
Although the dump tape contains data sets from source volumes 111111 and
222222, only the data sets from source volume 111111 are restored. If preallocated
data sets exist on the volume, DFSMSdss replaces them. Unmovable data sets that
are not preallocated are not restored.
In the above example, renaming takes place only for data sets that exist on DASD
with the old name. Data sets with a first-level qualifier of USER4 are renamed to a
first-level qualifier of USER3. The first-level qualifiers of all other data sets are
replaced by USER2. Unmovable data sets are not renamed.
171
RESTORE Command
Example 2H shows you what to do if the data sets are in use for a short time
interval during a restore operation. DFSMSdss waits for a second at a time and
retries as many as 99 times if the data set is in use by another job.
172
RESTORE Command
//SYSIN
DD
\
RESTORE INDD(TAPE)
DS(INCL(USER1.CNTL.\\))
REPLACE
/\
/\ RESTORE
\/ /\ USERS CONTROL DATA SETS
\/ /\ OVERLAY DATA SETS IF THEY EXIST \/
//JOB2
JOB accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//SYSPRINT DD
SYSOUT=A
//TAPE
DD
UNIT=348,VOL=TAPE1,
// LABEL=(1,SL),DISP=(OLD,KEEP),DSNAME=USER2.BACKUP
//DASD
DD
UNIT=338,VOL=(PRIVATE,SER=222222),DISP=OLD
//SYSIN
DD
\
RESTORE DATASET(
INCLUDE(USER2.OLDDS) ) INDDNAME(TAPE) OUTDDNAME(DASD) RENAME(\.OLDDS,\.NEWDS)
/\
Chapter 3. SyntaxFunction Commands
173
RESTORE Command
174
RESTORE Command
//JOB3
JOB
accounting information,REGION=nnnnK
//STEP1
EXEC PGM=ADRDSSU
//TAPE
DD
UNIT=348,VOL=SER=TAPE4,
// LABEL=(1,SL),DISP=(OLD,KEEP),DSN=USER3.BACKUP
//SYSPRINT DD
SYSOUT=A
//SYSIN
DD
\
RESTORE INDD(TAPE) OUTDYNAM(338) DS(INCL(PARTS.VSAM1))
RENAME(\.VSAM1,\.VSAM2)
CATALOG
/\
A VSAM key-sequenced data set, PARTS.VSAM1, is restored from a logical dump
tape in this example. It is renamed as PARTS.VSAM2 and cataloged in the
standard order of search. The clusters components, PARTS.VSAM1.DATA and
PARTS.VSAM1.INDEX, are also renamed.
In this example, data sets with a first-level qualifier of PARTS were dumped
logically. All are restored to volume 338001 and cataloged in catalog USERCAT2.
These data sets were on volume 338000 at the time of dump. If the data sets do
not fit on volume 338001, a spill volume 338002 is specified. To ensure that the
data sets on volume 338001 can be extended, 20% of the total space on volume
338001 is to be left as free space (PCTU(80)). TGTALLOC(SOURCE) specifies
that the data sets are to be restored with the same allocation type they had when
they were dumped.
175
RESTORE Command
176
SyntaxAuxiliary Commands
Write-to-Operator (WTO)
SERIAL
PARALLEL
SET
IF-THEN-ELSE
EOJ
DFSMSdss does not prefix the message with a message ID. You can, however,
supply a message ID as part of the message text.
The following routing codes will be assigned to the message:
2
11
Scheduling Tasks
You can use the SERIAL or PARALLEL commands to schedule tasks. The SERIAL
or PARALLEL command must precede the commands to be executed in the
SERIAL or PARALLEL mode.
SERIAL Command
The SERIAL command lets you re-initiate serial task scheduling (only one task at a
time) after you have used parallel task scheduling. Tasks are processed in the
order in which they appear in the input stream.
If neither the SERIAL nor PARALLEL command has been issued, SERIAL is the
default. The command syntax is:
55SERial5%
177
SyntaxAuxiliary Commands
PARALLEL Command
The PARALLEL command lets you initiate parallel task scheduling; that is, two or
more tasks are processed concurrently, provided the required system resources
(such as virtual storage, DASD, or tape volumes) are available. The commands
may not necessarily be processed in the order in which they appear in the input
stream. The command syntax is:
55PARallel5%
If you switch from SERIAL to PARALLEL mode or vice versa, DFSMSdss waits for
all previously scheduled tasks to be completed before switching modes. If the
PARALLEL mode is specified but required system resources are not available,
some tasks may be delayed in processing until the resources are available (that is,
until other tasks have ended). If DFSMSdss is in PARALLEL mode, an IF statement
ensures that all prior commands are processed.
Condition Codes
The following condition codes are tested in the IF-THEN-ELSE command
sequence:
0 The function was processed as expected. Informational messages may have
been issued.
4 A problem occurred, but processing continued. The result may not be exactly
what you wanted, but no permanent harm was done. A warning message was
issued.
8 A function did not process, began processing but ended prematurely, or the job
ran without processing all requested functions. An error message is issued. If an
abend occurs in any of the DFSMSdss subtasks, the return code is set to 8.
12 The job did not process. No functions were processed.
16 A function processed and left at least one volume or data set in an unusable
condition. For example, a full-volume dump operation ended prematurely,
leaving the output tape in an unusable condition.
If you are running a batch job, the condition codes that are tested in the
IF-THEN-ELSE command sequence and that can be set by the SET command
cannot be passed from one job step to the next. However, the final maximum
condition code is passed to the MVS system when DFSMSdss returns control to
the system at the completion of step processing.
178
SyntaxAuxiliary Commands
SET Command
The syntax of the SET command is:
55SETMAXCC=number5%
LASTCC=number
SET
specifies that MAXCC or LASTCC is to be set to a new condition-code value.
A SET command that occurs within an unprocessed THEN or ELSE clause is
not processed.
MAXCC
specifies that the variable MAXCC is to be set to a new condition-code value.
Setting MAXCC does not affect the value of LASTCC.
LASTCC
specifies that the variable LASTCC is to be set to a new condition-code value.
If the value assigned to LASTCC is higher than the value of MAXCC, MAXCC
is also set to the higher value.
number
specifies the value to be assigned to MAXCC or LASTCC. The maximum value
that can be assigned is 16; a higher value is reduced to 16.
Examples of Controlling Tasks for the SET Command: The examples that
follow show the use of the SET command.
To set the last condition code established to 12, specify:
SET LASTCC=12
To replace the highest condition code established in processing so far with 8,
specify:
SET MAXCC=8
179
SyntaxAuxiliary Commands
6commandEND
DO
55%
ELSEcommand
6commandEND
DO
IF specifies that a comparison is to be made. The outcome determines which
logical path (in your command sequence) DFSMSdss takes.
LASTCC
specifies that LASTCC (condition code of the last-requested function, such as
COMPRESS, CONVERTV, COPY, COPYDUMP, DEFRAG, DUMP, PRINT,
RELEASE, RESTORE) is to be compared to a specified number.
MAXCC
specifies that MAXCC (maximum condition code of all completed operations) is
to be compared to a specified number. MAXCC is initialized to zero upon entry
to DFSMSdss.
Equal to
LE or <=
LT or <
Less than
GT or >
Greater than
number
specifies the decimal integer that is to be compared with MAXCC or LASTCC.
Values greater than 16 are reduced to 16.
THEN
specifies that a single command or a group of commands (enclosed by DO and
END) is to be processed if the tested condition is satisfied. THEN can be
followed by another IF command.
ELSE
specifies that a single command or a group of commands (enclosed by DO and
END) is to be processed if the tested condition is not satisfied. ELSE can be
followed by another IF command. The ELSE clause cannot be on the same line
180
SyntaxAuxiliary Commands
as the THEN clause nor on the same line as the continuation of the THEN
clause.
DO
specifies that the group of commands that follows is to be treated as a single
unit, that is, to be processed as a result of a single IF command. The set of
commands is ended by END. A command following a DO must begin on a new
line.
END
specifies the end of a set of commands initiated by the nearest unended DO.
END must be on a line by itself.
or
IF ... THEN;
ELSE ...
or
181
SyntaxAuxiliary Commands
3. ELSE must be the first word on a line and no continuation character should be
used on the preceding line.
Example:
IF LASTCC =
THEN
COPYDUMP ...
PRINT ...
ELSE
Nesting IF Commands
An IF command in a THEN or ELSE clause is a nested IF command. The
maximum level of nesting is 10, starting with the first time you specify IF.
Within a nest of IF commands, the innermost ELSE clause is associated with the
innermost THEN clause, the next innermost ELSE clause with the next innermost
THEN clause, and so on. If there is an IF command that does not require an ELSE
clause, use a null ELSE clause (see Creating a Null Command on page 181),
unless the nesting structure does not require one. If a nesting structure does not
require a null ELSE clause, the DFSMSdss job stream tells you.
182
SyntaxAuxiliary Commands
Error Example 1:
IF LASTCC = THEN
PRINT ...
A continuation character (hyphen) is missing after THEN; consequently, a null
THEN clause is assumed. The PRINT command is unconditionally processed.
Error Example 2:
IF LASTCC = THEN COPYDUMP ...
/\ ALTERNATE PATH \/
ELSE PRINT ...
Because no continuation character (hyphen) follows the comment, a null ELSE
clause is assumed. ELSE is not matched with THEN, and an error message is
issued. The PRINT command is ignored. Notice the correct use of the continuation
character on the other lines.
Error Example 3:
PRINT INDD( - /\COMMENT\/
DDN1)
The DDN1 on the second line is ignored and nothing is printed because characters
other than blanks appear after the continuation character (hyphen).
183
SyntaxAuxiliary Commands
184
Stand-Alone Services
This section, which describes the new Stand-Alone Services function, is intended
for the storage administrator, the system programmer, and anyone who runs the
Stand-Alone Services program. IBM offers this improved Stand-Alone data recovery
solution to all users of the DFSMS/MVS Version 1 Release 4 and above
DFSMSdss software package. This chapter, along with related information in
OS/390 MVS System Messages, Vol 1 (ABA-ASA), supports the new Stand-Alone
Services program.
Stand-Alone Services can perform either a full-volume or a tracks restore from
dump tapes produced by DFSMSdss or DFDSS, and offers the following benefits
when compared to the previous DFSMSdss Stand-Alone functions:
Provides user-friendly commands to replace the previous control statements
Supports IBM 3494 and 3495 Tape Libraries, and 3590 Tape Subsystems
Supports IPLing from a DASD volume, in addition to tape and card readers
Allows you to predefine the operator console to be used during Stand-Alone
Services processing
185
Stand-Alone Services
186
Stand-Alone Services
operator to identify the operator console. The first interrupt presented at this
time is expected to be a console and is treated as such.
When the operator console is predefined and a problem is detected while
attempting initial communication with the predefined console, Stand-Alone
Services loads a Wait PSW with the rightmost bytes containing
X'DDDDDD', giving the operator an opportunity to identify a console (other
than the predefined console) to be used as the operator console.
Other devices can generate interrupts that interfere with Stand-Alone Services
operations. If this happens, determine which device is causing the interference.
If the interrupting device is not on the same channel path ID (CHPID) as the
devices you are using for Stand-Alone Services processing, configure that
CHPID offline, re-IPL the Stand-Alone Services program, and configure the
CHPID back online after processing is complete. If the interrupting device is on
the same CHPID as the devices you are using for Stand-Alone Services
processing, follow your installations procedures to prevent the device from
interrupting until after the operator console has been identified.
The core image is the executable module that is loaded into the processors storage during the IPL and load process.
Chapter 5. Stand-Alone Services of DFSMSdss
187
Stand-Alone Services
188
Stand-Alone Services
Table 5. Stand-Alone Services Options when Using an IBM 3494 or 3495 Tape
Library. Procedures referred to in this table appear later in this section.
Can You Perform the Task Using an IBM Tape Library with:
Task
IPL the
Core
image
Restore
from
Dump
Tapes
No Setup
Stand-Alone
Device
Feature?
No.
Setup Stand-Alone
Device Feature
Only?
Both Setup
Stand-Alone Device
and Transient Mount
Features?
Note: When the Setup Stand-Alone Device feature is used to mount tapes,
Stand-Alone Services treats the tape drive as if the drive is not part of a tape
library.
189
Stand-Alone Services
PROCEDURE B
Use this procedure for tapes residing outside the library.
Mounting Mount tapes with the Library Manager Console Setup
Stand-Alone Device window using the Mount from Input Station option.
Specify the device when selecting the option. This is called a Transient
Mount operation. Mount the first dump data set tape prior to IPLing the
Stand-Alone Services program.
Demounting When the IPL tape is the only tape mounted from the input
station, unload and demount the tape after the Stand-Alone Services
Restore operation has completed. Do this by canceling the mount from the
input station using the Library Manager Console.
For additional information about tape library operations, refer to the appropriate IBM
Tape Library operators guide.
190
Stand-Alone Services
CREATE
IPL
the coreimage on
current MVS system
RESTORE
vital system packs
System DASD
CONTINUE
normal operations
Refer to OS/390 MVS System Messages, Vol 1 (ABA-ASA) for information about
messages received while running Stand-Alone Services.
The following is an overview of the steps necessary to implement the Stand-Alone
Services program:
1. Prepare for Stand-Alone Services by setting up the environment as described
in Preparing to Run the New Stand-Alone Services Program, and creating a
Stand-Alone Services IPL-able core image with the BUILDSA command. The
BUILDSA function is not part of Stand-Alone Services, yet it is necessary
before Stand-Alone Services can be IPLed in a stand-alone environment. The
BUILDSA command is described in BUILDSA Command on page 23.
2. IPL the Stand-Alone Services program from your specified tape, DASD, or card
reader device.
3. Restore your dumped volumes with the RESTORE command. The RESTORE
command performs a full-volume or tracks restore from a DFSMSdss-formatted
or DFDSS-formatted dump tape.
The TAPECNTL command allows you to rewind and unload a tape under
Stand-Alone Services control rather than having to perform this function
manually.
Chapter 5. Stand-Alone Services of DFSMSdss
191
Stand-Alone Services
To specify the console as the input device, enter CONSOLE or a null line. To
specify a different device type, enter dddd,ccuu, where dddd is either the
device type or card, and ccuu is the unit address. For example, to select a
3505 card reader at address 502, enter:
card,52
The input device can be one of the supported console devices or a card reader
device. See Supported Devices on page 203 for supported input devices.
4. Specify the Message Output Device.
After the input device is identified, the following message appears:
ADRY6E
To specify the console as the output device for operator communication, enter
CONSOLE or a null line. To specify a different device type, enter dddd,ccuu,
where dddd is either the device type or prnt, and ccuu is the unit address. For
example, to select a 3800 print subsystem at address 510, enter:
192
Stand-Alone Services
prnt,51
The output device can be a supported console device or a supported printer
device. See Supported Devices on page 203 for supported message output
devices.
5. Specify the correct date and time, if needed.
Stand-Alone Services automatically picks up the time and date from the
processors time-of-day (TOD) clock, usually in the Greenwich Mean Time
(GMT) format. When the TOD clock is incorrect or is not set, the following
message appears:
ADRY15E
When you have entered the correct date in the format indicated, the following
message appears:
ADRY16E
Enter the correct time in the format indicated. If you press Enter without
specifying a date or time, the value is set to zero.
At this point the IPL is complete. You can now enter Stand-Alone Services
commands from the specified input device. Multiple commands can be entered
without requiring a re-IPL of the Stand-Alone Services program.
IPL Example
In the following example, the console is defined as both the input device and output
device. System messages are highlighted in bold followed by the users response.
The example shows how more than one command can be entered without requiring
a re-IPL.
193
Stand-Alone Services
Explanation
000033
000044
000055
000066
000077
194
Stand-Alone Services
000088
0000AE
0000AF
0000E2
00BCBC
111111
888888
999999
BBBBBB
DDDDDD
EE4990
EEEEnn
The device type being used to IPL is not a supported DASD device
for IPLing the Stand-Alone Services.
An external interrupt occurred while Stand-Alone Services was being
loaded. Contact your software service representative.
A supervisor call instruction (SVC) interrupt occurred while
Stand-Alone Services was being loaded. Contact your software
service representative.
A machine check has occurred. Contact your hardware service
representative.
An attempt was made to IPL a processor that is in BC mode. IPL on
a processor that supports EC mode. When you IPL from a VM user
ID, set it to EC mode. This PSW is only loaded if you are IPLing
from card or tape.
Stand-Alone Services is waiting for an I/O interrupt. If the processor
stops with this code loaded it may be necessary to re-IPL and rerun
the command. Contact your hardware service representative if the
problem persists.
A temporary wait for a service-signal interrupt.
A temporary wait for a service-signal interrupt.
Stand-Alone Services is waiting for the operator to enter the input in
response to a prompting message on the service console.
Stand-Alone Services has detected an error related to the predefined
console, and is waiting for the operator to identify another console to
be used as the operator console. Possible reasons for the error with
the predefined console and actions to take are listed in Running
Stand-Alone Services with a Predefined Console on page 187.
Stand-Alone Services cannot find a required module. Refer to
message ADRY4990I for more information.
The processor is in a wait-state. The error is indicated by nn as
follows:
nn
Indicates:
13
An SVC interrupt has occurred. Run the SADMP* service aid
to dump the contents of real storage to tape, and contact your
software service representative.
14
A program interrupt has occurred. Run the SADMP* service
aid to dump the contents of real storage to tape, and contact
your software service representative.
15
There is insufficient main storage. Stand-Alone Services
requires 2MB of storage.
16
An I/O error has occurred.
17
Stand-Alone Services is unable to open a data set or access a
device, possibly because the device type is not supported.
18
Stand-Alone Services cannot send an operator message
because the console is either not defined or is unavailable.
19
An end-of-data routine is missing. Run the SADMP* service
aid to dump the contents of real storage to tape, and contact
your software service representative.
1A
The predefined console is not attached or is not operational.
Possible reasons for this error are listed in Running
Stand-Alone Services with a Predefined Console on
page 187.
195
Stand-Alone Services
1B
EECC03
EECCCC
F1F1F1
FFFFFF
196
Stand-Alone Services
6(tserial))
TAPEVOLSER(
See Command Syntax on page 1 for command and comment formatting specifics
Required Parameters
FROMDEV
Specifies the device type that the dump data set resides on. Eligible
device names are 3400 and TAPE. When either 3400 or TAPE is
specified, Stand-Alone Services attempts to determine the device type
from the self-description information. If the device self-description
information indicates a supported device type, Stand-Alone Services
uses the returned device type for processing. When a device does not
support self-description, Stand-Alone Services processes the device
differently depending on whether 3400 or TAPE is specified.
Abbreviations: FRMDEV and FRMDV.
3400 specifies device types 3420, 3422, and 3430. If the device type
cannot be determined from the self-description information,
Stand-Alone Services processes the device as a 3400-type device.
TAPE specifies all other supported tape devices listed in Supported
Devices on page 203 for source data sets. If the device type cannot
be determined from the self-description information, Stand-Alone
Services processing ends.
FROMADDR
Specifies the address of the device that the dump data set resides on.
You can specify a 3-digit or 4-digit address. Abbreviations: FRMADDR
and FRMADR.
TOADDR Specifies the address of the DASD target device to be restored. The
device type must be the same as the device type of the volume
originally dumped. You can specify a 3-digit or 4-digit address.
Abbreviation: TOADR.
VERIFY
Specifies that the volume serial number that is currently on the DASD
target volume should be verified before restoring the data. Specify either
VERIFY or NOVERIFY, not both.
DASD volumes to be restored must be initialized with a readable volume
label and VTOC. Abbreviation: VFY.
NOVERIFY
Specifies that no action be taken to either verify the volume serial
number, or to verify that any volume serial number exists. When
Chapter 5. Stand-Alone Services of DFSMSdss
197
Stand-Alone Services
Optional Parameters
FULL
Specifies that the full volume be restored. The dump data set must be a
DFSMSdss or DFDSS full-volume physical dump. The default is FULL.
STARTTRK
Specifies that a range of tracks beginning with the specified track be
restored. The dump data set can be a full-volume physical dump, a
tracks dump, or a physical data set dump. The STARTTRK parameter is
required with a tracks dump or a physical data set dump. STARTTRK is
not valid when FULL is specified.
Specify the track in the form (cccc,hhhh), where cccc is the cylinder
number and hhhh is the head number. The cylinder and head numbers
can be specified in either decimal or hexadecimal (for example,
X'AC',X'E' for hexadecimal or 172,14 for decimal.) Leading zeros are
not required. The STARTTRK parameter is processed as follows:
When ENDTRK is not specified, the ending track is set to the last
track on the volume.
When the starting track value is higher than the ending track value,
then an error message is issued and the restore operation is ended.
When the starting track value exceeds the volume limits, an error
message is issued and the restore operation is ended.
Abbreviations: STRTRK and STRK.
ENDTRK Specifies the ending track to be restored when STARTTRK is specified.
This parameter is not valid when FULL is specified.
Specify the track in the form (cccc,hhhh), where cccc is the cylinder
number and hhhh is the head number. The cylinder and head numbers
can be specified in either decimal or hexadecimal (for example,
X'AC',X'E' for hexadecimal or 172,14 for decimal.) Leading zeros are
not required. The ENDTRK parameter is processed as follows:
When STARTTRK is specified and ENDTRK is not specified, the
ending track is set to the last track on the volume.
When the ending cylinder value exceeds the volume limits, then the
ending cylinder value is set to the last cylinder on the volume, and a
warning message is issued.
When the ending head value exceeds the volume limits (exceeds
the last head in a cylinder), then the ending head value is set to the
last head on the ending cylinder, and a warning message is issued.
When the starting track value is higher than the ending track value,
an error message is issued and the restore operation is ended.
Abbreviation: ETRK.
READCHECK
Specifies that a read-back check of the restored data be performed.
READCHECK is the default. Abbreviations: READCHK, RDCHECK,
RDCHK, and READ.
198
Stand-Alone Services
NOREADCHECK
Specifies that a read-back check of the restored data not be performed.
Abbreviations: NOREADCHK, NREADCHK, and NREAD.
TAPEVOLSER
Specifies the tape volume serial numbers of the tapes to be mounted by
Stand-Alone Services when the tapes are in an IBM Tape Library.
Volumes are mounted by Stand-Alone Services in the order in which
they are specified.
The maximum number of tape volume serial numbers that can be
specified is 32. All of the specified tape volumes must be part of the
same dump data set to be used for the restore.
The TAPEVOLSER parameter is ignored if the FROMDEV parameter
does not specify a valid tape drive in a tape library.
Do not specify TAPEVOLSER when the tapes are mounted from the
Library Manager Console with the Setup Stand-Alone Device Pop-up
Window. See Using a Tape Library on page 188 for information about
tape libraries. Abbreviations: TAPEVOL and TPVOL.
FILE
Specifies the relative position, from the beginning of the tape volume,
where the dump data set begins. Allowable values are from 1 to 9999.
When the FILE parameter is not specified, the default value is 1.
Leading zeroes are not required. If the file number specified does not
exist on the tape, unpredictable results can occur; on 3400 tape devices
with tape reels, an incorrectly specified file number can cause the tape
to run off the end of the reel.
In the following example, device address F01 is a 3420 tape drive with a tape
mounted that contains the dump data set to be restored. Device address 9B9 is a
9345 DASD with volume serial number TS9345. Before writing on the volume, the
RESTORE command verifies that the DASD at address 9B9 has volume serial
number TS9345. The range of tracks to be restored is cylinder 0, head 0 through
the end of the volume.
In the following example, device address F77 is a 3480 tape drive with a tape
mounted that contains the dump data set to be restored on file 3 of the tape.
Device address F4A is a 3390 DASD. The NOVERIFY parameter prompts the
operator for permission to write on the device at address F4A.
199
Stand-Alone Services
In the following two examples, device address F77 is a 3480 tape drive with a tape
mounted that contains the dump data set to be restored. Device address 9B9 is a
9345 DASD with volume serial number TS9345. Before writing on the volume, the
RESTORE command verifies that the DASD at address 9B9 has volume serial
number TS9345. The range of tracks to be restored is from cylinder 200, head 5
through cylinder 205, head 14. The first example specifies the tracks in decimal:
In the following example, device address FDD is a tape drive in a 3495 Tape
Library, and the tape volume with volume serial number BCD103 contains the
dump data set to be restored. Device address F4A is a 3390 DASD. The
NOVERIFY parameter of the RESTORE command prompts the operator for
permission to write on the device at address F4A. Stand-Alone Services mounts the
tape volume with volume serial number BCD103 on the tape drive with address
FDD. The range of tracks to be restored is cylinder 0, head 0 through cylinder 5,
head 5.
In the following example, device address FDD is a tape drive in a 3495 Tape
Library, and the tape volumes with volume serial numbers BCD101 and BCD102
contain the dump data set to be restored. Volume BCD101 is the first volume in the
sequence, and BCD102 is the second volume. Device address 791 is a 3380
DASD. The NOVERIFY parameter of the RESTORE command prompts the
operator for permission to write on the device at address 791. Stand-Alone
Services mounts the tape volumes on the tape drive with address FDD. Volume
BCD101 is mounted first, and when the end of the tape is reached volume BCD102
is mounted.
200
Stand-Alone Services
Required Parameters
DEVTYPE
Specifies the tape device type that the TAPECNTL operation is to be
performed against. Eligible device names are 3400 and TAPE. When
either 3400 or TAPE is specified, Stand-Alone Services attempts to
determine the device type from the self-description information. If the
device self-description information indicates a supported device type,
Stand-Alone Services uses the returned device type for processing.
When a device does not support self-description, Stand-Alone Services
processes the device differently depending on whether 3400 or TAPE is
specified. Abbreviation: DEV.
3400 specifies device types 3420, 3422, and 3430. If the device does
not support self-description, Stand-Alone Services may not be able to
determine if the device is a tape drive. Stand-Alone Services issues
the rewind or unload instruction to the device anyway. When the
device is not a tape drive, unpredictable results may occur.
TAPE specifies all other supported tape devices listed in Supported
Devices on page 203. Stand-Alone Services does not issue rewind
or unload instructions to the device when Stand-Alone Services
cannot determine the device type from the self-description.
UNITADDR
Specifies the unit address of the device that the TAPECNTL operation
be performed against. You can specify a 3-digit or 4-digit address.
Abbreviations: UNIT and ADDR.
REWIND Specifies that a rewind operation be performed. Specify either REWIND
or UNLOAD, not both. Abbreviation: REW.
UNLOAD Specifies that a rewind and unload operation be performed. If the tape
drive is in an IBM tape library, the tape is demounted if necessary.
Abbreviation: UNL.
201
Stand-Alone Services
In the following example, the TAPECNTL command rewinds and unloads the tape
mounted in the 3480 tape drive at address F77:
In the following example, the TAPECNTL command rewinds and unloads the tape
mounted in the 3420 tape drive at address F01:
202
Stand-Alone Services
Supported Processors
The following processors are supported by Stand-Alone Services. Processors not
listed are not supported.
ES/9000
309X
4381
4361
4341
308X
Supported Devices
This section identifies the hardware devices supported by Stand-Alone Services.
Devices not listed are not supported.
IPL Devices
The following devices can be used to IPL the Stand-Alone Services program:
DASD Devices
RAMAC Array DASD
RAMAC Array Subsystem
9345 Storage Subsystem
3390
Chapter 5. Stand-Alone Services of DFSMSdss
203
Stand-Alone Services
3380
Tape Devices
3590
3490
3480
3430
3424
3422
3420
Tape Subsystem
Tape Subsystem
Tape Subsystem
(Models 3, 4, 5, 6, 7, and 8)
Tape Libraries
3494 (must include the Setup Stand-Alone Device feature with or without the
Transient Mount feature)
Card Readers
3525 Card Reader
3505 Card Reader
Virtual card reader under VM
Consoles
3290
3190
327x or compatible console
ES/9000 Service console
Card Readers
3525 Card Reader
3505 Card Reader
Virtual card reader under VM
Consoles
3290
3190
327x or compatible console
ES/9000 Service console
Printers
6262
4248
4245
3900
3800
204
Printer
Printer
Printer
Printing Subsystem (in line mode)
Printing Subsystem (in line mode)
Stand-Alone Services
Tape Devices
3590
3490
3480
3430
3424
3422
3420
Tape Subsystem
Tape Subsystem
Tape Subsystem
(Models 3, 4, 5, 6, 7, and 8)
Tape Libraries
3494 Tape Library
3495 Tape Library
205
Stand-Alone Services
206
Data Security
SPECIAL
When you use DFSMSdss, the SPECIAL attribute does not give you the authority
to define or rename discrete profiles during a copy, move, or restore of user data
sets that you do not own. This is because DFSMSdss uses the DEFINE function of
SAF and RACF and the ALTER function of catalog management services to define
and rename discrete profiles on your behalf. Instead of the system-SPECIAL
attribute, you need the system-OPERATIONS attribute to define or rename discrete
profiles for user data sets that you do not own.
207
Data Security
OPERATIONS
If you have the system-OPERATIONS attribute, you have authority to the protected
resources in resource classes such as DATASET, DASDVOL, and TAPEVOL. You
are limited to the access specified in the access list if either:
Your current connect group (or any connect group when list-of-groups checking
is active) is in the access list of a resource profile.
Your user ID is in the access list.
As a user with the system-OPERATIONS attribute, you have full control over data
sets, and you can do the following:
DASDVOL
DASDVOL is supported directly for volume-level operations, physical operations for
both SMS-managed and non-SMS-managed data sets, and logical operations for
non-SMS-managed data sets. With DASDVOL-access authority to a volume, you
can perform DFSMSdss operations as described in Volume Access and
DASDVOL on page 218 and DASDVOL Limitations on page 220. When you do
so, DFSMSdss bypasses access checking to the data sets and catalogs on that
volume.
You have DASDVOL-access authority to one or more DASD volumes if all of the
following are true:
DASDVOL class is active.
Profiles for the DASD volumes are defined in the DASDVOL class.
You have the level of access needed for the function you are trying to perform.
208
Data Security
209
Data Security
Table 6. DFSMSdss FACILITY-Class Profiles. This table shows the DFSMSdss commands and keywords and
the FACILITY-class profile that can restrict them.
Keyword
Profile Name
STGADMIN.ADR.COPY.BYPASSACS
STGADMIN.ADR.RESTORE.BYPASSACS
STGADMIN.ADR.COPY.CNCURRNT
STGADMIN.ADR.DUMP.CNCURRNT
CONVERTV
STGADMIN.ADR.CONVERTV
DEFRAG
STGADMIN.ADR.DEFRAG
STGADMIN.ADR.RESTORE.DELCATE
STGADMIN.ADR.RESTORE.IMPORT
STGADMIN.ADR.COPY.INCAT
STGADMIN.ADR.DUMP.INCAT
STGADMIN.ADR.RELEASE.INCAT
STGADMIN.ADR.COPY.PROCESS.SYS
STGADMIN.ADR.DUMP.PROCESS.SYS
STGADMIN.ADR.RELEASE.PROCESS.SYS
STGADMIN.ADR.COPY.TOLERATE.ENQF
STGADMIN.ADR.DUMP.TOLERATE.ENQF
STGADMIN.ADR.RESTORE.TOLERATE.ENQF
Password Protection
DFSMSdss supports password checking at the data set level, but not the catalog
level. If a data set is password-protected and RACF-protected, access to the data
set is determined only through RACF-authorization checking (password checking is
bypassed).
Data set passwords in the DFSMSdss input command do not appear in the
SYSPRINT data set listing. However, if your job abnormally ends, those passwords
may appear in any resultant dump. To prevent this, you can put the passwords in a
data set that is referred to with a DD statement.
210
Data Security
access checking table. You can also create a new user data set in any of the
following situations:
You are acting as a DFSMSdss-authorized storage administrator through the
ADMINISTRATOR keyword.
You have DASDVOL-access authority to the non-SMS-managed volume that
the data set is being created on.
You have the system-OPERATIONS attribute, and you have not been explicitly
denied access to the data set.
The system has always-call, the data set name is protected by a generic
profile, and you do not have Automatic Data Set Protection (ADSP). For details,
see Protect-All and Always-Call on page 213 and Automatic Data Set
Protection (ADSP) Attribute on page 212.
The data set is not protected by a generic profile, and you do not have ADSP.
Generic Profiles
Generic profiles can be used to protect existing data sets without turning on the
RACF-indicator flag in the data set VTOC entry for a non-VSAM data set or in the
catalog entry for a VSAM data set. Generic profiles can be used to permit access
to data sets, deny access to data sets, and control who can create data sets. A
small number of generic profiles can be used to protect many data sets.
211
Data Security
Generic profile checking for the DATASET class must be activated by the RACF
SETROPTS GENERIC(DATASET) command. An entry in the global access
checking table can let a user access a data set that the generic data set profile
does not. See Global Access Checking Table on page 212 for more information.
Discrete Profiles
A discrete profile should be used to protect a data set only if the data set has a
unique security requirement from any other resource. You can protect data sets
with discrete profiles when you use the DFSMSdss COPY or RESTORE command
if you have the authority to define a discrete profile to protect that data set.
When a data set is protected with a discrete profile, an indicator is set in the VTOC
entry for a non-VSAM data set, in the catalog entry for a VSAM data set, or in the
tape volume profile for the tape volume that contains a tape data set. This condition
is called RACF-indicated.
The following are special considerations that apply to discrete profiles:
If the data set is scratched, RACF deletes the discrete profile.
If you rename a data set to your high-level qualifier, the data set and the
discrete profile are renamed, and the owner information of the profile is
changed to your user ID.
If you rename a data set to a high-level qualifier other than your own, the
owner of the high-level qualifier becomes the owner of the data set.
212
Data Security
213
Data Security
Temporary name
dsnhlq.chhmmsst
25
First n1 qualifiers.chhmmsst
>5
First 4 qualifiers.chhmmsst
where c is:
T Target cluster name
D Target data component name
I Target index component name
U Source cluster name
E Source data component name
J Source index component name
hhmmsst Time stamp information in hours (hh), minutes (mm), seconds (ss), and tenths of
a second (t)
Note: In the course of copying data sets, DFSMSdss will rename the source data
set using the above conventions. Whenever DFSMSdss renames a RACF
protected data set to a temporary name, a RACF profile must exist for the
temporary data set name.
Temporary catalogs allocated by DFSMSdss when copying a catalog. The
catalog name is in the following format:
CATHLQ.EXPORT.Thhmmsst
where,
CATHLQ The first four high-level qualifiers of the catalog being copied.
hhmmsst The time-stamp information in hours (hh), minutes (mm), seconds
(ss), and tenths of second (t).
214
Data Security
Erase-on-Scratch
When the erase indicator is set in a DASD data set profile, the tracks of any
scratched or released data set extents that are part of the protected DASD data set
are erased. Erase-on-scratch is supported for the following DFSMSdss commands:
When DFSMSdss deletes a data set or moves data extents, the original tracks are
erased if the erase indicator set. This also applies during a copy or restore when
preallocated data sets are deleted and reallocated.
215
Data Security
Logging
DFSMSdss automatically supports RACF logging as follows:
Logging of DASDVOL-access checks is allowed for successful authorizations
only. Unsuccessful attempts are not logged because the user can still gain
access at the data set catalog level.
Logging of access checking for data sets occurs as specified in the applicable
data set profile. However, because catalog management services are used,
DFSMSdss does not fully control logging for VSAM data sets.
Logging of access to the FACILITY-class profiles for DFSMSdss is allowed as
defined for those profiles.
DFSMSdss does not control logging of RACF DEFINE requests. DEFINE
requests are made to define discrete profiles and to determine if a user has
CREATE authority in a group.
Logging of access-level checks for a catalog occurs only once.
Logging cannot be disabled by specifying RACFLOG=NO in the PARM
statement of a DFSMSdss job. The only way to turn off logging is through the
DFSMSdss installation options exit.
ADMINISTRATOR Keyword
To act as a DFSMSdss-authorized storage administrator, specify the
ADMINISTRATOR keyword on the appropriate DFSMSdss command. If you are not
authorized to use the ADMINISTRATOR keyword, the command is ended with an
error message. Otherwise, access checking to data sets and catalogs is bypassed.
To use the ADMINISTRATOR keyword, all of the following must be true:
FACILITY class is active.
Applicable FACILITY-class profile is defined (see below).
You have READ access to that profile.
As a DFSMSdss-authorized storage administrator, your authority is for both
physical and logical operations. For example, a DFSMSdss-authorized storage
administrator for the COPY command can copy tracks, a full volume, or data set
without having access to the individual data sets or their catalogs.
DFSMSdss tries to define a discrete profile when you copy a discretely-protected
data set or when you use the MENTITY keyword. The authority to do so is not
216
Data Security
217
Data Security
STGADMIN.ADR.STGADMIN.RESTORE.RENAME
Lets you restore or restore and rename data sets, through the RENAME or
RENAMEUNCONDITIONAL keyword, without having READ, UPDATE, OR ALTER
access to source and target data sets and their catalogs.
218
Data Security
Ye s
A u th or iz e d s tora ge ad m in is tra to r ?
No
Ye s
Authorized
C O P Y D U M P fu n ctio n ?
ta rg e t a u tho r iza tio n proc es sin g
N ot authoriz ed
No
Te r m i n a t e r e q u e s t
H as insta lla tion e xit req uested that
Ye s
No
Ye s
f o r w h i c h N O PA S S = O N ?
No
I s t h is o n e o f t h e f o l l o w in g d a t a s e t s ?
- C he ckpoint / re sta rt
A u th ority g ran te d
Ye s
V S A M w it h o u t V V D S
A u th o rity re je cte d
- V TO C in d e x
- VVDS
Te r m i n a t e r e q u e s t
No
Ye s
No
Is this an SM S-m ana ged data set ?
I s R A C F a c ti v e in t h e s y s t e m ?
Ye s
Ye s
No
R A C F f a c i li t y c la s s f o r f u n c t i o n ?
b y t h e s p e c if i c f a c i li t y c l a s s ?
I s t h e d a t a s e t p a s s w o r d - p r o t e c t e d , o r,
Ye s
No
No
No
Ye s
D o es use r ha ve D A S D V O L au th ority fo r
Ye s
O btain p asswo rd tha t wa s
Va l i d p a s s w o r d
passed to D FS M Sdss or by
No
Te r m i n a t e r e q u e s t
ADR1SR04
Ye s
D oes operation require a catalog update ?
N o u pd a te
required
C a t a lo g i s R A C F - p r o t e c t e d .
No
P r o t e c t io n i s t o b e :
Bypass c atalo g
protection
Honored
N ot authoriz ed
Authorized
Pe rform
re qu e ste d
Te r m i n a t e r e q u e s t
R A C F - p ro t e c t e d c a t a l o g ?
functio n
219
Data Security
Command
Volume
FULL
TRACKS
Data Set
COMPRESS
Source
N/A
N/A
UPDATE
CONVERT
N/A
N/A
N/A
N/A
COPY
Source
READ
READ
READ
Target
ALTER
ALTER
UPDATE
COPY with
DELETE
Source
N/A
N/A
ALTER
Target
N/A
N/A
UPDATE
COPYDUMP
N/A
N/A
N/A
N/A
DEFRAG
Source
N/A
N/A
UPDATE
DUMP
Source
READ
READ
READ
DUMP with
DELETE
Source
N/A
N/A
ALTER
Source
N/A
READ
READ
RELEASE
Source
N/A
N/A
UPDATE
RESTORE
Source
N/A
N/A
READ
Target
ALTER
ALTER
UPDATE
DASDVOL Limitations
DASDVOL-access authority is not supported for logical operations on
SMS-managed data sets, nor does it let you define discrete profiles. For
DFSMSdss to define or rename discrete profiles, you need the authority to do so.
For more about discrete profiles, see Copy and Data Set Profile Considerations
on page 227 and Restore and Data Set Profile Considerations on page 233.
While DASDVOL-access authority to a non-SMS-managed volume lets you move,
copy, dump, or delete a catalog, you do not automatically have access to the data
sets that are cataloged in it. Also, for certain operations (such as CONVERTV on
an SMS-managed data set), an authorization check is performed to see if the data
220
Data Security
READ
lets you read the data set, and even make a copy of it, provided you
have authority to create or replace the target data set.
The level of access authority you need to access data sets is also dependent on
the following:
Whether the data set is SMS-managed or not.
Whether a catalog entry for the data set is added (cataloged) or deleted
(uncataloged).
Whether the catalog is an integrated catalog facility catalog, a VSAM catalog,
or an OS CVOL.
Whether the catalog is RACF-protected.
DFSMSdss supports VSAM data sets only if they are cataloged in an integrated
catalog facility catalog. Non-VSAM data sets can also be cataloged in a VSAM
catalog or an OS CVOL. For VSAM data sets, access authorization is determined
solely by your authority to access the base-cluster name: Data set profiles are
ignored for any data component, index component, alternate index (processed as
part of a sphere) or PATH.
221
Data Security
Protected Catalogs
DFSMSdss only supports RACF-protection of catalogs; catalog passwords are
never checked.
222
RACF-
Not RACF-
RACF-
Not RACF-
Protected
Protected
Protected
Protected
CATALOG
No authority required
No authority required
UPDATE to GDG
base
No authority required
RECATALOG
No authority required
UPDATE to GDG
base
No authority required
UNCATALOG
No authority required
No authority required
Data Security
The system operator is only prompted for the first data set encountered in one of
the above classes for the DFSMSdss command that is being processed. The reply
given is used for that command invocation for all other data sets of that type on the
volume.
COMPRESS
CONVERTV
COPY
COPYDUMP
DEFRAG
DUMP
PRINT
RELEASE
RESTORE
The tables in this section can help you determine if you have sufficient access
authority to use the DFSMSdss commands. The access authority you need
depends on what you are trying to do. For example:
If the data set is SMS-managed and you have access to the data set, you have
access to its user catalog.
If you have ALTER access to the data set, you can copy and delete (or dump
and delete) the data set.
If the source data set is cataloged, you may need UPDATE or ALTER access
to its catalog if the data set is going to be deleted, uncataloged, or cataloged.
223
Data Security
To replace an existing data set using the COPY or RESTORE command, you
need UPDATE access to the data set.
If you are doing a restore with rename, ALTER-access authority lets you create
a new user or group data set. If the data set belongs to a group, CREATE
authority in the group and UPDATE access to that group data set name also
lets you create that group data set.
To restore a data set, you need READ access to a data set with the same
name as the one that was dumped. You also need either UPDATE or ALTER
access to the target data set.
If the target data set is going to be discretely protected, and you do not own
the data set, you need additional authority to define a discrete profile. This is
true even if you are acting as a DFSMSdss-authorized storage administrator for
the COPY or RESTORE command.
To copy or dump a master catalog, you need ALTER access if you are not
acting as a DFSMSdss storage administrator. This level of access is needed
because the master catalog may contain passwords.
If you are acting as a DFSMSdss storage administrator, you have access to the
applicable data sets and catalogs.
COMPRESS
To compress partitioned data sets on a specified volume, either you need
DASDVOL-access authority to the volume or UPDATE access authority to the data
sets, or you must be acting as a DFSMSdss-authorized storage administrator.
CONVERTV
Anyone can use the CONVERTV command. However, your installation can limit
usage of the CONVERTV command by use of a RACF FACILITY-class profile if:
RACF FACILITY class is active.
The FACILITY-class profile STGADMIN.ADR.CONVERTV has been defined.
Then need READ access authorization to that profile to use the CONVERTV
command.
To convert a volume to SMS-managed, the user and group IDs of the owners of all
the data sets on that volume must be RACF-defined, and they must not be
revoked.
COPY
Table 9 on page 226, which shows the access authority needed to perform the
copy function, is based on the following assumptions:
The data set is a user data set.
Both the data set and the catalog are RACF-protected.
If the data set is going to be cataloged in the master catalog, then you need
UPDATE access to that catalog.
Table 9 on page 226 also applies to group data sets. To create a new group data
set, you need one of the following:
224
Data Security
225
Data Security
Table 9. COPY Command Access Authority. This table shows the minimum access levels required to perform a
COPY command.
SOURCE DATA SET
Non-SMS
Non-SMS
Access Level
Access Level
Data Set
Catalog
Preallocated
Target
NO
READ
Automatic
NO
ALTER
UPDATE
NO
READ
Automatic
YES
UPDATE
Automatic
YES
ALTER
Automatic
NO
ALTER
UPDATE
YES
ALTER
Automatic
YES
UPDATE
Automatic
With DELETE
Non-SMS
Data Set
Catalog
SMS
Access Level
Access Level
Data Set
Catalog
Preallocated
Target
NO
READ
Automatic
NO
ALTER
Automatic
NO
READ
Automatic
YES
UPDATE
Automatic
YES
ALTER
Automatic
NO
ALTER
Automatic
YES
ALTER
Automatic
YES
UPDATE
Automatic
With DELETE
SMS
Data Set
Catalog
Non-SMS
Access Level
Access Level
Data Set
Catalog
Preallocated
Target
NO
READ
Automatic
NO
ALTER
UPDATE
NO
READ
Automatic
YES
UPDATE
Automatic
YES
ALTER
Automatic
NO
ALTER
UPDATE
YES
ALTER
Automatic
YES
UPDATE
Automatic
With DELETE
SMS
Data Set
Catalog
SMS
Access Level
Access Level
Data Set
Catalog
Preallocated
Target
NO
READ
Automatic
NO
ALTER
Automatic
NO
READ
Automatic
YES
UPDATE
Automatic
YES
ALTER
Automatic
NO
ALTER
Automatic
YES
ALTER
Automatic
YES
UPDATE
Automatic
With DELETE
Data Set
Catalog
Notes:
1. Automatic means that you have automatic access to the user catalog if you can access the data sets.
2. In the course of copying data sets, DFSMSdss will rename the source data set using the conventions
described under DFSMSdss Temporary Data Set Names. (See 214 under Temporary Copied Data Sets.)
Whenever DFSMSdss renames a RACF protected data set to a temporary name, a RACF profile must exist
for the temporary data set name.
226
Data Security
Copy and Data Set Profiles: If a data set is protected by a generic or discrete
profile when it is copied, DFSMSdss tries to ensure that the target data is also
protected (see Table 10). To do so, DFSMSdss uses the RACF DEFINE function
or the catalog ALTER function. You need authority to define or rename discrete
profiles, even if you are acting as a DFSMSdss-authorized storage administrator.
Table 10. COPY Command and RACF Profiles. This table summarizes how DFSMSdss defines discrete profiles
to protect the target set.
COPY with:
RACF Profile:
RENAME
DELETE
NO
NO
NO
None
As predefined
NO
NO
GENERIC
No change
As predefined
NO
NO
DISCRETE
No change
DEFINE
NO
YES
NO
None
As predefined
NO
YES
GENERIC
No change
As predefined
NO
YES
DISCRETE
DELETE
DEFINE
YES
NO
NO
None
As predefined
YES
NO
GENERIC
No change
MENTITY
YES
NO
DISCRETE
No change
DEFINE
YES
YES
NO
None
As predefined
YES
YES
GENERIC
No change
MENTITY
YES
YES
DISCRETE
DELETE
DEFINE
Source
Target
Terms defined:
None
As predefined
No change
DEFINE
DELETE
MENTITY
227
Data Security
profile as the model. Besides the model profile, you can also specify a volume
serial (through MVOLSER). If you do so, specify the volume serial number of the
volume containing the non-VSAM model entity or the volume containing the catalog
in which the VSAM model entity is cataloged.
Use the MENTITY keyword of the COPY command when one of the following is
true:
The source data set is RACF-protected by a generic profile, but the target data
set name is unprotected.
The source data set is RACF-protected by a discrete profile, but you wish to
use a different data set profile as the model for defining a new discrete profile.
228
Source
Target
None
None
None
Generic
None
RACF
Indicated
Generic
None
Generic
Generic
Generic
RACF
Indicated
RACF
Indicated
None
RACF
Indicated
Generic
RACF
Indicated
RACF
Indicated
MENTITY
Specified?
Define Profile?
RACF
Indicated?
Warning
Message?
Yes
No
No
No
No
No
No
No
Yes
No
No
No
No
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No (W)
No
No
No
Yes
Yes
No
No
No
No
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No (W)
No
Yes (C)
Yes
No (E)
Yes
Yes
Yes
No (W)
No
Yes (C)
Yes
No (E)
Yes
No
Yes
No
No
No
Yes
No
Data Security
Table 11 (Page 2 of 2). Copy and Define Discrete Profile Summary. This table summarizes what happens
when DFSMSdss defines discrete profiles for a copy operation.
Terms defined:
Yes (C)
No (W)
No (E)
If there is a discrete profile for the source data set, a discrete profile is defined for the target
data set.
If the define of the discrete profile fails and the copy is successful, then the target data set is
left as RACF-indicated and a warning message is issued. This is true even if DELETE is
specified.
If the define of the discrete profile fails and DELETE is specified, then the copy is unsuccessful
and an error message is issued.
If the define of the discrete profile fails and DELETE is not specified, then the target data set is
left as RACF-indicated and a warning message is issued.
Protection States after a Copy or Move: When a data set is copied or moved,
the protection state of the target depends on the initial protection states of the
source and the target data sets, whether MENTITY was specified, and whether
discrete profiles are predefined. The following conditions may exist:
The source data set is unprotected. The target data set may or may not be
protected after the copy. A discrete profile is not defined by DFSMSdss, even if you
specify MENTITY.
The source data set is protected but not RACF-indicated. The target data set
may or may not be protected after the copy:
If the target data set is not already protected and MENTITY is not specified, the
data set remains unprotected. If you do specify MENTITY, DFSMSdss defines
a discrete profile:
If the define is successful, the target data set is RACF-indicated. It is
accessible according to the access list for the model profile that was used.
If the define is unsuccessful, the target data set remains RACF-indicated.
It may be inaccessible until a data set profile is successfully defined.
If the target data set is already protected because it is RACF-indicated or
RACF-protected, DFSMSdss does not define a discrete profile (even if you
specify MENTITY). The target data set is accessible according to the access
list of a predefined, protecting, data set profile.
The source data set is RACF-indicated. The target data set is RACF-indicated
after the copy:
If the target data set is not RACF-indicated and if either there is a discrete
profile for the source or MENTITY is specified, DFSMSdss defines a discrete
profile:
If the define is successful, the data set is RACF-indicated. It is accessible
according to the access list for the model profile that was used.
If the define is unsuccessful and MENTITY was specified or DELETE was
not specified, the data set is RACF-indicated. It may be inaccessible until a
data set profile is successfully defined.
If the define is unsuccessful and DELETE was specified (without
MENTITY), the copy or move is unsuccessful. The target data set is
deleted, and the source data set is kept.
229
Data Security
If the target data set is already RACF-indicated, a discrete profile is not defined
by DFSMSdss (even if you specify MENTITY or DELETE). The target data set
remains RACF-indicated.
COPYDUMP
The access authority you need to the input and output dump data sets depends on
many factors not under DFSMSdss control because access-authorization checking
is performed by Open/Close/End-of-Volume (O/C/EOV) processing. The primary
considerations are as follows:
You need READ access if the input dump data set is protected.
You need either UPDATE or ALTER access if the output dump data set is
protected.
You may need UPDATE access to the catalog if the output data set is going to
be cataloged.
DEFRAG
To use the DEFRAG command to relocate data extents on a DASD volume, you
need DASDVOL-access authority to that volume or READ-access to the data sets
that are relocated. Otherwise, only unprotected data sets are relocated.
As part of the DEFRAG operation, DFSMSdss creates a work data set
(SYS1.DFDSS.DEFRAG.xxxxxxxx.volser.DUMMY), which is deleted after successful
completion of the DEFRAG function. If the DEFRAG operation is prematurely
ended, rerun the DEFRAG function to clean up this data set.
DUMP
The access authority you need to the output dump data set depends on many
factors not controlled by DFSMSdss because access-authorization checking is done
by O/C/EOV. The primary considerations are as follows:
You need access to a protected dump data set with:
ALTER access to create it.
UPDATE access if it is already allocated.
CREATE authority in the group and UPDATE access if it is a group data
set.
You may need UPDATE access to a catalog if the dump data set is going to be
cataloged.
You may have sufficient authority to the dump data set if you have the
system-OPERATIONS attribute.
You also need access authority to the data sets that are going to be dumped
as shown in Table 12 on page 231.
Table 12 on page 231 is for the following conditions:
Both the data set and the catalog are RACF-protected.
230
Data Security
You have the indicated level of access authority to the data set.
The data set is cataloged in a user catalog.
Table 12. DUMP Command and Access Authority. This table shows the minimum access levels required to
perform a DUMP command.
SMS-Managed Data Set?
With DELETE?
Access Level:
Source Data Set
Catalog
NO
NO
READ
Automatic
NO
YES
ALTER
UPDATE
YES
NO
READ
Automatic
YES
YES
ALTER
Automatic
Note: Automatic means that you have automatic access to the catalog if you can access the data set.
PRINT
To use the PRINT command, you need either DASDVOL-access authority at the
READ level or READ access to the data sets.
RELEASE
To use the RELEASE command, you need either DASDVOL-access authority at
the UPDATE level or UPDATE access to the data sets.
RESTORE
The access authority you need to restore a data set from an input dump data set
depends on many factors not controlled by DFSMSdss because
access-authorization checking to the input dump data set is performed by O/C/EOV
processing. The primary considerations are as follows:
You need at least READ access to the dump data set if the dump data set is
protected.
You may need READ access to the catalog if the dump data set is cataloged.
231
Data Security
You may have sufficient authority to the dump data set if you have the
system-OPERATIONS attribute.
You also need access authority to the source and target data sets and their
catalogs as shown in Table 13 on page 233.
232
Data Security
Table 13. Restore Command and Access Authority. This table shows the minimum access-levels required to
perform a RESTORE command.
SOURCE DATA SET
Non-SMS
Non-SMS
Access Level
RENAME or
RENAMEU
Data Set
Catalog
NO
No check
No check
NO
No check
YES
YES
Preallocated
Target
Data Set
Catalog
NO
ALTER
UPDATE
No check
YES
UPDATE
Automatic
READ
Automatic
NO
ALTER
UPDATE
READ
Automatic
YES
UPDATE
Automatic
Non-SMS
RENAME or
RENAMEU
Access Level
SMS
Access Level
Access Level
Data Set
Catalog
Preallocated
Target
NO
No check
No check
NO
ALTER
Automatic
NO
No check
No check
YES
UPDATE
Automatic
YES
READ
Automatic
NO
ALTER
Automatic
YES
READ
Automatic
YES
UPDATE
Automatic
SMS
Data Set
Catalog
Non-SMS
Access Level
RENAME or
RENAMEU
Data Set
NO
Access Level
Catalog
Preallocated
Target
Data Set
Catalog
No check
No check
NO
ALTER
UPDATE
NO
No check
No check
YES
UPDATE
Automatic
YES
READ
Automatic
NO
ALTER
UPDATE
YES
READ
Automatic
YES
UPDATE
Automatic
SMS
SMS
Access Level
RENAME or
RENAMEU
Data Set
NO
Access Level
Catalog
Preallocated
Target
Data Set
Catalog
No Check
No check
NO
ALTER
Automatic
NO
No check
No check
YES
UPDATE
Automatic
YES
READ
Automatic
NO
ALTER
Automatic
YES
READ
Automatic
YES
UPDATE
Automatic
Notes:
1. No check means that no check is made.
2. Automatic means that you have automatic access to the catalog if you can access the data sets.
Restore and the MENTITY Keyword: You can restore a data set and use the
MENTITY keyword to request that DFSMSdss is to define a data set profile when
one of the following is true:
Chapter 6. Data Security and Authorization Checking
233
Data Security
Restore and Physical Data Sets: DFSMSdss provides limited support for
defining discrete profiles during physical restore of a data set:
For VSAM data sets, a discrete profile is never defined.
For non-VSAM data sets, a discrete profile is only defined if MENTITY is
specified and the data set was RACF-indicated when it was dumped.
234
Data Security
Table 14. Copy and Define Profile Summary. This table summarizes when DFSMSdss defines discrete profiles
for a copy operation.
Protection
Source
Target
None
None
None
Generic
None
RACF
Indicated
Generic
None
Generic
Generic
Generic
RACF
Indicated
RACF
Indicated
None
RACF
Indicated
Generic
RACF
Indicated
RACF
Indicated
MENTITY
Specified?
Define Profile?
RACF
Indicated?
Warning
Message?
Yes
No
No
No
No
No
No
No
Yes
No
No
No
No
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No (W)
No
No
No
Yes
Yes
No
No
No
No
No
No
No
Yes
No
Yes
No
No
No
Yes
No
Yes
Yes
Yes
No (W)
No
No
Yes
Yes
Yes
Yes
Yes
No (W)
No
No
Yes
Yes
Yes
No
Yes
No
No
No
Yes
No
Note: No (W) means that if the define of the discrete profile fails, the restore is successful, but the target data
set remains RACF-indicated. A warning message is issued.
Protection States after a Restore: When a data set is restored, the protection
state of the target depends on the initial protection states of the source and the
target data sets, whether MENTITY is specified, and whether discrete profiles are
predefined. The following conditions may exist:
The data set was unprotected when it was dumped. The target data set may or
may not be protected after the restore. Even if you specify MENTITY, a discrete
profile is not defined.
The data set was generically protected when it was dumped. The target data
set name may or may not be protected after the restore:
If the target data set is not already protected and MENTITY is not specified, the
data set remains unprotected. If MENTITY is specified, a discrete profile is
defined:
If the define is successful, the data set is RACF-indicated. It is accessible
according to the access list for the model profile that was used.
If the define is unsuccessful, the data set remains RACF-indicated. It may
be inaccessible until a data set profile is successfully defined.
If the target data set is already protected, a discrete profile is not defined (even
if you specify MENTITY). The target data set is accessible according to the
access list of a predefined, protecting, data set profile.
Chapter 6. Data Security and Authorization Checking
235
Data Security
The source data set was RACF-indicated when it was dumped. The target data
set is RACF-indicated after the data set is restored:
If the target data set is not already RACF-indicated and if MENTITY is not
specified, a discrete profile is not defined. If MENTITY is specified, DFSMSdss
defines a discrete profile:
If the define is successful, the data set is accessible according to the
access list for the model profile that was used.
If the define is unsuccessful, the data set may be inaccessible until a data
set profile is successfully defined.
If the target data set is already RACF-indicated, a discrete profile is not defined
by DFSMSdss (even if you specify MENTITY). The target data set remains
RACF-indicated.
DFSMSdss gives you the ability to change its default operation. Via the
ADRPATCH Serviceability Aid, DFSMSdss logical restore can be instructed not
to turn on the RACF indicator for the target data set when the source data set
was RACF-indicated at dump time. The MENTITY keyword is not specified and
the target data set is protected by a generic profile. Refer to DFSMS/MVS
DFSMSdss Diagnosis Guide for additional information.
236
Compatibility Considerations
This appendix presents several considerations whenever you migrate from DFDSS
Version 2, or an earlier version of DFSMSdss, to Version 1 Release 5.
Access Authority
The type of access authority required by DFSMSdss for processing
RACF-protected data sets and password-protected data sets is the same as in
DFDSS Version 2 Release 5. Access authorization processing was significantly
enhanced in DFDSS Version 2 Release 5. See Chapter 6, Data Security and
Authorization Checking on page 207 for additional information about access
authority.
ALLMULTI Keyword
The ALLMULTI keyword is no longer supported in DFSMSdss Version 1 Release 4,
and has been replaced by the SELECTMULTI keyword. For information see the
descriptions for the SELECTMULTI keyword in the CONVERTV, COPY, and DUMP
command sections.
Concurrent Copy
DFSMSdss Version 1 Release 1 introduced the CONCURRENT keyword in the
COPY and DUMP commands. This keyword lets you to specify that the data is to
be dumped or copied concurrently with ongoing update activity. When used with
supported hardware, the dump or copy operation proceeds as if no updates had
occurred.
237
Compatibility Considerations
Disaster Recovery
DFDSS Version 2 Release 5 introduced the DELETECATALOGENTRY and
IMPORT keywords to support disaster recovery operations. These keywords are
also supported by DFSMSdss Version 1 Release 1.
238
Compatibility Considerations
DFSMSdss Version 1
Full
Tracks
Data Set
Full
Tracks
Data Set
Full
Yes
Yes
Yes
Yes
Yes
Yes
Tracks
No
Yes
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
Full
Yes
Yes
Yes
Yes
Yes
Yes
Tracks
No
Yes
No
No
Yes
No
No
Yes
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
Full
Yes
Yes
Yes
Yes
Yes
Yes
Tracks
No
Yes (1)
No
No
Yes (1)
No
No
Yes
Yes
No
Yes
Yes
No
No
Yes (2)
No
No
Yes
DFDSS Version 1
DFDSS Version 2
DFSMSdss Version 1
Notes:
1. (1) The DFSMSdss V1R3 without APAR OW18174, and all releases of DFDSS and DFSMSdss V1R3 cannot
restore dumps of VM-format volumes created with DFSMSdss V1R3 with APAR OW18174 or later releases
using the CPVOLUME keyword.
2. (2) DFDSS cannot restore the following data sets dumped logically by DFSMSdss:
PDSEs dumped with concurrent copy
PDSE load modules
Extended-sequential data sets
Indexed VSAM dumped with VALIDATE if the VALIDATE support is not installed
Table 16 on page 240 shows whether a dump created using one DFDSS or
DFSMSdss version can be restored using the Stand-Alone version of either DFDSS
Version 2 Release 5 or DFSMSdss Version 1.
239
Compatibility Considerations
DFSMSdss Version 1
Full
Tracks
Data Set
Full
Tracks
Data Set
Full
NO
NO
N/A
NO
NO
N/A
Tracks
NO
NO
N/A
NO
NO
N/A
NO
NO
N/A
NO
NO
N/A
Full
YES
YES
N/A
YES
YES
N/A
Tracks
NO
YES
N/A
NO
YES
N/A
NO
YES
N/A
NO
YES
N/A
NO
NO
N/A
NO
NO
N/A
Full
NO
NO
N/A
YES
YES
N/A
Tracks
NO
NO
N/A
NO
YES(1)
N/A
NO
NO
N/A
NO
YES
N/A
NO
NO
N/A
NO
NO
N/A
DFDSS Version 1
DFDSS Version 2
DFSMSdss Version 1
Note: (1) The DFSMSdss Stand-Alone Restore program cannot restore dumps of VM-format volumes created
with DFSMSdss V1R3 with APAR OW18174 or later releases using the CPVOLUME keyword.
240
Data IntegritySerialization
Volume Serialization
For volume serialization, DFSMSdss issues the RESERVE macro against the
volume to prevent direct access device storage management (DADSM) functions
(such as addition, deletion, extension, or renaming of data sets) from changing the
VTOC entries during DFSMSdss processing. The RESERVE is issued before
processing is begun on a particular volume, and released when processing is
completed, during the following operations:
Note that you can use the DFSMSdss enqueue installation exit to request that
DFSMSdss only reserve the VTOC for the duration of VTOC access during the
following operations:
Full, tracks, and physical data set DUMP
Full and tracks COPY
Copyright IBM Corp. 1984, 1999
241
Data IntegritySerialization
Tracks PRINT
For more information on this exit, refer to DFSMS/MVS Installation Exits.
In addition, DFSMSdss issues the RESERVE macro against a volume while
updating information in the VTOC, such as the RACF-defined flag and the
data-set-changed flag. DFSMSdss also issues the RESERVE macro against a
volume while accessing the information in the VTOC to perform data set selection
during the following operations:
Avoiding Lockout
Programming Interface information
When an application program attaches a DFSMSdss dump or restore task and a
task that invokes dynamic allocation to allocate a data set (for example, logical
restore operation) or invokes DADSM to scratch a data set, the two tasks could
lock each other out. To avoid this lockout, DFSMSdss uses the following ENQ
scheme:
Before DFSMSdss invokes DADSM SCRATCH, an exclusive ENQ is requested
for the resource with a major name of ADRLOCK and a minor name of the
volume serial number (padded with blanks to 8 bytes).
Before DFSMSdss invokes dynamic allocation to allocate a new data set on a
specific volume, a shared ENQ is requested for the resource with a major name
of ADRLOCK and a minor name of the volume serial number (padded with
blanks 8 bytes). If this is a nonspecific dynamic allocation request, an exclusive
ENQ with the resource with a major name of ADRLOCK and a minor name of
NONSPEC is requested.
If an application program invokes a DFSMSdss FULL dump operation and
plans on attaching another DFSMSdss logical restore task, the application
should request the first resource in exclusive mode (ADRLOCK, volser). The
application should request the second resource in shared mode (ADRLOCK,
NONSPEC) before attaching the FULL DUMP command task. Multiple dumps
can be active in the same address space, and a logical restore request will not
lock out that task.
If an application program issues a DADSM request, the application must
enqueue on ADRLOCK/volser in a shared ENQ or ADRLOCK/NONSPEC in
an exclusive ENQ.
Notes:
1. When DFSMSdss is invoked with JCL, lockout does not occur because
DFSMSdss allocates a volume before invoking DADSM. If a FULL DUMP
command has the volume enqueued and a restore task has been applied
against the same volume, the restore task is held until the volume is available.
2. Only non-SMS, non-VSAM DADSM requests require serialization.
242
Data IntegritySerialization
EnqueuingENQ
The following material describes using enqueue options for data set serialization.
Enqueues are done on the data set name for the data set copy, data set dump,
data set restore, defragment, print, compress, and release operations to prevent
multiple, simultaneous updates to the same data set.
For RESTORE and COPY commands, the SHARE option applies to non-VSAM
data sets only. For the DUMP command, the SHARE option applies to non-VSAM
data sets and VSAM data sets defined with share options other than (1,3) and
(1,4).
If SHARE is not specified by the user with a DFSMSdss command, DFSMSdss
tries to provide the highest level of data integrity by defaulting to exclusive
enqueuing. If the enqueue fails, the command is put in a wait state for X seconds,
where X is specified in WAIT(numsecs,numretries), and the enqueue is retried. If
the wait-enqueue sequence fails after Y retries, where Y is specified in
WAIT(numsecs,numretries), processing ends for the data set.
In the case of a multistep job where the initiator holds a shared enqueue on the
data set, DFSMSdss upgrades the enqueue to exclusive unless SHARE is
specified. The initiator holds the exclusive enqueue until the last step in the job that
references the data set has completed.
If you specify the SHARE keyword, DFSMSdss tries an enqueue for share. If it
fails, it goes through the same logic as if SHARE had not been specified. If the
retries all fail, processing ends for the data set.
You can specify TOLERATE(ENQFAILURE) in addition to the default, ENQ, or the
SHARE option. If TOLERATE(ENQFAILURE) is specified, DFSMSdss attempts to
get the specified level of enqueue, exclusive or share. If the enqueue fails after the
specified or default number of retries, DFSMSdss processes the data set without an
enqueue. Specify TOLERATE(ENQFAILURE) if you are willing to tolerate the
exposure of not having data integrity in order to force the successful completion of
that particular data set operation. This is particularly useful when an installation has
duplicate data sets (different data sets with the same name but on different
volumes) and you want to run DFSMSdss on a data set on one volume while the
data set with the same name is being used by the system or another job on a
different volume.
243
Data IntegritySerialization
Note: Because of ENQ contention, SYSPRINT data sets should not be allocated
on volumes being processed. TOLERATE(ENQFAILURE) cannot apply to
data movements that involve the use of utilities.
Table 17 shows the data set enqueue options.
TOLERATE(ENQFAILURE) can be used on VSAM and non-VSAM data sets.
Table 17. Data Set Enqueue Options for Non-VSAM Data Sets Specified on DFSMSdss Commands
Options
None
SHARE
TOLERATE(ENQFAILURE)
SHARE and
TOLERATE(ENQFAILURE)
Type of
enqueue
attempted
Exclusive
Share
Exclusive
Share
If enqueue is
successful
Process
Process
Process
Process
If enqueue is
not successful
Do not
process
Do not
process
Dynamic AllocationDYNALLOC
DYNALLOC is an option for the data set DUMP, data set COPY, data set
RESTORE, data set PRINT, DEFRAG, COMPRESS, and RELEASE commands. It
allows serialization of data sets across processors with shared DASD, with JES3,
and with the interface between dynamic allocation and JES3 enabled. Dynamic
allocation is used by DYNALLOC to serialize data sets. Processing time increases
because overhead is involved in dynamic allocation and serialization across
multiple processors.
If you use DYNALLOC to serialize data sets (as opposed to ENQ) the job run time
increases. If you use INDYNAM instead of DD statements to allocate DASD
volumes you do not appreciably increase run time and coding of JCL and command
input is easier.
244
Data IntegritySerialization
ENQ Names
Major Name
ENQ Names
Minor Name
ADRDSN
SYSDSN
ADRDSN
SYSDSN
ADRDSN
SYSDSN
SYSVSAM
See Note
SYSVSAM
See Note
ADRDSN
Cluster name
SYSDSN
Cluster name
SYSIGGV2
Catalog name
SYSTEMS
On the Volume
SYSVTOC
SYSTEMS
SYSZVVDS
Volume serial
number
SYS1.VVDS.
Vvolser
Input access
Output access
ENQ Scope
E
S
E
S
(see
(see
(see
(see
Note
Note
Note
Note
1)
1)
1)
1)
STEP
E
S
E
S
E
S
E
S
(see
(see
(see
(see
(see
(see
(see
(see
Note
Note
Note
Note
Note
Note
Note
Note
1)
1)
1)
1)
1)
1)
1)
1)
STEP
SYSTEM
SYSTEM
STEP
SYSTEM
E (see Note 1)
S (see Note 1)
E
SYSTEMS
E
S
E
S
STEP
(see
(see
(see
(see
Note
Note
Note
Note
1)
1)
1)
1)
SYSTEMS
SYSTEM
SYSTEMS
S
E
245
Data IntegritySerialization
ENQ Names
Minor Name
ENQ Control,
Exclusive (E)
or Share (S)
ENQ Scope
Notes:
1. If the control for the ENQs is Exclusive or Share, the SHARE keyword determines the type of control. If
SHARE is not specified, exclusive control of the data set is obtained. If SHARE is specified, shared control of
the data set is obtained.
If shared control is obtained for a VSAM data set because the SHARE keyword was specified, other programs
will be able to obtain read access, but not write access, to the data set, while it is being processed. The
SHARE keyword is honored for VSAM data sets only during dump and only for VSAM data sets that were
defined with share options other than (1,3) or (1,4).
2. If DYNALLOC is used:
For non-VSAM data sets and GDG bases, instead of ENQ, the data set is dynamically allocated automatically,
with a disposition of OLD if SHARE is not used; otherwise, SHARE is the disposition.
For VSAM data sets, in addition to the ENQ on the components, the cluster is allocated dynamically just as
for non-VSAM data sets.
3. The minor name used to ENQ VSAM components consists of:
component name
catalog name
L1
L2
L3
246
Data IntegritySerialization
list of data sets that are selected. On each pass, those data sets that can be
serialized without waiting for the resource and that were not processed before are
processed. At the end of a pass, if none of the data sets could be processed
without waiting for a resource, then, in the next pass, at the first occurrence of a
data set that was not processed a WAIT is issued.
That data set and the remainder of the list is processed if possible. The above
procedure is repeated until all data sets are processed or the WAIT limits are
reached.
For example, if WAIT(3,10) is specified and 5 data sets are left to be processed, up
to 10 passes are made. On each pass, the first unprocessed data set is waited
upon for 3 seconds. Thus, only a 30-second maximum is ever waited, not 150 (5
times 3 times 10).
For system resources, such as the VTOC and the VVDS data set, the default is
WAIT(3,30). This means DFSMSdss is to retry 30 times at 3 second intervals,
resulting in a total wait time of 90 seconds.
Table 19 (Page 1 of 2). Resource Serialization
Data Set
Type
Function
|
|
|
Volume Level
Serialization
VTOC VVDS
COMPRESS
Non-VSAM
Yes
N/A
DSName
CONVERTV
Non-VSAM
Yes
N/A
DSName
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
DSName
Component and
Cluster Names
DEFRAG
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
DSName
Component and
Cluster Names
Full DUMP
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
N/A
N/A
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
DSName
Component and
Cluster Names
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
DSName
Component Name
Tracks Print
N/A
Yes
N/A
N/A
RELEASE
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
DSName
Component and
Cluster Names
Non-VSAM
VSAM
Yes
Yes
N/A
Yes
N/A
N/A
Non-VSAM
VSAM
N/A
N/A
N/A
Yes
DSName
Component and
Cluster Names
247
Data IntegritySerialization
Volume Level
Serialization
VTOC VVDS
Notes:
1. Refer to Backup-While-Open Data Sets CICS on page 249 for more information on resource
serialization.
2. VSAM data sets must be cataloged in an integrated catalog facility catalog.
3. N/A means not applicable.
248
Data IntegritySerialization
(1)
(4)
SYSDSN
DFSMSdss
SYSVSAM
C IC S
Dump
Enqueue
(2)
(8)
(9)
(5)
C IC S
DFSMSdfp
BWODSN
A pp lic atio n
Services
Enqueue
(3)
M VS Alloc.
Services
and VSAM
(10)
(6)
BWO
DFSMSdss
In dica tors
R e s to re
(7 )
D ata Set
In Figure 7, a VSAM file-control data set (7) is allocated for CICS (1) through MVS
allocation services (3) using JCL or dynamic allocation methods. This results in
serialization through an enqueue on the name of the data set and the resource
name SYSDSN (4). When the VSAM data set is opened (3), another level of
249
Data IntegritySerialization
250
Status
Meaning to DFSMSdss
000
001
010
011
100
101
The data set has already been restored and is down-level; it must be
processed by CICSVR before being used by a data-base application
program.
110
The data set was updated and a split or extend is completed, which
invalidates any dump that was in progress. If concurrent copy is used,
the invalidation does not happen.
111
Data IntegritySerialization
Backup-While-Open Processing
When you dump a data set, the actions that DFSMSdss takes is dependent upon
the following:
The success or failure to acquire an exclusive enqueue on the resource names
of SYSDSN, SYSVSAM, and BWODSN
The backup-while-open status before the dump
The backup-while-open indicators after the dump when the data set is dumped
while it is open for update
If DFSMSdss acquires all of the exclusive enqueues, that means the data set is not
open for update, even though it has a nonzero backup-while-open status. The
processing actions are dependent upon the initial backup-while-open status:
Status is 000. The data set is dumped as a normal data set. When it is
restored, the backup-while-open status is restored as 000.
Status is 001. The data set is dumped and the backup-while-open status is
preserved and restored when the data set is subsequently restored. This data
set is in an indeterminate state because of an incomplete forward recovery by
CICSVR and cannot be forward recovered by CICSVR after it is restored.
DFSMSdss lets you dump and restore this data set for nonstandard recovery
purposes. After the data set is restored and you have finished correcting all
errors in the data set, reset the BWO status to 000 using methods provided by
CICS. The preferred action is for you to restore an earlier dump of the data set
and use CICSVR to do forward-recovery processing to ensure data integrity is
maintained.
Status is 010. The data set is dumped and the backup-while-open status is
preserved and restored when the data set is subsequently restored. You need
to determine and take appropriate corrective action before using the data set:
If alternate indexes (AIX) are present for the sphere, do either of the
following: rebuild the AIXs from the base cluster, and reset the BWO status
to 000 using methods provided by CICS; or restore an earlier dump of the
sphere, and use CICSVR to do forward-recovery processing.
If there are no AIXs, the data set is usable as-is. Reset the BWO status to
000 using methods provided by CICS.
Status is 101. The data set is dumped and the backup-while-open status is
preserved and restored when the data set is subsequently restored. This lets
you process the data set by CICSVR prior to the data set being used by a
data-base application program.
Status is 011, 100, 110, 111. The backup-while-open status is altered to 000
before the data set is dumped. When it is restored, the backup-while-open
status is restored as 000.
If DFSMSdss acquires an exclusive enqueue on BWODSN, but not SYSDSN and
SYSVSAM, that means the data set is already open or in-use by another program.
Again, the processing actions are dependent upon the initial backup-while-open
status:
Status is 000. The data set is not eligible for backup-while-open. The data set
is not dumped unless SHARE or TOLERATE(ENQFAILURE) is specified and
the necessary conditions for those keywords are met.
Appendix B. Data IntegritySerialization
251
Data IntegritySerialization
Status is 001, 010, 011, 101, or 111. The data set is not dumped.
Status is 110. The backup-while-open status is altered to 100 and the data set
is dumped (see below).
Status is 100. The data set is dumped even though it is already in-use,
including being open for update by another program. When the data set is
restored, the backup-while-open status is set to 101 so that the data set can be
processed by CICSVR prior to use by a data-base application program. The
dump is invalidated if the backup-while-open indicators change while the data
set is being dumped. This invalidation does not occur when you use concurrent
copy.
252
Data IntegritySerialization
Recovery Data
CICS maintains recovery data in the form of a date and time-stamp in the catalog
entry for backup-while-open data sets. This information is not used or processed by
DFSMSdss, but it is dumped and restored to preserve that information for CICSVR.
The recovery data is also printed in selected messages to assist you in your
recovery efforts.
Yes
Yes
No
Automatically
Attention: The user must be aware that COPY with DELETE, DUMP with
DELETE, and RESTORE with REPLACE can cause irreparable damage to an IMS
data set for the following reasons:
The enqueue serialization obtained by COPY and DUMP are insufficient to
ensure that the data set is not also being used by an IMS application in an
environment where GRS (or equivalent) is not being used.
Appendix B. Data IntegritySerialization
253
Data IntegritySerialization
COPY and DUMP do not provide any special handling for any data set defined
as BWO(TYPEIMS).
RESTORE does not provide any protection against reallocating or overwriting
any IMS data set for which RESTORE is able obtain an enqueue serialization
on SYSDSN and SYSVSAM.
254
Application Interface
Appendix C.
255
Application Interface
If you want to specify an alternate DDNAME for the SYSPRINT data set, specify
this parameter and enter the alternate DDNAME in the sixth 8-character field.
Otherwise, enter all binary zeros in the field.
If you do not want to specify subsequent parameters, you can omit them from the
list.
PAGEPTR
The pointer to the page-number list and similar to HDINGADDR described in
DFSMS/MVS Utilities. This list provides a way to specify the starting page number
for system output on the SYSPRINT data set. The page-number list is a
fixed-length 6-byte field made up of a halfword field followed by a 4-byte EBCDIC
page count, which specifies the starting page number for DFSMSdss to use for the
SYSPRINT data set. If a value is specified both here and in the OPTPTR list, this
value is used, and the OPTPTR value is ignored.
The first field, called the page-number-list length field, is a halfword field specifying
the length of the list (excluding the field itself) as a binary value. The length is
usually 4.
If you do not want to specify a starting page number, set the page-number-list
length field to binary zeros. If you want to specify a starting page number, you must
specify this parameter and a 4-character page value. If the page number is
specified (page-number-list length field is not binary zeros), DFSMSdss resets this
field to the current page number upon completion of the present invocation. If the
page number is not specified, this field is not changed by DFSMSdss.
If you do not want to specify subsequent parameters, you can omit them from the
list.
UIMPTR
The pointer to the user interaction module (UIM) list. There is no comparable
parameter described in DFSMS/MVS Utilities. This parameter provides a way to
specify the name or address of a vector-implemented exit module that is to interact
with DFSMSdss for the various I/O and data set operations. The UIM list is of
variable length and consists of a halfword field followed by a 4-byte address or
8-character left-justified (padded on the right with blanks) string field that specifies
the address of the UIM entry point or the load module name (locatable through the
normal LINKLIB structure) of the UIM. If you do not want to specify a UIM, do not
specify this parameter.
The first field, called the UIM-list length field, is a halfword field specifying the
length of the list (excluding the field itself) as a binary value. If you do not want to
specify any options, set the option-list length field to binary zeros. It specifies the
length as 4 if the address of the UIM is being passed, or as 8 if the name of the
UIM is being passed.
If you want to specify a UIM, you must specify the name or address of the UIM in
the field following the UIM-list length field. See System Programming Information
on page 259 for more details on the use of this module.
UAPTR
The pointer to the user-area list. There is no comparable parameter in
DFSMS/MVS Utilities. This parameter provides a way to specify the address of an
area to be passed to the UIM at each DFSMSdss exit point. The user-area list is of
fixed length, consisting of a halfword field called the user-area-list length field, and
a single 4-byte address that locates the user area starting address.
256
Application Interface
If you use the user area, the length must be set to 4 and the address of the user
area must be specified in second field.
ASIDPTR
The pointer to the address-space-identifier list. There is no comparable parameter
described in DFSMS/MVS Utilities. This optional parameter, which is applicable
only when you use ADRXMAIA instead of ADRDSSU, lets you specify an identifier
for the address space that ADRXMAIA uses for the DFSMSdss program. The
address-space-identifier list is of fixed length, consisting of a halfword field and a
single 8-byte character field. The default value is DFSMSDSS.
The first field, called the address-space-identifier list length field, is a halfword field
specifying the length (0 to 8) of the list (excluding the field itself) as a binary value.
The second field, called the address-space identifier, contains an 8-character,
left-justified (padded on the right with blanks) string that is used to identify the
address space for DFSMSdss.
PARAM
On the ATTACH and LINK macros, the keyword with which you specify the names
of the pointers that are passed to DFSMSdss
VL
Indicates that the list is variable length. Both the ATTACH and LINK macros
require specifying VL=1.
L e n g th
R E G 1
o p t io n s
O P TP TR
X
D D P TR
'0 0 3 0 '
PA G E P TR
U IM P T R
U A P TR
'0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '
'0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '
'0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '
'0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '
'S Y S I N '
'S Y S P R I N T '
A S ID P T R
L e n g th
Id e n tifie r
X
X
'0 0 0 4 '
'0 0 0 4 '
a d d re s s
C 'N N N N '
A D R 1 S R 0 7
le n g th
C 'M O D U L E - N A M E '
o r
a d d re s s
Appendix C.
257
Application Interface
User Interactions
For user interactions to take place, the Application Interface must invoke
DFSMSdss by using the name of the user interaction module (UIM) exit routine
supplied to DFSMSdss. DFSMSdss can be invoked by any of the following system
macros:
ATTACH EP=ADRDSSU,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL=1
LINK EP=ADRDSSU,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL=1
CALL (15),(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL
Optionally, to use the DFSMSdss Cross Memory Application Interface use one
of the following system macros:
ATTACH EP=ADRXMAIA,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL=1
LINK EP=ADRXMAIA,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL=1
CALL (15),(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR),VL
Optionally, to use the DFSMSdss Cross Memory Application Interface and
specify an 8-character Address Space name, use one of the following system
macros:
ATTACH EP=ADRXMAIA,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR,ASNPTR),VL=1
LINK EP=ADRXMAIA,PARAM=(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR,ASNPTR),VL=1
CALL (15),(OPTPTR,DDPTR,PAGEPTR,UIMPTR,UAPTR,ASNPTR),VL
As shown in Figure 8 on page 257, a pointer to the UIM exit is passed in the
parameter list (UIMPTR). User interactions involve:
Record management
Controlling processing of data sets
Gathering statistics on DFSMSdss operations
See Appendix D, Examples of the Application Program with the User Interaction
Module (UIM) on page 287 for an explanation of the various UIM exits.
When a UIM exit routine is specified, DFSMSdss processes normally, then at each
point in the process (DFSMSdss exit points), the UIM exit routine is called
conditionally to allow some types of user operations.
If a DFSMSdss subtask abnormally ends for any reason, it cannot make any further
calls to the UIM, including the function ending call.
Notes:
1. DFSMSdss runs as an authorized problem program.
2. Any program invoking DFSMSdss must also be authorized and in a
nonsupervisor state.
3. ADRXMAIA is the name of the DFSMSdss Cross-Memory Application Interface
module main entry point. Use ADRXMAIA instead of ADRDSSU when
DFSMSdss functions are to be executed in a specific address space.
4. ADRXMAIA runs as an authorized program and supports both supervisor-state
callers and problem-state callers.
258
Application Interface
REG 1
Length
Interface Pointer
ADR1SR08
The parameter structure described in Figure 8 on page 257 can be viewed in block
form as shown in Figure 9.
Appendix C.
259
Application Interface
260
Application Interface
codes. The return codes that are allowed at any given exit call are specified in
the EIXALLOW field.
The meaning of each return code for those exits presenting records to the
UIM (Eioptions 1 to 26) is:
0
The record was replaced by the exit. The new record must be
placed in the area pointed to by the original record pointer field and
its length stored in the original record length field.
12
16
The record was modified by the exit. This return code is the only
one allowing the original record to be altered and then to be
processed by DFSMSdss. Any changes made to the record must be
logically correct because DFSMSdss cannot assure the validity of
these changes.
Notes:
1. You cannot change the record length when you modify the
record (as contrasted with reason code 4).
2. If the record being processed is the installation options record
(ADRUFO) and any values have been changed, return code 16
must be returned or the changes are ignored.
20
24
28
32
Appendix C.
261
Application Interface
The meaning of each return code for those exits controlling data set
processing (Eioptions 21, 22, 23, and 26) is:
0
16
20
32
36
Record Area Length A fullword binary field that is supplied by DFSMSdss. The
number contained in this field represents the total length of the area in which
the original record is stored. The number can be used by the UIM to verify
that replacement and inserted records fit in the provided buffer area pointed to
by the original record pointer field.
Original Record Length A fullword binary field that is supplied by DFSMSdss but
can be changed by the UIM. The number contained in this field represents the
total length of the record pointed to by the original record pointer. The length
includes just the length of the record pointed to by the original record pointer
field and does not include the length of this field itself. The value of this field
is zero when the UIM is called to supply in-storage SYSIN data.
Original Record Pointer A fullword address field that is supplied by DFSMSdss
but can be changed by the UIM. This field contains the address of the record
being passed to the UIM on this call. This address normally is not changed by
the exit unless an insertion is being used. Refer to the proper return code
descriptions for the effect on this field. The value of this field is zero when the
UIM is called to supply in-storage SYSIN data. The location of the original
record, above or below the 16-megabyte (MB) virtual storage line, is
controlled by using the installation options exit. If this record is to be above
16MB, the UIM has to run in 31-bit addressing mode in order to address the
record.
262
Application Interface
User Area Pointer A fullword address field that is supplied by the application
program and is maintained by DFSMSdss. This field contains the address of
the user data/work area that was supplied by the application program as a
communications area for UIM internal process controls. DFSMSdss saves this
pointer and supplies it in the EIUSEPTR field of the exit identification block on
each call to the UIM. If any UIM exit changes the user area pointer,
DFSMSdss presents the updated pointer on subsequent calls to the UIM.
Each DFSMSdss functional task keeps its own copy of the user area pointer.
If the pointer is changed by the UIM for one task, it is not changed for any
other task. At the beginning of each task, the user area pointer is the one
passed to DFSMSdss by the application program.
DDNAME/VOLID Pointer A fullword address field supplied by DFSMSdss. It
contains the address of an area containing the DDNAME of the output dump
data set, left-justified in an 8-byte area, followed by a 6-byte area containing
the volume serial number of the volume containing the dump data set, also
left-justified. This pointer is valid only for the full-volume dump exit, EIOP06.
If you use the DFSMSdss Cross Memory Application Interface to DUMP and
RESTORE HFS type data sets, you must define a DFSMSDSS user ID in order for
the DFSMSdss SERVER address spaces to be able to access the HFS data sets.
The DFSMSDSS user ID must be set up for the OpenEdition MVS access as
follows:
|
|
The default group for the DFSMSDSS user ID must have an OMVS segment
defined and a group ID associated with it.
Appendix C.
263
Application Interface
|
|
JOBCAT and STEPCAT are not supported when performing DFSMSdss functions
in a SERVER address space.
20
Inhibit all UIM calls Not valid when EITSKID is zero and either
UFSYSIN or UFSYSPR was set in the installation options exit, or
EITSKID is nonzero and either UFNOIN or UFNOOUT was set in the
installation options exit.
End of Programming Interface information
32
End processing. Only valid for a full dump and a full restore operation.
264
Application Interface
20
Disconnect exit
Notes:
1. When DFSMSdss is printing a page header record, you can only modify or
delete the record.
|
|
|
|
|
|
|
|
|
|
|
Insert record Only valid when UFNOIN is set in the installation options
exit
End of Programming Interface information
Programming Interface information
Appendix C.
265
Application Interface
20
32
End function
Note: If code 24 is returned, DFSMSdss only calls this exit point when
DFSMSdss processes user statistics records.
12
20
266
Application Interface
32
End function.
Appendix C.
267
Application Interface
268
Application Interface
269
Application Interface
270
Application Interface
UIM attempts to end processing for the AIX again, DFSMSdss issues
warning message ADR770W and ignores the request. If the user does not
specify the SPHERE keyword, AIXs can be ended even if they are related
to base clusters selected for processing. Ending a base cluster without
the SPHERE keyword does not cause any related AIXs to be ended.
Note: See the Note for Eioptions 21, 22, 23 on page 275.
271
Application Interface
272
Application Interface
20
32
If the UIM exit sets the return code to EIRC16 but fails to turn on any of
the bypass verification indicators, DFSMSdss ignores all bypass options
and performs normally. If the UIM exit sets the return code to EIRC16 for
a VSAM data set and turns on the tolerate-migrated-volser indicator,
DFSMSdss does not treat it as an error condition and ignores the
tolerate-migrated-volser indicator.
Disconnect exit
End function
Appendix C.
273
Application Interface
36
Note: See the Note for Eioptions 21, 22, 23 on page 275.
0
4
8
12
16
274
Application Interface
Note for Eioptions 21, 22, 23: If Eioptions 21, 22, and 23 end the function (UIM
passes back a return code 32 to DFSMSdss) during data set copy
operation, DFSMSdss can be processing more than one data set at the
time. This can happen if utilities are needed to process some of the data
sets. DFSMSdss does the following before ending:
No unprocessed data sets are scheduled for processing.
All data sets in utility processing are allowed to complete normally.
No new calls are made to exits 21, 22, or 23. This includes data sets in utility
processing that are allowed to complete.
Spheres that are being processed because of the SPHERE keyword and that
are not complete at the end of the function have the target parts deleted to
preserve sphere integrity. Preallocated spheres are left partially copied.
Spheres being processed without the SPHERE keyword or individual sphere
components being copied are left partially completed.
275
Application Interface
DFSMSdss does not call the UIM with this option code if the CONCURRENT
keyword is not specified. DFSMSdss provides the UIM with information through the
EIREC24 structure within the Exit Identification Block, ADREIB (in the ADREID0
macro).
DFSMSdss provides the UIM with the following information:
A return code indicating whether or not the concurrent copy session
initialization succeeded:
0
4
A reason code providing further details about the status of the concurrent
copy session initialization (always valid, even for a zero return code):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0
4
8
12
16
20
24
28
32
36
The volume serial of the volume on which the concurrent copy initialization
was attempted (valid only if the reason code is not 16).
The name of the data set on which the concurrent copy initialization was
attempted (valid only if a logical data set operation is being performed).
A flag indicating whether or not DFSMSdss has reset the data-set-changed
flag in the VTOC for the data set (valid only if a logical data set dump
operation is being performed).
The UIM returns to DFSMSdss with a return code in the Exit Identification Block.
DFSMSdss continues to process based on that return code, as follows:
00
20
32
Error handling is the same as described under User Return Code on page 260.
276
Application Interface
More information about the Exit 26 record can be found Dump Volume Output
Notification (Eioption 26).
Avoiding Lockout
Refer to Avoiding Lockout on page 242 for a description of the ENQ scheme to
prevent lockout.
Appendix C.
277
Application Interface
If a record is being returned that is shorter than the original record, the exit can
supply an area and store the address to the record in the original record pointer
field or, if allowed, can replace the original record with the shorter one. In either
case, the length of the new record must be placed in the original record length field.
If the new area option was used, return code 4 must be used. If the new record
overlaid the original, return code 16 must be used. Table 21 on page 278
describes the data area corresponding to the DFSMSdss exit identification block.
For Data Set Processing, Eioptions 21, 22, and 23 are three exits that give you
added control over data set processing during a logical data set copy, dump, and
restore operations. These exits are called immediately before and immediately after
processing each data set, on a data set by data set basis, and allow you to make a
number of processing changes.
Eioptions 21 and 22 are called, one after the other, at the start of processing of
each data set. DFSMSdss passes each exit the name of the data set being
processed. Based on that name, each exit lets you:
End processing of just that data set (return code 36)
End processing of the whole functional task (return code 32)
Disconnect the exit so that it is no longer called prior to subsequent data sets
being processed by that task (return code 20)
Do nothing (return code 0).
Eioptions 22 only: Modify how the data set is to be processed (return code 16).
See Bypass Verification Exit (Eioption 22) on page 271 for details.
Eioption 23 is called immediately after a data set is processed and lets you end
processing of the data set, end processing of the task, disconnect the exit, or do
nothing.
278
Dec
Hex
Type
Len
Name (Dim)
Description
0
0
2
6
10
10
(0)
(0)
(2)
(6)
(A)
(A)
42
2
4
4
4
1
11
(B)
12
12
13
(C)
(C)
(D)
14
16
(E)
(10)
STRUCTURE
SIGNED
CHARACTER
SIGNED
BITSTRING
BITSTRING
1... ....
.1.. ....
..1. ....
...1 ....
.... 1...
.... .1..
.... ..1.
.... ...1
BITSTRING
1... ....
.111 1111
BITSTRING
BITSTRING
BITSTRING
1... ....
.111 1111
SIGNED
SIGNED
ADREIB
EIDLLEN
EIID
EITSKID
EIXALLOW
EIXALOW0
EIXREP
EIXINS
EIXDEL
EIXMOD
EIXDIS
EIXWTOR
EIXSTAT
EIXTERM
EIXALOW1
EIXTDSET
*
EIXALOW2
*
EIXALOW3
EIXERR
*
EIOPTION
EIRETCOD
LENGTH OF ADREIB - 2
BLOCK IDENTIFIER EBCDIC "EIDB"
TASK ID NUMBER
USER EXIT ALLOWANCE OPTIONS
ALLOWANCE OPTION BYTE 1
ALLOW REPLACE OF RECORD
ALLOW INSERTION OF RECORD
ALLOW DELETION OF RECORD
ALLOW MODIFICATION OF RECORD
ALLOW DISCONNECT OF EXIT
ALLOW WTOR RESPONSE
ALLOW SELECTION OF USER STATS
ALLOW FUNCTION TERMINATION
ALLOWANCE OPTION BYTE 2
ALLOW DATA SET TERMINATION
UNUSED
ALLOWANCE OPTION BYTE 3
RESERVED
ALLOWANCE OPTION BYTE 4
DISALLOWED OPTION ATTEMPTED
RESERVED
PROCESSING OPTION
EXIT RETURN CODE
1
1
1
2
2
Application Interface
Hex
Type
Len
Name (Dim)
Description
18
22
26
30
34
38
38
(12)
(16)
(1A)
(1E)
(22)
(26)
(26)
SIGNED
SIGNED
ADDRESS
ADDRESS
ADDRESS
BITSTRING
BITSTRING
1... ....
4
4
4
4
4
4
1
EIRECALN
EIRECLEN
EIRECPTR
EIUSEPTR
EIDDID
EIXFLAGS
EIXFLAG0
EIXABEND
39
(27)
40
40
41
41
42
(28)
(28)
(29)
(29)
(2A)
.1.. ....
EIXNTERR
..1. ....
EIXWNGOK
...1 ....
.... 1111
BITSTRING
1... ....
.1.. ....
..1. ....
...1 ....
.... 1...
.... .1..
.... ..11
BITSTRING
BITSTRING
BITSTRING
BITSTRING
CHARACTER
1
1
1
1
EIXTRKER
*
EIXFLAG1
*
*
EIXTDUMS
EIXTDUMT
EIXTISXM
EIXDASYS
*
EIXFLAG2
*
EIXFLAG3
*
*
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 6 AND POINTED TO BY EIDDID.
0
(0)
STRUCTURE
0
(0)
CHARACTER
8
(8)
CHARACTER
14
(E)
UNSIGNED
15
(F)
UNSIGNED
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 00
0
0
1
16
8
6
1
1
(FUNCTION
EIDDINFO
EIDDNAME
EIVOLID
EIRETC
*
STARTUP).
(0)
(0)
(1)
UIM-06 INFO
O/P DEVICE DDNAME
O/P VOLSER
RESERVED FOR RETCODE
RESERVED FOR FLAGS
STRUCTURE
16
EIREC00
UNSIGNED
1
EI00SBPL
BITSTRING
1
EI00FLGS
1... ....
EI00SENQ
.1.. ....
EI00NONF
..11 1111
*
2
(2)
CHARACTER
14
*
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 14: DSS MESSAGE NUMBER ASSOCIATED
0
0
4
4
7
8
(0)
STRUCTURE
16
EIREC14
(0)
CHARACTER
4
EI14RC
(4)
CHARACTER
4
EI14MESS
(4)
CHARACTER
3
EI14MNUM
(7)
CHARACTER
1
EI14MTYP
(8)
CHARACTER
8
EI14CPUT
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 20: VOLUME NOTIFICATION EXIT.
0
0
44
(0)
(0)
(2C)
STRUCTURE
CHARACTER
BITSTRING
1... ....
56
44
1
EIREC20
EI20DSN
EI20FLGS
EI20VSAM
(0)
(0)
STRUCTURE
CHARACTER
44
44
EI20DSI
EI20CON
EI20NVOL
*
EI20VLI
EI20VOL
*
EI20RBA
VERIFICATION EXIT.
EIREC21
EI21DSN
Appendix C.
279
Application Interface
Hex
Type
Len
Name (Dim)
Description
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 22: BYPASS VERIFICATION EXIT.
0
0
44
(0)
(0)
(2C)
45
45
46
48
(2D)
(2D)
(2E)
(30)
49
(31)
50
(32)
STRUCTURE
CHARACTER
BITSTRING
1... ....
.1.. ....
102
44
1
..1. ....
EI22BMIG
...1 ....
.... 1...
EI22NSYS
EI22LIKE
.... .1..
EI22EXTR
.... ..1.
.... ...1
CHARACTER
CHARACTER
CHARACTER
BITSTRING
1... ....
.1.. ....
..1. ....
...1 ....
.... 1...
.... .1..
.... ..1.
.... ...1
1... ....
.1.. ....
..11 1111
BITSTRING
1... ....
.1.. ....
..1. ....
...1 ....
5
1
2
2
.... 1...
.... .1..
.... ..1.
EI22SIRS
*
EI22SFLG
E22SSMSF
E22SDSRG
E22SVFLG
E22SESDS
E22SKSDS
E22SKRDS
E22SLDS
E22SRRDS
E22SPSSI
E22SVVDS
E22SBCS
E22SAIX
E22SVRRD
*
EI22FLG2
EI22RSET
EI22SSYS
EI22RRB
EI22LINF
EI22BWOP
EI22IMS
EI22BWOE
.... ...1
CHARACTER
1
CHARACTER
26
BITSTRING
1
1111 ....
.... 1111
79
(4F)
CHARACTER
23
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 23: DATA SET
280
EIREC22
EI22DSN
EI22FLGS
EI22BSER
EI22BSEC
*
EI22LPRM
EI22LSID
EI22FLG3
EI22BWOA
*
*
PROCESSED
51
52
78
(33)
(34)
(4E)
0
0
(0)
(0)
STRUCTURE
CHARACTER
*
141
EIREC23
EI23CNST
0
44
88
90
90
91
93
(0)
(2C)
(58)
(5A)
(5A)
(5B)
(5D)
CHARACTER
CHARACTER
SIGNED
CHARACTER
CHARACTER
CHARACTER
BITSTRING
1... ....
.1.. ....
..1. ....
...1 ....
.... 1...
.... .1..
44
44
2
5
1
2
2
EI23DSN
EI23NEWN
EI23DSRC
EI23SFLG
E23SSMSF
E23SDSRG
E23SVFLG
E23SESDS
E23SKSDS
E23SKRDS
E23SLDS
E23SRRDS
E23SPSSI
94
(5E)
95
95
96
98
(5F)
(5F)
(60)
(62)
.... ..1.
.... ...1
1... ....
.1.. ....
..1. ....
...1 ....
.... 1111
CHARACTER
CHARACTER
CHARACTER
BITSTRING
1... ....
.1.. ....
..1. ....
5
1
2
2
E23SVVDS
E23SBCS
E23SAIX
E23BCSEL
E23SVRRD
EI23RRB
*
EI23TFLG
E23TSMSF
E23TDSRG
E23TVFLG
E23TESDS
E23TKSDS
E23TKRDS
Application Interface
Hex
Type
Len
...1 ....
.... 1...
.... .1..
Name (Dim)
Description
(0)
(0)
(2)
(4)
(8)
(E)
(3A)
0
0
(0)
(0)
0
4
68
69
72
E23TLDS
E23TRRDS
E23TPSSI
STRUCTURE
83
EIREC24
UNSIGNED
2
EI24RTCD
RETURN CODE
UNSIGNED
2
EI24RSCD
REASON CODE
UNSIGNED
4
*
RESERVED
CHARACTER
6
EI24VOL
VOLUME SERIAL
CHARACTER
44
EI24DSN
DATA SET NAME
BITSTRING
1
EI24FLGS
FLAGS
1... ....
EI24RSET
DS CHANGE FLAG RESET
.111 1111
*
UNUSED
59
(3B)
CHARACTER
24
*
AVAILABLE
Note: THE FOLLOWING MAPS THE RECORD PRESENTED BY EXIT 26: DUMP OUTPUT VOLUME MOUNT NOTIFICATION EXIT.
128
4
(0)
(4)
(44)
(45)
(48)
STRUCTURE
BITSTRING
1... ....
.1.. ....
..1. ....
...1 1111
BITSTRING
CHARACTER
UNSIGNED
UNSIGNED
CHARACTER
3
64
1
3
8
EIREC26
EI26TYPE
EI26VOL
EI26TERM
EI26R0CE
*
*
EI26DSN
EI26DSNL
*
EI26DDN
80
(50)
CHARACTER
EI26VSER
86
88
92
(56)
(58)
(5C)
CHARACTER
UNSIGNED
ADDRESS
2
4
36
*
EI26VTRC
*
Appendix C.
EXIT TYPE
OUTPUT VOLUME NOTIFICATION
OUTPUT VOLUME TERMINATED
BWO R0 COUNT ERROR
UNUSED
RESERVED FOR EXPANSION
DSNAME IF EI26ROCE = '1'B
LENGTH OF DSNAME
RESERVED FOR ALIGNMENT
OUTPUT DDNAME IF EI26VOL OR EI26TERM
SET
VOLSER - PRESENT IF EI26VOL OR EI26TERM
SET
RESERVED FOR ALIGNMENT
VOLUME TERMINATION RETURN
RESERVED FOR EXPANSION
281
Application Interface
Constants
Len
Type
Value
Name
Description
CHARACTER
EIDB
ADREIBID
BLOCK IDENTIFIER
DECIMAL
EIRC00
DECIMAL
EIRC04
RECORD REPLACED
DECIMAL
EIRC08
INSERT RECORD
DECIMAL
12
EIRC12
DELETE RECORD
DECIMAL
16
EIRC16
RECORD MODIFIED
DECIMAL
20
EIRC20
DISCONNECT EXIT
DECIMAL
24
EIRC24
DECIMAL
28
EIRC28
WTOR RESPONSE
DECIMAL
32
EIRC32
TERMINATE FUNCTION
DECIMAL
36
EIRC36
DECIMAL
EIOP00
DECIMAL
EIOP01
DECIMAL
EIOP02
DECIMAL
EIOP03
DECIMAL
EIOP04
DECIMAL
EIOP05
DECIMAL
EIOP06
DECIMAL
EIOP07
DECIMAL
EIOP08
DECIMAL
EIOP09
DECIMAL
10
EIOP10
DECIMAL
11
EIOP11
DECIMAL
12
EIOP12
DECIMAL
13
EIOP13
DECIMAL
14
EIOP14
FUNCTION TERMINATION
DECIMAL
15
EIOP15
DECIMAL
16
EIOP16
DECIMAL
17
EIOP17
TAPE MOUNT(NON-SPEC)
DECIMAL
18
EIOP18
DECIMAL
19
EIOP19
DECIMAL
20
EIOP20
VOLUME NOTIFICATION
DECIMAL
21
EIOP21
DSET VERIFICATION
DECIMAL
22
EIOP22
BYPASS VERIFICATION
DECIMAL
23
EIOP23
DS PROC NOTIFICATION
DECIMAL
708
VOLSLST
DECIMAL
24
EIOP24
CC INIT DONE
DECIMAL
25
EIOP25
BACKSPACE TAPEIN
DECIMAL
26
EIOP26
DECIMAL
48
EXITRECL
DECIMAL
42
EIDBLEN
LENGTH OF BLOCK
Cross Reference
Name
ADREIB
EIDDID
EIDDINFO
EIDDNAME
EIDLLEN
EIID
EIOPTION
EIRECALN
EIRECLEN
EIRECPTR
EIREC00
EIREC14
EIREC20
282
0
22
0
0
0
2
E
12
16
1A
0
0
0
1
2
1
2
2
2
2
2
2
2
1
1
1
Name
EIREC21
EIREC22
EIREC23
EIREC24
EIREC26
EIRETC
EIRETCOD
EITSKID
EIUSEPTR
EIVOLID
EIXABEND
EIXALLOW
EIXALOW0
80
1
1
1
1
1
2
2
2
2
2
4
2
3
Application Interface
Name
EIXALOW1
EIXALOW2
EIXALOW3
EIXDASYS
EIXDEL
EIXDIS
EIXERR
EIXFLAGS
EIXFLAG0
EIXFLAG1
EIXFLAG2
EIXFLAG3
EIXINS
EIXMOD
EIXNTERR
EIXREP
EIXSTAT
EIXTDSET
EIXTDUMS
EIXTDUMT
EIXTERM
EIXTISXM
EIXTRKER
EIXWNGOK
EIXWTOR
EI00SBPL
EI14CPUT
EI14MESS
EI14MNUM
EI14MTYP
EI14RC
EI20CON
EI20DA#
EI20DA@
EI20DSI
EI20DSN
EI20FLGS
EI20IX#
EI20IX@
EI20NVOL
EI20RACF
EI20RBA
EI20VLI
EI20VOL
EI20VSAM
EI21DSN
EI22BMIG
EI22BSEC
EI22BSER
EI22BWOA
EI22BWOE
EI22BWOP
EI22DSN
EI22EXTR
EI22FLGS
EI22FLG2
EI22FLG3
EI22IMS
EI22LIKE
EI22LINF
EI22LPRM
EI22LSID
EI22NSYS
EI22RRB
EI22RSET
EI22SFLG
EI22SIRS
EI22SSYS
EI23CNST
EI23DNAM
EI23DSN
EI23DSRC
EI23GMT
EI23LOC
EI23NEWN
04
20
08
80
40
10
40
80
02
80
20
10
01
08
10
20
04
40
80
20
40
80
F0
02
08
04
04
08
10
10
20
80
02
40
3
3
3
4
4
4
4
2
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
2
2
2
3
3
2
2
2
2
1
2
2
2
2
2
3
3
2
3
3
2
3
3
3
3
3
3
2
3
2
2
2
3
3
3
2
2
3
3
3
2
3
3
2
3
3
3
4
4
3
Name
EI23RLST
EI23RRB
EI23SFLG
EI23TFLG
EI23VOL#
EI23VSER
EI24DSN
EI24FLGS
EI24RSCD
EI24RSET
EI24RTCD
EI24VOL
EI26DDN
EI26DSNL
EI26DSNP
EI26R0CE
EI26TERM
EI26TYPE
EI26VOL
EI26VSER
EI26VTRC
EI26VTRS
E22SAIX
E22SBCS
E22SDSRG
E22SESDS
E22SKRDS
E22SKSDS
E22SLDS
E22SPSSI
E22SRRDS
E22SSMSF
E22SVFLG
E22SVRRD
E22SVVDS
E23BCSEL
E23BPDS
E23BSET
E23BYTES
E23FLGS
E23SAIX
E23SBCS
E23SDSRG
E23SESDS
E23SKRDS
E23SKSDS
E23SLDS
E23SPSSI
E23SRRDS
E23SSMSF
E23SVFLG
E23SVRRD
E23SVVDS
E23TAIX
E23TBCS
E23TDSRG
E23TESDS
E23TKRDS
E23TKSDS
E23TLDS
E23TPSSI
E23TRRDS
E23TSMSF
E23TVFLG
E23TVRRD
E23TVVDS
Appendix C.
64
5E
5A
5F
8C
8D
E
3A
2
3A
0
8
C
8
4
0
0
0
0
14
1C
24
31
30
2E
30
30
30
30
30
30
2D
30
31
30
5E
7C
7C
74
7C
5E
5D
5B
5D
5D
5D
5D
5D
5D
5A
5D
5E
5D
63
62
60
62
62
62
62
62
62
5F
62
63
62
10
80
20
40
80
80
01
80
20
40
10
04
08
40
02
40
40
80
80
01
80
20
40
10
04
08
20
02
80
01
80
20
40
10
04
08
40
02
3
5
3
3
3
2
2
2
2
3
2
2
2
2
2
3
3
2
3
2
2
2
4
4
3
4
4
4
4
4
4
3
3
4
4
5
4
4
3
3
5
5
4
5
5
5
5
5
5
4
4
5
5
5
5
4
5
5
5
5
5
5
4
4
5
5
283
Application Interface
284
Application Interface
Byte 1
Byte 2
Byte 3
=
=
=
=
=
Release
Release
Release
Release
Release
1
2
3
4
5
Feature Flags:
Bit 0, when set to 1, means DFSMSDSS cross-memory
Application Programming Interface support for concurrent copy
is available.
Bits 17 are reserved.
Bytes 13 Reserved.
Appendix C.
285
Application Interface
286
UIM
Application
ADRDSSU
Program
Calls
C a lls U IM
DFDSS
E x it F u n c t i o n s
Re a d S ysin E xit
W ri t e L o g ic a l Ta p e E x it
ADRXMAIA
ADR1SR03
F u n c t i o n Te r m i n a t i o n E x i t
287
UIM
//APIJOB
JOB accounting information,REGION=nnnnK
//APISTEP EXEC PGM=USRAIPGM
//STEPLIB DD
DSN=D7R.TEMPFIX.LINKLIB,DISP=SHR
//SYSPRINT DD
SYSOUT=\
//DASD
DD
UNIT=SYSDA,VOL=SER=D8F4,DISP=OLD
//TAPE
DD
UNIT=SYSDA,VOL=SER=D8H6,DISP=(NEW,CATLG),
//
SPACE=(TRK,(1,1)),DSN=PUBEXMP.TDS.DUMP
//MYDATA
DD
\
EOJ
/\
Figure 11. JCL to Invoke an Application Program That Invokes DFSMSdss
288
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\
\
\ Module Name
= USRAIPGM
\
\
\
\ Descriptive Name = DFSMSdss Application Interface Program Example \
\
\
\ Function
= Invoke DFSMSdss supplying alternate UIM: USRUIM \
\
or
\
\
= Invoke DFSMSdss Cross Memory Application
\
\
Interface UIM: USRUIM
\
\
\
\
Operation
= Place SYSIN records in the user area. The UIM \
\
will pass these records to DFSMSdss.
\
\
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
USRAIPGM CSECT
USRAIPGM AMODE 31
USRAIPGM RMODE ANY
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Standard entry linkage
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
STM
14,12,12(13)
BALR 12,
USING \,12
LA
3,SAVEAREA
ST
3,8(13)
ST
13,4(3)
LR
13,3
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Load and call DFSMSdss
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
LOAD EP=ADRDSSU
LR
15,
LA
3,USERAREA
ST
3,UA@
CALL (15),(OPTPTR,DDNPTR,PAGEPTR,UIMPTR,UAPTR),VL
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Load and call DFSMSdss Cross Memory Application Interface
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\
LOAD EP=ADRXMAIA
\
LR
15,
\
LA
3,USERAREA
\
ST
3,UA@
\
CALL (15),(OPTPTR,DDNPTR,PAGEPTR,UIMPTR,UAPTR,ASNPTR),VL
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Standard exit linkage
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
L
13,4(13)
RETURN (14,12),,RC=(15)
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Option area (same format as EXEC parameters)
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
CNOP 2,4
OPTPTR
DC
AL2(OPTLEN)
OPTIONS DC
C'SIZE=496K,TRACE=YES'
OPTLEN
EQU
\-OPTIONS
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
289
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ DDNAME area (SYSIN is replaced by MYDATA)
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
CNOP 2,4
DDNPTR
DC
AL2(DDNLEN)
DDNAMES DC
XL8''
DC
XL8''
DC
XL8''
DC
XL8''
DC
CL8'MYDATA'
DC
CL8'SYSPRINT'
DDNLEN
EQU
\-DDNAMES
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Page number area (first page will be 1)
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
CNOP 2,4
PAGEPTR DC
AL2(PAGELEN)
PAGENO
DC
CL4'1'
PAGELEN EQU
\-PAGEPTR
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ User Interaction Module area (UIM is called USRUIM)
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
CNOP 2,4
UIMPTR
DC
AL2(UIMLEN)
UIM
DC
CL8'USRUIM'
UIMLEN
EQU
\-UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ User area pointer area
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
CNOP 2,4
UAPTR
DC
AL2(UALEN)
UA@
DS
A
UALEN
EQU
\-UA@
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ User area
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
USERAREA DC
AL1(COM1)
Length of first command
DC
C' WTO 'USRAIPGM INVOKING DFSMSdss'
COM1
EQU
\-USERAREA-1
SECNDCOM DC
AL1(COM2)
Length of first command
DC
C' DUMP DS(EXC(SYS1.\\)) LOGINDD(DASD) OUTDD(TAPE)'
COM2
EQU
\-SECNDCOM-1
THIRDCOM DC
AL1(COM3)
Length of third command
DC
C'
IF LASTCC= -'
COM3
EQU
\-THIRDCOM-1
FOURCOM DC
AL1(COM4)
Length of fourth command
DC
C'
THEN DEFRAG DDN(DASD)'
COM4
EQU
\-FOURCOM-1
ENDCOMM DC
X''
End of command flag
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Register save area
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
SAVEAREA DS
18F
\
END
290
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\
\
\ Module Name
= USRUIM
\
\
\
\ Descriptive Name = DFSMSdss User Interaction Module Example
\
\
\
\ Function
= Perform various functions at different exit
\
\
points.
\
\
\
\
Exit Point
Operation
\
\
------------------------------------------------\
\
291
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Save Registers and Establish Addressability.
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
USING \,15
Initial Addressability
STM
14,12,12(13)
Save regs
BALR 12,
New base addressability
USING \,12
DROP 15
B
BEGIN
DC
CL16'CSECT - USRUIM'
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Establish Addressability to EIDB
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
BEGIN
LR
15,13
Save caller SA pointer
LA
13,SAVEAREA
Set my SA pointer
ST
15,SAVEAREA+4
Backward Chain
ST
13,8(15)
Forward Chain
USING ADREIB,EIDBASE
Addressability to EIDB
L
EIDBASE,(,1)
Address of EIDB
LH
OPTION,EIOPTION
Get DFSMSdss processing option
SLL
OPTION,2
Multiply times four
LA
15,VECTABLE
Point to vector table start
L
15,(OPTION,15)
Point to processor routine
BALR 14,15
Go to processor routine
L
13,SAVEAREA+4
Restore SA pointer
RETURN (14,12)
Return to DFSMSdss
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Processing Routines
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT: Function Startup
\
\
Initialize counters for tape and dasd accounting.
\
\
Insert message identifying task into table
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT XC
RTBCNT,RTBCNT
Init Tape Blocks Read
XC
WTBCNT,WTBCNT
Init Tape Blocks Written
XC
RLTBCNT,RLTBCNT
Init Log Tape Blocks Read
XC
WLTBCNT,WLTBCNT
Init Log Tape Blocks Written
XC
RDTCNT,RDTCNT
Init Disk Tracks Read
XC
WDTCNT,WDTCNT
Init Disk Tracks Written
ICM
WORKREG,15,EITSKID
Get current task identifier
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK OPTTSK(2),CVDWORK+6(2) Unpack into message insert
OI
OPTTSK+1,X'F'
Make last character printable
L
MSGOFF,MSGCOUNT
Get current MSGCOUNT
MH
MSGOFF,MSGLEN
Multiply by MSGLEN to get
LA
WORKREG,MSGTABLE
offset into message table
LA
TEMPBASE,(MSGOFF,WORKREG)
USING TABLEMAP,TEMPBASE
MVC
TABENTRY(133),OPTMSG Move into msgtable
DROP TEMPBASE
L
WORKREG,MSGCOUNT
Increment MSGCOUNT
LA
WORKREG,1(WORKREG)
ST
WORKREG,MSGCOUNT
Save new count
LH
RC,EIRC
Set normal process retcode
Figure 13 (Part 2 of 13). User Interaction Module Example
292
UIM
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT1: Read SYSIN Record
\
\
Get SYSIN records from the user area and give them to DFSMSdss \
\
using the Insert Record return code.
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT1 TM
SYSINFL,SYSIFRST
Q. First entry to SYSIN exit?
BO
NXTSYS
A. No, get next input
OI
SYSINFL,SYSIFRST
Indicate first time taken
ICM
TEMPBASE,15,EIUSEPTR
Get address of UA
ST
TEMPBASE,CURCOMM
Save pointer to first record
NXTSYS
L
TEMPBASE,CURCOMM
Get current command pointer
LA
WORKREG,1(,TEMPBASE)
Get past length
STCM WORKREG,15,EIRECPTR
Initialize the pointer
SR
LENGTH,LENGTH
Clear workreg
IC
LENGTH,(,TEMPBASE)
Get length of record
LTR
LENGTH,LENGTH
Q. End of SYSIN data?
BZ
SYSDEL
A. Yes, bypass SYSIN DS
STCM LENGTH,15,EIRECLEN
Set record length
LA
TEMPBASE,1(LENGTH,TEMPBASE) Point to new record
ST
TEMPBASE,CURCOMM
Save new pointer
LH
RC,EIRC8
Set insert record retcode
B
SYSEXIT
Continue setup
SYSDEL
ICM
LENGTH,15,EIRECLEN
Get current record length
LTR
LENGTH,LENGTH
Q. EOF condition ? (reclen=)
BZ
SYSRC
A. Yes, process it.
LH
RC,EIRC12
Set delete record retcode
B
SYSEXIT
Continue Setup
SYSRC LH
RC,EIRC
SYSEXIT STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT2: Write SYSPRINT
\
\
Insert SYSPRINT records before message ADR12I
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT2 ICM
SYSPBASE,15,EIRECPTR
USING SYSPMAP,SYSPBASE
CLC
MSGID(8),ADR12I
Q. Last SYSPRINT rcd?
BNE
NOTLAST
A. No, don't insert records
TM
SYSPRFL,INSDONE
Q. Are we done inserting?
BO
NOTLAST
A. Yes, don't insert records
L
WORKREG,INSERTCT
LR
MSGOFF,WORKREG
Save INSERTCT for offset
LA
WORKREG,1(WORKREG)
Increment INSERTCT and
C
WORKREG,MSGCOUNT
Q. Have we printed all rcds?
BNH
INSERT
A. No, insert another record
OI
SYSPRFL,INSDONE
Indicate we are done insert
LA
WORKREG,TRAILER
Point to trailer record
STCM WORKREG,15,EIRECPTR
Store into EIRECPTR
LH
WORKREG,MSGLEN
Update EIRECLEN
STCM WORKREG,15,EIRECLEN
LH
RC,EIRC8
Set insert record retcode
B
SYSPEXIT
Figure 13 (Part 3 of 13). User Interaction Module Example
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
293
UIM
INSERT
MH
MSGOFF,MSGLEN
Multiply by MSGLEN to get
LA
WORKREG,MSGTABLE
offset into message table
LA
WORKREG,(MSGOFF,WORKREG)
STCM WORKREG,15,EIRECPTR
Store address in EIRECPTR
LH
WORKREG,MSGLEN
STCM WORKREG,15,EIRECLEN
Store length in EIRECLEN
L
WORKREG,INSERTCT
Increment MSGCOUNT
LA
WORKREG,1(WORKREG)
ST
WORKREG,INSERTCT
Save new count
LH
RC,EIRC8
Set insert record retcode
B
SYSPEXIT
NOTLAST LH
RC,EIRC
Set normal process retcode
SYSPEXIT STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT3: Read Tape Block Exit
\
\
Count Tape Block records read
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT3 LH
WORKREG,RTBCNT
Increment Read Tape Block
LA
WORKREG,1(WORKREG)
count
STH
WORKREG,RTBCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT4: Read Logical Tape Block Exit
\
\
Count Logical Tape Block records read
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT4 LH
WORKREG,RLTBCNT
Increment Read logical Tape
LA
WORKREG,1(WORKREG)
Block count
STH
WORKREG,RLTBCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT5: Write Logical Tape Block Exit
\
\
Count Logical Tape Block records written
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT5 LH
WORKREG,WLTBCNT
Increment Write logical Tape
LA
WORKREG,1(WORKREG)
Block count
STH
WORKREG,WLTBCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT6: Write Tape Block Exit
\
\
Count Tape Block records written
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT6 LH
WORKREG,WTBCNT
Increment Write Logical
LA
WORKREG,1(WORKREG)
Tape Block count
STH
WORKREG,WTBCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\
Figure 13 (Part 4 of 13). User Interaction Module Example
294
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT7: Read DASD Track Exit
\
\
Count DASD Tracks read
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT7 LH
WORKREG,RDTCNT
Increment Read DASD Track
LA
WORKREG,1(WORKREG)
count
STH
WORKREG,RDTCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT8: Write DASD Track Exit
\
\
Count DASD Tracks written
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT8 LH
WORKREG,WDTCNT
Increment Write DASD Track
LA
WORKREG,1(WORKREG)
count
STH
WORKREG,WDTCNT
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT9: Read Utility SYSPRINT
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT9 LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT1: Write SYSPRINT Record
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT1 LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT11: Write WTO Message
\
\
Delete the WTO and insert my own
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT11 LH
WORKREG,WTOCT
Check WTO count
LTR
WORKREG,WORKREG
Q. Is WTOCT ?
BZ
OPT11INS
A. Yes, insert one
OPT11DEL LH
RC,EIRC12
Set delete record retcode
B
OPT11XIT
(delete all other WTOs)
OPT11INS LA
WORKREG,1(WORKREG)
Increment WTOCT
STH
WORKREG,WTOCT
LA
WORKREG,UIMWTO
Get address of WTO
STCM WORKREG,15,EIRECPTR
Store it in EIRECPTR
LA
WORKREG,WTOLEN
Get length of WTO
STCM WORKREG,15,EIRECLEN
Store length it in EIRECLEN
LH
RC,EIRC8
Set insert record retcode
B
OPT11XIT
OPT11XIT STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
Figure 13 (Part 5 of 13). User Interaction Module Example
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
295
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT12: Write WTOR Message
\
\
Check for ADR369D, never allow it to write over VTOC, etc
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT12 ICM
WORKREG,15,EIRECPTR
CLC
12(8,WORKREG),ADR369D
Q. Authorize request?
BNE
OPT12RC
A. No, let DFSMSdss do WTOR
LA
WORKREG,UIMRESP
Get address of response
STCM WORKREG,15,EIRECPTR
Store in EIRECPTR
LA
WORKREG,RESPLEN
Get length of response
STCM WORKREG,15,EIRECLEN
Store in EIRECLEN
LH
RC,EIRC28
Set WTOR Response retcode
B
OPT12XIT
OPT12RC LH
RC,EIRC
Set normal process retcode
OPT12XIT STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT13: Present ADRUFO Record
\
\
If parm call, set IO and AI buffers above 16M
\
\
If function call and Copy, force reblocking.
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT13 ICM
TEMPBASE,15,EIRECPTR
USING ADRUFOB,TEMPBASE
Get addressability to UFO
CLC
UFFUNCT,PARM
Q. Is this a PARM call?
BE
PARMCALL
A. Yes, go to parm call
FUNCTION TM
UFFUNCT1,UFFUCOPY
Is this a copy?
BNO
OPT13RC
No, don't change options
SR
WORKREG,WORKREG
ICM
WORKREG,3,UFBDYOFF
Get offset for PARM list
AR
WORKREG,TEMPBASE
Add to address of UFO
USING UFOFUNCT,WORKREG
Establish addressability
OI
UFO3FLGS,UFOFRBLK
Force reblocking
DROP WORKREG
LH
RC,EIRC16
Set modify record retcode
B
OPT13XIT
PARMCALL SR
WORKREG,WORKREG
This is a parm call.
ICM
WORKREG,3,UFBDYOFF
Get offset for PARM list
AR
WORKREG,TEMPBASE
Add to address of UFO
USING UFOFUNCT,WORKREG
Establish addressability
OI
UFXAFLAG,UFXABUFF
Make sure IO buffers are >16M
OI
UFXAFLAG,UFAI31B
Make sure AI buffers are >16M
DROP WORKREG
LH
RC,EIRC16
Set modify record retcode
LA
WORKREG,2
Initialize message table:
ST
WORKREG,MSGCOUNT
Initialize msgcount
DROP TEMPBASE
LA
TEMPBASE,MSGTABLE
Get address of table
USING TABLEMAP,TEMPBASE
MVC
TABENTRY(133),HEADER
Move header into msgtable
LA
TEMPBASE,133(TEMPBASE) Move past first message
Figure 13 (Part 6 of 13). User Interaction Module Example
296
UIM
MVC
TABENTRY(133),BLANKS
Move blank line into table
DROP TEMPBASE
B
OPT13XIT
Exit.
OPT13RC LH
RC,EIRC
Set normal process retcode
OPT13XIT EQU
\
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT14: Function Ending
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT14 LH
WORKREG,RTBCNT
Get Tape Blocks Read
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK RTBINS,CVDWORK
Unpack into message insert
OI
RTBINS+7,X'F'
Make last character printable
LH
WORKREG,WTBCNT
Get Tape Blocks Written
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK WTBINS,CVDWORK
Unpack into message insert
OI
WTBINS+7,X'F'
Make last character printable
LH
WORKREG,RLTBCNT
Get Tape Logical Blocks Read
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK RLTBINS,CVDWORK
Unpack into message insert
OI
RLTBINS+7,X'F'
Make last character printable
LH
WORKREG,WLTBCNT
Get Tape Log Blocks Written
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK WLTBINS,CVDWORK
Unpack into message insert
OI
WLTBINS+7,X'F'
Make last character printable
LH
WORKREG,RDTCNT
Get Disk Tracks Read
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK RDTINS,CVDWORK
Unpack into message insert
OI
RDTINS+7,X'F'
Make last character printable
LH
WORKREG,WDTCNT
Get Disk Tracks Written
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK WDTINS,CVDWORK
Unpack into message insert
OI
WDTINS+7,X'F'
Make last character printable
L
MSGOFF,MSGCOUNT
Get current MSGCOUNT
MH
MSGOFF,MSGLEN
Multiply by MSGLEN to get
LA
WORKREG,MSGTABLE
offset into message table
LA
TEMPBASE,(MSGOFF,WORKREG)
USING TABLEMAP,TEMPBASE
MVC
TABENTRY(133),READMSG
Move into msgtable
LA
TEMPBASE,133(TEMPBASE) Increment pointer for 2nd msg
MVC
TABENTRY(133),WRITEMSG Move into msgtable
DROP TEMPBASE
L
WORKREG,MSGCOUNT
Increment MSGCOUNT
LA
WORKREG,2(WORKREG)
ST
WORKREG,MSGCOUNT
Save new count
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
Figure 13 (Part 7 of 13). User Interaction Module Example
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
297
UIM
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT15: Present WTOR Response
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT15 LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT16: OPEN/EOF Tape Security and Verification
\
\
Always bypass password protection
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT16 ICM
TEMPBASE,15,EIRECPTR
Get address of record
LH
RC,EIRC16
Bypass password protection
ST
RC,(TEMPBASE)
Store in EIRECPTR
LH
RC,EIRC16
Set modify record retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT17: OPEN/EOF Nonspecific Tape Mount
\
\
Supply DFSMSdss with TAPE1
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT17 ICM
TEMPBASE,15,EIRECPTR
Get address of record
MVC
(6,TEMPBASE),TAPE1
Supply TAPE1 as volser
LH
RC,EIRC16
Set modify record retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT18: Insert logical VSAM Record during Logical Restore
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT18 LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT19: Output Tape I/O Error
\
\
Save DDNAME, Volser, and Return code, print record.
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT19 ICM
TEMPBASE,15,EIRECPTR
Get address of EIRECORD
USING EIDDINFO,TEMPBASE
Est addressability to DDINFO
MVC
OPT19DD,EIDDNAME
Move DDNAME to message
MVC
OPT19VS,EIVOLID
Move VOLSER to message
SR
WORKREG,WORKREG
Clear out work register
IC
WORKREG,EIRETC
Get return code
CVD
WORKREG,CVDWORK
Convert to decimal
UNPK OPT19RC(2),CVDWORK+6(2) Unpack into message insert
OI
OPT19RC+1,X'F'
Make last character printable
DROP TEMPBASE
L
MSGOFF,MSGCOUNT
Get current MSGCOUNT
MH
MSGOFF,MSGLEN
Multiply by MSGLEN to get
LA
WORKREG,MSGTABLE
offset into message table
LA
TEMPBASE,(MSGOFF,WORKREG)
USING TABLEMAP,TEMPBASE
MVC
TABENTRY(133),OPT19MSG Move into msgtable
DROP TEMPBASE
Figure 13 (Part 8 of 13). User Interaction Module Example
298
UIM
L
WORKREG,MSGCOUNT
Increment MSGCOUNT
LA
WORKREG,1(WORKREG)
ST
WORKREG,MSGCOUNT
Save new count
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT2: Volume Information Exit
\
\
Save Data Set name
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT2 ICM
TEMPBASE,15,EIRECPTR
Establish addressability to
USING EIREC2,TEMPBASE
EIREC2
MVC
OPT2DSN(44),EI2DSN
Move data set name into msg
DROP TEMPBASE
L
MSGOFF,MSGCOUNT
Get current MSGCOUNT
MH
MSGOFF,MSGLEN
Multiply by MSGLEN to get
LA
WORKREG,MSGTABLE
offset into message table
LA
TEMPBASE,(MSGOFF,WORKREG)
USING TABLEMAP,TEMPBASE
MVC
TABENTRY(133),OPT2MSG Move into msgtable
DROP TEMPBASE
L
WORKREG,MSGCOUNT
Increment MSGCOUNT
LA
WORKREG,1(WORKREG)
ST
WORKREG,MSGCOUNT
Save new count
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT21: Data Set Verification Exit
\
\
Do Not Process TEMP Data Sets
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT21 EQU
\
ICM
TEMPBASE,15,EIRECPTR
Get record pointer
USING EIREC21,TEMPBASE
Get addressability
CLC
EI21DSN(4),TMPL
If first 4 char of dsn='TEMP'
DROP
TEMPBASE
Release addressability
BNE
LABEL1
Then
LH
RC,EIRC36
Do not process data set
B
LABEL2
Else
LABEL1
LH
RC,EIRC
Set normal return code
LABEL2
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT22: Bypass Verification Exit
\
\
Bypass Serialization of SYS1 Data Sets
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT22 EQU
\
ICM
TEMPBASE,15,EIRECPTR
Get record pointer
USING EIREC22,TEMPBASE
Get addressability
CLC
EI22DSN(4),SYSL
If first 4 char of dsn='SYS1'
BNE
LAB1
Then
LH
RC,EIRC16
Bypass serialization of dsn
NI
EI22FLGS,B'1111111'
Set EI22BSER bit on
B
LAB2
Else
DROP
TEMPBASE
Release addressability
Figure 13 (Part 9 of 13). User Interaction Module Example
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
299
UIM
LAB1
LAB2
LH
RC,EIRC
Set normal return code
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT23: Data Set Processed Notification Exit
\
\
End Function If Errors in Processing
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT23 EQU
\
ICM
TEMPBASE,15,EIRECPTR
Get record pointer
USING EIREC23,TEMPBASE
Get addressability
LH
WORKREG,EI23DSRC
If data set processing RC=
DROP TEMPBASE
Release addressability
LTR
WORKREG,WORKREG
Then
BZ
LABL1
LH
RC,EIRC32
End function
B
LABL2
Else
LABL1
LH
RC,EIRC
Set normal return code
LABL2
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT24: Concurrent Copy initialization complete
\
\
End function if initialization is not successful
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT24 EQU
\
Start EIOP24 processing
LH
RC,EIRC
Assume goodness
ICM
TEMPBASE,15,EIRECPTR
Get record pointer
USING EIREC24,TEMPBASE
Get addressability
LH
WORKREG,EI24RTCD
Get the return code
DROP TEMPBASE
Release addressability
LTR
WORKREG,WORKREG
If zero
BZ
OPT24END
End function
LH
RC,EIRC32
Else end the function
OPT24END STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT25: Backspace tape input
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT25 EQU
\
Start EIOP25 processing
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ AIOPT26: Volume open for output
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
AIOPT26 EQU
\
Start EIOP26 processing
LH
RC,EIRC
Set normal process retcode
STH
RC,EIRETCOD
Store retcode in EIDB
BR
14
Return to intercept processor
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Start of local variables
\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Figure 13 (Part 10 of 13). User Interaction Module Example
300
UIM
\
CURCOMM
SYSINFL
SYSIFRST
SYSPRFL
INSDONE
TMPL
SYSL
\
SAVEAREA
\
VECTABLE
VEC1
VEC2
VEC3
VEC4
VEC5
VEC6
VEC7
VEC8
VEC9
VEC1
VEC11
VEC12
VEC13
VEC14
VEC15
VEC16
VEC17
VEC18
VEC19
VEC2
VEC21
VEC22
VEC23
VEC24
VEC25
VEC26
\
UIMWTO
WTOLEN
\
UIMRESP
RESPLEN
\
ADR369D
ADR12I
\
MSGLEN
INSERTCT
MSGCOUNT
\
DC
DC
EQU
DC
EQU
DC
DC
F''
X''
X'8'
X''
X'8'
C'TEMP'
C'SYS1'
DC
18F''
My save area
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
DC
A(AIOPT)
A(AIOPT1)
A(AIOPT2)
A(AIOPT3)
A(AIOPT4)
A(AIOPT5)
A(AIOPT6)
A(AIOPT7)
A(AIOPT8)
A(AIOPT9)
A(AIOPT1)
A(AIOPT11)
A(AIOPT12)
A(AIOPT13)
A(AIOPT14)
A(AIOPT15)
A(AIOPT16)
A(AIOPT17)
A(AIOPT18)
A(AIOPT19)
A(AIOPT2)
A(AIOPT21)
A(AIOPT22)
A(AIOPT23)
A(AIOPT24)
A(AIOPT25)
A(AIOPT26)
DC
EQU
C'>>>
USRUIM is active
<<<'
\-UIMWTO
Show that we are active
DC
EQU
C'T'
\-UIMRESP
Reply T to ADR369
DC
DC
CL8'ADR369D'
CL8'ADR12I'
DC
DC
DC
H'133'
F''
F''
Length of messages
Count of msgs given to DFSMSdss
Count of messages in table
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
301
UIM
RTBCNT
WTBCNT
\
RLTBCNT
WLTBCNT
\
RDTCNT
WDTCNT
\
WTOCT
\
PARM
\
TAPE1
\
\
HEADER
\
TRAILER
\
BLANKS
\
READMSG
RDTINS
RTBINS
RLTBINS
DC
DC
H''
H''
DC
DC
H''
H''
DC
DC
H''
H''
DC
H''
Count of WTOs
DC
X''
DC
CL6'TAPE1'
DC
DC
DC
DC
DC
CL133' '
DC
DC
DC
DC
DC
DC
DC
C'
Disk Tracks Read:
'
C'XXXXXXXX'
C'
Tape Blocks Read:
'
C'XXXXXXXX'
C'
Logical Tape Blocks Read:
C'XXXXXXXX'
CL(133-(\-READMSG))' '
\
WRITEMSG DC
WDTINS
DC
DC
WTBINS
DC
DC
WLTBINS DC
DC
\
OPTMSG DC
OPTTSK DC
DC
\
OPT19MSG DC
OPT19DD DC
DC
OPT19VS DC
DC
Blank message
'
C'
Disk Tracks Written: '
C'XXXXXXXX'
C'
Tape Blocks Written: '
C'XXXXXXXX'
C'
Logical Tape Blocks Written: '
C'XXXXXXXX'
CL(133-(\-WRITEMSG))' '
C'
Messages follow for task: '
C'XX'
CL(133-(\-OPTMSG))' '
C'
Permanent Tape Error for DDNAME: '
C'XXXXXXXX'
C' VOLSER: '
C'XXXXXX'
C' Return Code: '
302
UIM
OPT19RC
DC
DC
C'XX'
CL(133-(\-OPT19MSG))' '
\
OPT2MSG DC
C'
EI2DSN = '
OPT2DSN DC
C'XXXXXXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX'
DC
C'
DC
CL(133-(\-OPT2MSG))' '
\
CVDWORK DS
D
Workarea for decimal conversion
\
ADREID
Macro to map EIDB
\
ADRUFO
Macro to map UFO
\
USRUIM
CSECT
MSGTABLE DS
CL133
Room in table for 1 msgs
\
TABLEMAP DSECT
DSECT to insert msgs into table
TABENTRY DS
CL133
\
SYSPMAP DSECT
DSECT to find MSGID in DFSMSdss
DS
CL1
messages
MSGID
DS
CL7
\
END
Figure 13 (Part 13 of 13). User Interaction Module Example
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
303
UIM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PAGE 1
5695-DF175 DFSMSDSS V1R5. DATA SET SERVICES
1998.293 15:28
ADR1I (SCH)-PRIME(1), SIZE VALUE OF 496K WILL BE USED FOR GETMAIN
WTO 'USRAIPGM INVOKING DFSMSdss'
ADR11I (R/I)-RI1 (1), TASKID 1 HAS BEEN ASSIGNED TO COMMAND 'WTO '
DUMP DS(EXC(SYS1.\\)) LOGINDD(DASD) OUTDD(TAPE)
ADR11I (R/I)-RI1 (1), TASKID 2 HAS BEEN ASSIGNED TO COMMAND 'DUMP '
IF LASTCC= ADR11I (R/I)-RI1 (1), TASKID 3 HAS BEEN ASSIGNED TO COMMAND 'IF '
THEN DEFRAG DDN(DASD)
ADR11I (R/I)-RI1 (1), TASKID 4 HAS BEEN ASSIGNED TO COMMAND 'DEFRAG '
ADR19I (R/I)-RI1 (1), 1998.293 15:28:52 INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED.
ADR5I (2)-PRIME(1), DFSMSDSS INVOKED VIA APPLICATION INTERFACE
ADR16I (2)-PRIME(1), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
ADR6I (2)-STEND(1), 1998.293 15:28:52 EXECUTION BEGINS
ADR788I (2)-DIVSM(3), PROCESSING COMPLETED FOR CLUSTER PUBSEXMP.KSDS.S1, 1 RECORD(S) PROCESSED, REASON
ADR81I (2)-DTDSC(1), DATA SET FILTERING IS COMPLETE. 4 OF 4 DATA SETS WERE SELECTED: FAILED SERIALIZATION AND FAILED FOR
OTHER REASONS.
ADR454I (2)-DTDSC(1), THE FOLLOWING DATA SETS WERE SUCCESSFULLY PROCESSED
PUBSEXMP.SAM.S1
PUBSEXMP.PDS.S1
CLUSTER NAME
PUBSEXMP.ESDS.S1
CATALOG NAME
SYS1.MVSRES.MASTCAT
COMPONENT NAME PUBSEXMP.ESDS.S1.DATA
CLUSTER NAME
PUBSEXMP.KSDS.S1
CATALOG NAME
SYS1.MVSRES.MASTCAT
COMPONENT NAME PUBSEXMP.KSDS.S1.DATA
COMPONENT NAME PUBSEXMP.KSDS.S1.INDEX
ADR6I (2)-STEND(2), 1998.293 15:28:54 EXECUTION ENDS
ADR13I (2)-CLTSK(1), 1998.293 15:28:54 TASK COMPLETED WITH RETURN CODE
ADR5I (4)-PRIME(1), DFSMSDSS INVOKED VIA APPLICATION INTERFACE
ADR16I (4)-PRIME(1), RACF LOGGING OPTION IN EFFECT FOR THIS TASK
ADR6I (4)-STEND(1), 1998.293 15:28:54 EXECUTION BEGINS
ADR28I (4)-EANAL(1), 1998.293 15:28:54 BEGINNING STATISTICS ON D9S6:
FREE CYLINDERS
58
FREE TRACKS
3
FREE EXTENTS
2
LARGEST FREE EXTENT (CYL,TRK) 53,3
Figure 14 (Part 1 of 2). Output Resulting from Use of the UIM Exits
304
UIM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PAGE 2
|
|
|
|
|
|
|
|
|
5695-DF175
ADR22I (4)-EANAL(1),
ADR29I (4)-EFRAG(1),
ADR29I (4)-EFRAG(1),
ADR29I (4)-EFRAG(1),
ADR29I (4)-EFRAG(1),
ADR29I (4)-EFRAG(1),
ADR213I (4)-EANAL(1),
PAGE 3
5695-DF175
ADR212I (4)-EANAL(1),
ADR6I (4)-STEND(2),
ADR13I (4)-CLTSK(1),
\\\\\\\\\\\\\\\\\\\\\\\
Figure 14 (Part 2 of 2). Output Resulting from Use of the UIM Exits
Appendix D. Examples of the Application Program with the User Interaction Module (UIM)
305
UIM
306
Attribute
the PreAllocated
Target?
a Keyword?
another Factor?
Data set
name
Yes, if no
RENAME or
RENAMEU
No
RENAME or
RENAMEU
No
Yes, if it is
big enough
ALLDATA(x) or
ALLEXCP
No
Data set
size
Yes
Volumes
Yes, if doing a
RESTORE and
no output
volumes were
specified, no
target exists, and
not
SMS-managed
Yes, if no target
and either
ABSTR, ISAM,
PSU, POU, or
DAU
Yes
Data set
location on
volume
PDS
directory
size
(blocks)
Yes
No
No
No
PDSE
directory
size
(blocks)
Yes
No
No
No
SMS
Storage
Class or
Management
Class
Yes, if no target
and BYPASSACS
is specified
Yes
Yes, if STORCLAS(x)
or MGMTCLAS(x), or
both, are specified
with BYPASSACS
SMS Data
Class
Yes, if no target
Yes
No
No
307
Table 22 (Page 2 of 3). Data Set Attributes and How They Are Determined.
Is the Attribute Determined by...
Attribute
the PreAllocated
Target?
a Keyword?
another Factor?
Yes, if REBLOCK
is not specified
and data set is
not system
reblockable
No
If REBLOCK keyword
is specified,
DFSMSdss chooses
a new optimal
blocksize
If system reblockable,
DFSMSdss chooses a new
optimal blocksize, or else the
user can change blocksize with
the installation reblock exit and
can specify REBLOCK with the
installation options exit
LRECL
Yes
No
No
No
RECFM
Yes
No
No
No
DSORG
Yes
No
No
No
Yes
Number of
volumes
Yes, if no target,
source is single
volume, and
MAKEMULTI is
not specified
MAKEMULTI can
make a single
volume source into a
multivolume target
Yes
No
Number of
extents
Yes, for
imbedded
extended KSDSs
during physical
data set restore
Yes, if no target
or if doing a
RESTORE
Yes, if doing
a COPY
CONVERT(PDS(x))
or
CONVERT(PDSE(x))
No
Yes
Cataloged
Yes, if
RECATALOG(*)
is specified, no
target, and the
user is not doing
a physical data
set restore
RECATALOG(x),
CATALOG,
UNCATALOG
(applies to source
only)
Yes
TGTALLOC(x)
No
Allocation
unit
Yes, if no target
and TGTALLOC
(SOURCE)
specified or
defaulted
Yes, if doing
VSAM I/O
and uses
values in
target
catalog
entry
VALIDATE,
NOVALIDATE,
FREESPACE
No
Free space
in VSAM
Yes, if going to
like device,
nonVALIDATE,
no dummy blocks,
and CI and CA
sizes do not
change
BLKSZ
PDS/PDSE
308
Table 22 (Page 3 of 3). Data Set Attributes and How They Are Determined.
Is the Attribute Determined by...
Attribute
the PreAllocated
Target?
a Keyword?
another Factor?
Yes
MENTITY,
MVOLSER
Security
(RACF)
If no target and
source was
generic or
discrete, and no
applicable profile
protecting new
target, a new
discrete will be
defined
No
SPHERE
No
AIX data
sets on
VSAM
clusters
If SPHERE is
specified during
COPY or DUMP
and RESTORE,
sphere and
connections are
preserved
Yes, if no target
and TGTGDS
(source) specified
Yes
TGTGDS(x)
No
GDS state
Yes, if no
preallocated
target and no UIM
input
Yes, if no
UIM input
No
RLS BWO
field
Yes, if not a
logical restore
No
No
Yes, if no UIM
input
No
No
Yes, if no
preallocated
target and no UIM
input
Yes, if no
UIM input
No
RLS log
parameter
Yes, if no
preallocated
target and no UIM
input
Yes, if no
UIM input
No
RLS log
stream ID
RLS
timestamps
RLS
recovery
required
309
310
Customizing ISMF
Message Library
You can modify existing messages and add new messages.
Skeleton Library
You can modify the job skeletons for ISMF commands and line operators.
Table Library
You can modify the ISPF command tables.
Load Library
You can modify the ISMF command and line operator tables. The tables are
contained in nonexecutable CSECTs in the load library.
CLIST Library
You can modify the options on the CLIST CONTROL statement.
311
Customizing ISMF
312
Glossary
This glossary includes definitions of some terms found
in this document. If you do not find the term you are
looking for, see IBM Dictionary of Computing, New
York: McGraw-Hill, 1994.
A
ABEND. Abnormal end of task. End of a task, a job, or
a subsystem because of an error condition that cannot
be resolved by recovery facilities while the task is
performed.
ABENDxxx. The keyword that identifies the abnormal
end of DFSMSdss because of a system-detected error.
ABSTR. A subparameter of the SPACE parameter in a
DD statement. It indicates that specified tracks be
assigned to a data set.
ACCEPT processing. An SMP/E process necessary
for installing the FMIDs. SMP/E ACCEPT processing
uses JCL to accept the modules and macros necessary
to run the FMIDs. The FMIDs are accepted into the
DLIBs from the temporary data sets.
access method services. A multifunction service
program that is used to manage both VSAM and
non-VSAM data sets and integrated catalog facility or
VSAM catalogs. It is used to define data sets and
allocate space for them; convert indexed-sequential
data sets to key-sequenced data sets; modify data set
attributes in the catalog; reorganize data sets; facilitate
data portability between operating systems; create
backup copies of data sets, data set records, and
catalog entries; help make inaccessible data sets
accessible; list the records of data sets and catalogs;
define and build alternate indexes; and convert OS
CVOLs and VSAM catalogs to integrated catalog facility
catalogs.
B
backup. The process of creating a copy of a data set
to ensure against accidental loss.
backup while open. DFSMSdss can perform backup
of data sets that are open for update for a long period
of time (like CICS). DFSMSdss can perform a logical
313
|
|
|
|
C
CA. Control area.
call. (ISO) The action of bringing a computer program,
a routine, or a subroutine into effect, usually by
specifying the entry conditions and jumping to an entry
point.
card image. A one-to-one representation of the hole
patterns of a punched card; for example, a matrix in
314
|
|
|
|
|
|
|
|
D
DADSM. The direct access space management
program that maintains the VTOC, VTOCIX, and space
on a volume.
DAM. Direct access method.
Glossary
315
E
early warning system (EWS). A microfiche copy of
the information contained in the software support facility
(SSF), organized by component identification number,
and indexed by APAR symptom code. EWS is
published monthly and available to customers of IBM
licensed programs.
ECB. Event control block.
316
G
GDG. Generation data group.
GDS. Generation data set.
generalized trace facility (GTF). An optional OS/VS
service program that records significant systems events,
such as supervisor calls and start I/O operations, for the
purpose of problem determination.
generation data group (GDG). A collection of
historically related non-VSAM data sets that are
arranged in chronological order; each data set is a
generation data set.
generation data set. One generation of a generation
data group.
GT. Greater than.
GTF. Generalized trace facility.
Glossary
317
K
K. Kilobyte: 1 024 bytes.
key-sequenced data set. A VSAM file or data set
whose records are loaded in ascending key sequence
and controlled by an index. Records are retrieved and
stored by keyed access or by addressed access, and
new records are inserted in key sequence by means of
distributed free space. Relative byte addresses can
change because of control interval or control area splits.
keyword. A symptom that describes one aspect of a
program failure.
KRDS. Keyrange data set. Also known as a
key-sequenced data set with key ranges.
KSDS. Key-sequenced data set.
L
LASTCC. Last condition code.
LDS. Linear data set.
like devices. Devices that have the same track
capacity and number of tracks per cylinder (for
example, 3380 Model D, Model E, and Model K).
LINK. An assembler language macro instruction that
causes control to be passed to a specified entry point.
The linkage relationship established is the same as that
created by a basic assembler language (BAL)
instruction.
318
M
Mb. Megabit; 1 048 576 bits.
MB. Megabyte; 1 048 576 bytes.
maintenance-level keyword. In diagnosing program
failures, a keyword that identifies the maintenance level
of DFSMSdss.
management class. A list of the migration, backup,
and retention parameters and the values for an
SMS-managed data set.
map record. The record that maps the tracks dumped
by DFSMSdss.
MAXCC. Maximum condition code.
MCS. Multiple console support.
MENTITY. Model entity.
N
|
|
|
|
P
pageable link-pack area (PLPA). Link-pack area.
PAM. Partitioned access method.
partially qualified data set name. A data set name in
which the qualifiers are not spelled out. Asterisks and
percent signs are used in place of the undefined
qualifiers.
partitioned data set (PDS). A data set in direct
access storage that is divided into partitions, called
members, each of which can contain a program, part of
a program, or data.
partitioned data set extended (PDSE). A
system-managed, page-formatted data set on direct
access storage. A PDSE contains an indexed directory
and members similar to the directory and members of
partitioned data sets. A PDSE can be used instead of a
partitioned data set.
PDS. Partitioned data set.
Q
QSAM. Queued sequential access method.
qualified name. A data set name consisting of a string
of names separated by periods; for example,
TREE.FRUIT.APPLE is a qualified name.
qualifier. Each component name in a qualified name
other than the rightmost name. For example, TREE
and FRUIT are qualifiers in TREE.FRUIT.APPLE.
queued sequential access method (QSAM). An
extended version of the basic sequential access method
(BSAM). Input data blocks awaiting processing or output
data blocks awaiting transfer to auxiliary storage are
queued on the system to minimize delays in I/O
operations.
R
RACF. Resource Access Control Facility.
Glossary
319
S
SAF. System authorization facility.
SAM. Sequential access method.
scheduler task. A DFSMSdss subtask that interprets
and schedules commands.
SCP. System control program.
SEQ. Sequential or sequential processing.
sequential data striping. A software implementation
of a disk array that distributes data sets across multiple
volumes to improve performance.
SEREP. System environmental recording, editing, and
printing
SMF. System management facilities.
SML. MVS Storage Management Library.
SMP. System Modification Program.
SMP/E. System Modification Program/Extended.
320
T
TCB. Task control block.
U
UACC. Universal access authority.
UCB. Unit control block.
Glossary
321
V
VDRL. Volume restore limits.
W
WAIT. In diagnosing program failures, the keyword
that identifies DFSMSdss suspended activity, while
waiting for some condition to be satisfied. DFSMSdss
does not issue a message to tell why it is waiting.
WTO. Write to operator.
X
XA. Extended Architecture.
322
Index
Special Characters
* (single asterisk) used in partially qualified data set
names 12
** (double asterisk) used in partially qualified data set
names 12
% (percent sign) used in partially qualified data set
names 12
Numerics
16 megabytes virtual storage
buffers above 9
31-bit addressing mode 262
3494 Tape Library 188
3495 Tape Library 188
A
ABEND keyword 7
ABOVE16 keyword 9
access authority
compatibility with Version 1 237
access authorization
for DFSMSdss commands 223
ACL (automatic cartridge loader) 190
ACTIVE subkeyword of TGTGDS
COPY command 65
RESTORE command 161
ADMINISTRATOR keyword 211, 216
COMPRESS command 30
COPY command 43
DEFRAG command 82
DUMP command 93
FACILITY-class profiles for 217
PRINT command 118
RELEASE command 126
RESTORE command 139
ADMINISTRATOR parameter (Stand-Alone BUILDSA
command) 24
ADRDSSU 255
ADREID0 data area 278
example 283
ADRMCLVL macro 284
ADRUFO record
presenting, eioption 13 268
ADRUIM module 258
ADRXMAIA 258
ADSP (Automatic Data Set Protection) 211
attribute 212
AIX (alternate index), recataloging 47
ALLDATA keyword
COPY command 43
323
B
backing up (dumping) data 89
backup
copies
multiple 80, 103
BELOW16 keyword 9
BLK subkeyword of TGTALLOC
COPY command 65
RESTORE command 161
BLKSIZE and LRECL keywords, specifying in a print
operation 120
block size (DFSMSdss dump data set)
controlling at dump time 103
default when dumping to tape or DASD 103
with COPYDUMP command 80
block structure, calling 255
blocks
application interface 259
buffers
above 16 megabytes 9
building a Stand-Alone Services IPL-able core
image 23
BY keyword
COMPRESS command 30
COPY command 45
criteria 11
DEFRAG command 83
DUMP command 94
filtering criteria 19
RELEASE command 127
RESTORE command 140
bypass verification exit
eioption 22 271
BYPASSACS keyword
COPY command 45
RESTORE command 140
C
calling block structure 255
CANCELERROR keyword
COPY command 46
DUMP command 95
RESTORE command 141
catalog
access authority 222
search order
standard 19
temporary copied 214
CATALOG keyword
CONVERTV command 35
COPY command 46
RESTORE command 141
catalog management 207
services 207
324
Index
325
copy operation
logical data set 39
COPY, access authorization for 224, 230
COPYDUMP command
explanation 80
INDDNAME keyword 80
LOGICALVOLUME keyword 80
OUTDDNAME keyword 81
sample operations 81
syntax diagram 80
COPYDUMP, access authorization for 230
copying the Stand-Alone Services core image
(example) 27
COPYVOLID keyword
COPY command 48
RESTORE command 142
CPVOLUME keyword
COPY command 49
DUMP command 96
RESTORE command 143
CPYV keyword
COPY command 48
CREDT keyword 15
criteria for filtering 11
Cross-Memory Application Interface
module main entry point 258
restrictions 263
usage guidelines 263
customizing
ISMF 311
restrictions 311
CYL subkeyword of TGTALLOC
COPY command 65
RESTORE command 161
D
DASD (direct access storage device)
space fragmentation 82
DASDVOL authority 207, 208, 220
limitations 220
DASDVOL-access authority 211, 216, 218, 230
data integrity
considerations
COPY command 71
DUMP command 110
RESTORE command 136
duplicate volser considerations 136
DYNALLOC keyword 244
ENQ keyword 243
RESERVE macro 241
RESERVE-ENQUEUE processing 248
serialization 241
WAIT option 243, 246
data set 167
BY filtering 19
326
Index
327
E
eioption 00
function startup 264
eioption 01
reading SYSIN record 264
eioption 02
printing SYSPRINT record 265
eioption 03
reading physical tape record 265
eioption 04
reading logical tape record 266
eioption 05
writing logical tape record 266
eioption 06
writing physical tape record 266
eioption 07
reading disk track 267
eioption 08
writing disk track 267
eioption 09
reading utility SYSPRINT 267
eioption 10
writing SYSPRINT record 267
eioption 11
writing WTO message 268
eioption 12
writing WTOR message 268
eioption 13
presenting ADRUFO record 268
eioption 14
function ending 268
eioption 15
presenting WTOR response 269
eioption 16
OPEN/EOV tape volume security and verification
exit 269
eioption 17
OPEN/EOV nonspecific tape volume mount 269
eioption 18
insert logical VSAM record during restore 269
eioption 19
output tape I/O error 270
eioption 20
volume notification 270
328
eioption 21
data set verification 270
eioption 22
bypass verification exit 271
eioption 23
data set processed notification exit 274
eioption 24
concurrent copy initialization complete 275
eioption 26
IMS volume notification user exit 277
ejection, page suppressing 7
ELSE command 180
END command
in DO-END 181
ending
function, eioption 14 268
ending your DFSMSdss step 183
ENDTRK parameter (Stand-Alone RESTORE
command) 198
ENQ keyword 243
ENQFAILURE subkeyword
COPY command 66
DUMP command 107
PRINT command 121
RESTORE command 162
enqueue exit routine
options for non-VSAM data sets 244
enqueue scheme 243
enqueuing 244
EOJ command 183
EQ operator 15
erase-on-scratch 215
ERRORTRACKS keyword
PRINT command 119
EXCLUDE criteria 11
EXCLUDE keyword
COMPRESS command 32
COPY command 51
DEFRAG command 84
DUMP command 98
RELEASE command 128
RESTORE command 147
EXEC statement 5, 9
PARM information in the EXEC statement 7
exit identification block 260
exit interface, structure 259
EXPDT keyword 15
extended-sequential data set 48, 71, 125, 166
EXTNT keyword 15
F
FACILITY-class profiles 216, 217
for DFSMSdss keywords 209
FILE parameter (Stand-Alone RESTORE
command) 199
G
GDG (generation data group)
data set status assignment 65, 161
filtering 14
GE operator 15
generating the Stand-Alone Services program
generation data group 14
See also GDG
23
210, 212
H
hardware requirements for Stand-Alone Services
Hierarchical File system (HFS) data set 39
203
I
I/O error
output tape, eioption 19 270
ICKDSF REFORMAT command 25
IF command
nested 182
IF-THEN-ELSE command
description 178
examples 182
IF-THEN-ELSE group of commands
syntax 180
IF-THEN=ELSE command sequencing 181
IMPORT keyword 236
RESTORE command 148
IMS volume notification user exit
eioption 26 277
INCAT keyword
CONVERTV command 35, 36
COPY command 52
DUMP command 99
RELEASE command 129
INCLUDE criteria 11
INCLUDE keyword
COMPRESS command 32
COPY command 53
DUMP command 100
RELEASE command 129
RESTORE command 149
INDDNAME keyword
COPY command 53
COPYDUMP command 80
DUMP command 100
PRINT command 119
RESTORE command 150
INDDNAME parameter (Stand-Alone BUILDSA
command) 24
INDYNAM keyword
COPY command 54
DUMP command 100
PRINT command 119
initialization
concurrent copy failure 111, 116
initialization complete
concurrent copy, eioption 24 275
input error toleration
COPY command 66
DUMP command 107
Index
329
J
JCL (job control language)
concurrent copy 111, 116
EXEC statement 5
filter DD statement 7
input DD statement 6
invoking DFSMSdss 9
JOBCAT DD statement 5
JOBstatement 5
output DD statement 6
password DD statement 7
requirements for DFSMSdss 5
STEPCAT DD statement 5
SYSIN DD statement 5
SYSPRINT DD statement 5
volume count subparameter 6
job control language 5
See also JCL
JOB statement
JCL 5
JOBCAT DD statement, JCL 5
K
KEYLENGTH keyword
PRINT command 120
330
L
LASTCC
definition 179
in IF-THEN-ELSE command sequence 180
in SET command 179
LE operator 15
LINECNT keyword 7
LIST subkeyword
DEFRAG command 83, 84
lockout, avoiding 242, 277
LOGDDNAME keyword
RELEASE command 129
logical VSAM record
insert during restore, eioption 18 269
LOGICALVOLUME keyword
COPYDUMP command 80
RESTORE command 150
LOGINDDNAME keyword
COPY command 54
DUMP command 101
LOGINDYNAM keyword
COPY command 54
DUMP command 101
LRECL and BLKSIZE keywords, specifying in a print
operation 120
LT operator 15
M
MAKEMULTI keyword
COPY command 55
RESTORE command 150
mapping macro
ADREID0 278
MAXCC keyword
definition 179
in IF-THEN-ELSE command sequence 180
in SET command 179
MAXMOVE keyword
DEFRAG command 85
MENTITY keyword 216, 227, 229, 233, 235
COPY command 56
RESTORE command 151
message data set 213
MGMTCLAS keyword 15
COPY command 56
RESTORE command 151
MGMTCLAS profile 215
MINSECQTY keyword
RELEASE command 131
MINTRACKSUNUSED keyword
RELEASE command 131
mode switching 178
moving
data sets 9, 50
MULTI keyword 15
multiple backup copies 80, 103
multiple subkeywords 2
multiple tracks read, on dump 102
multivolume data set 215
copying 55
MVOLSER keyword
COPY command 56
RESTORE command 151
N
NE operator 15
nested IF commands 182
non-SMS authorization 223
non-VSAM data sets
restore actions on 167
NONSMS keyword
CONVERTV command 36
NOPACKing keyword
COPY command 57
RESTORE command 151
NOREADCHECK parameter (Stand-Alone RESTORE
command) 199
NORUN keyword 8
notification
data set processed exit, eioption 23 274
volume, eioption 20 270
NOTIFYCONCURRENT keyword 41, 47, 92, 96
NOVALIDATE keyword
DUMP command 102, 109
NOVERIFY parameter (Stand-Alone RESTORE
command) 197
null command 181
NULLMGMTCLAS keyword
COPY command 56
RESTORE command 151
NULLSTORCLAS keyword
COPY command 64
RESTORE command 160
O
ONLYINCAT keyword
COPY command 52
DUMP command 99, 102
OPEN/EOV nonspecific tape volume mount
eioption 17 269
OPEN/EOV tape volume security and verification exit
eioption 16 269
operating in serial or parallel mode 177
OPERATIONS attribute 207, 208
OPERCNSL parameter (Stand-Alone BUILDSA
command)
limited validation of 187
purpose of 187
P
page ejection, suppressing 7
page-number list 256
PAGENO keyword 7
PAGEPTR parameter 256
PARALLEL command 177, 178
PARAM keyword 257
PARM information in the EXEC statement
partially qualified data set names 12
PASSDELAY subkeyword
DEFRAG command 85
password DD, JCL statement 7
PASSWORD keyword
COMPRESS command 32
COPY command 59
DEFRAG command 86
DUMP command 103
PRINT command 120
RELEASE command 132
RESTORE command 154
password protection 210
Index
331
PDS subkeyword
COPY command 48
PDSE subkeyword
COPY command 48
PERCENTUTILIZED keyword
COPY command 59
RESTORE command 154
performing a restore from dump tapes 196
PREPARE keyword
CONVERTV command 36
preparing for Stand-Alone Services 21, 202, 203
presenting ADRUFO record
eioption 13 268
presenting WTOR response
eioption 15 269
PRINT command
ADMINISTRATOR keyword 118
ALLDATA keyword 118
DATALENGTH keyword 118
DATASET keyword 118
DYNALLOC keyword 119
ENQFAILURE subkeyword 121
ERRORTRACKS keyword 119
explanation 117
INDDNAME keyword 119
INDYNAM keyword 119
IOERROR subkeyword 121
KEYLENGTH keyword 120
OUTDDNAME keyword 120
PASSWORD keyword 120
sample operations 123
SHARE keyword 121
syntax diagram 117
TOLERATE keyword 121
TRACKS keyword 121
VTOC keyword 122
WAIT keyword 122
PRINT, access authorization for 231
printing SYSPRINT record
eioption 02 265
PROCESS keyword
COPY command 60
DUMP command 104
RELEASE command 132
RESTORE command 155
protect-all 213
protected
catalogs 222
group data set 211
user data set 210
protecting
data sets 209
passwords 210
resources 209
SMS-managed data sets 215
usage of DFSMSdss 209
332
PURGE keyword
COPY command 60
DUMP command 104
RESTORE command 155
Q
qualified data set names
12
R
RACF (Resource Access Control Facility) 207
authorization checking 56, 151
DEFINE function 207
logging 216
RACF-indicated, meaning of 212
RACF-protected, meaning of 207
RAMAC Virtual Array 39
READCHECK parameter (Stand-Alone RESTORE
command) 198
reading disk track
eioption 07 267
reading logical tape record
eioption 04 266
reading physical tape record
eioption 03 265
reading SYSIN record
eioption 01 264
reading utility SYSPRINT
eioption 09 267
READIOPACING keyword 42, 43, 61
COPY command 61
DUMP command 104
REBLOCK keyword
COPY command 61
RESTORE command 155
RECATALOG keyword
COPY command 46
RESTORE command 141
Record Area Length 262
REDETERMINE keyword
CONVERTV command 36
REFDT keyword 15
relative generation filtering 14
RELBLOCKADDRESS keyword
COPY command 62
RESTORE command 156
RELEASE command
ADMINISTRATOR keyword 126
BY keyword 127
cross-system serialization 127
DDNAME keyword 127
DYNALLOC keyword 127
DYNAM keyword 127
EXCLUDE keyword 128
explanation 124
Index
135
333
S
SADMP service aid 195
SAF (system authorization facility) 207
DEFINE function 207
SAM compressed data set
copying 39
SCAN keyword 8
SDUMP keyword 7
search order, standard catalog 19
SELECTMULTI keyword
CONVERTV command 37
COPY command 55
DUMP command 101
separator
definition 1
SERIAL command 177
serialization
data integrity 241
DYNALLOC keyword 244
ENQ keyword 243
lockout, avoiding 242
Read/Write scheme 245
RESERVE macro 241
resource 247
WAIT option 243, 246
SET command 179, 190
sample operations 179
setting condition codes 179
SHARE keyword
COPY command 63
DUMP command 106
PRINT command 121
RESTORE command 159
SIZE keyword 7
334
Index
335
336
syntax diagram 1
CONVERTV command 34
COPY command 40
COPYDUMP command 80
DEFRAG command 82
DUMP command 90
PRINT command 117
RELEASE command 125
RESTORE command 136
SYS1 subkeyword
COPY command 60
DUMP command 104
RELEASE command 132
SYSIN DD statement, JCL 5
SYSIN record
reading eioption 01 264
SYSPRINT DD statement, JCL 5
SYSPRINT record
printing, eioption 02 265
writing, eioption 10 267
SYSPRINT utility
reading, eioption 09 267
system authorization facility 207
See also SAF
system programming information 259
system requirements for Stand-Alone Services
203
T
tape devices (with Stand-Alone Services)
in 370 mode 186
in XA or ESA mode 186
supported models 205
tape libraries (with Stand-Alone Services)
not supported in 370 mode 186
supported 204, 205
tape mount and demount procedures 189
tape record
logical, reading, eioption 04 266
logical, writing, eioption 05 266
physical, reading, eioption 03 265
physical, writing, eioption 06 266
tape volume mount
OPEN/EVOC nonspecific, eioption 17 269
tape volume security
OPEN/EOV, eioption 16 269
TAPEVOLSER parameter (Stand-Alone RESTORE
command) 199
target allocation 65, 161
target class selection 168
target definition 6
task processing, controlling 178
TASK-ID 260
temporary copied catalogs 214
temporary data set 214
DEFRAG data set 213
U
UAPTR parameter 256
UIMPTR parameter 256
UNCATALOG keyword
COPY command 68
DUMP command 108
UNDEFINEDSORG subkeyword
COPY command 60
RESTORE command 155
UNITADDR parameter (Stand-Alone TAPECNTL
command) 201
UNLOAD parameter (Stand-Alone TAPECNTL
command) 201
unloading a tape with the TAPECNTL command 201
User Area Pointer 263
User Exit Allowance 260
user interaction module (UIM) 258
example 291, 303
sample output 304, 305
V
VALIDATE keyword
DUMP command 109
variable length (VL) parameter 257
verification
bypass exit, eioption 22 271
data set, eioption 21 270
verification exit
OPEN/EOV, eioption 16 269
VERIFY parameter (Stand-Alone RESTORE
command) 197
versions of DFDSS, compatibility 237
VL parameter 257
VM, running Stand-Alone Services under 186
VOLCOUNT keyword
COPY command 68
RESTORE command 163
volume
DUMP with concurrent copy 111
serialization 241
volume count subparameter, JCL 6
volume notification
eioption 20 270
VSAM (Virtual Storage Access Method)
catalog access authority 222
data set
filtering 11
restore actions on 166
VTOC
entry (data-set-changed flag) 105
VTOC keyword
PRINT command 122
W
WAIT keyword 70
COMPRESS command 33
COPY command 70
DEFRAG command 87
DUMP command 109
PRINT command 122
RELEASE command 133
RESTORE command 165
WAIT option 243, 246
wait-state codes for Stand-Alone program
WORKUNIT keyword 8
194
Index
337
WORKVOL keyword 8
WRITECHECK keyword
COPY command 70
DEFRAG command 87
RESTORE command 166
writing disk track
eioption 08 267
writing logical tape record
eioption 05 266
writing physical tape record
eioption 06 266
writing SYSPRINT record
eioption 10 267
writing to the operator 177
writing WTO message
eioption 11 268
writing WTOR message
eioption 12 268
WTO command 177
WTO message
writing, eioption 11 268
WTOR message
writing, eioption 12 268
WTOR response
presenting, eioption 15 269
X
XABUFF keyword
338
Satisfied
Neutral
Dissatisfied
Very
Dissatisfied
Very
Satisfied
Satisfied
Neutral
Dissatisfied
Very
Dissatisfied
Overall satisfaction
How satisfied are you that the information in this book is:
Accurate
Complete
Easy to find
Easy to understand
Well organized
Applicable to your tasks
Name
Company or Organization
Phone No.
Address
IBM
Cut or Fold
Along Line
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
PERMIT NO. 40
SC26-4929-04
Cut or Fold
Along Line
IBM
SC26-4929-4