An object list is a Workplan of the type LIST, which specifies object selection criteria
for the objects to be processed in the UNLOAD,
LOAD, FIND or
DELETE command. An object list can be used as an alternative to
the select-clause and the SELECTION Workplan.
The following syntax applies to an object list:
TYPE LIST
|
|||
|
|
object-type-and-location (object-name-description ...) |
|
... |
The syntactical options are explained in the following section. The keywords and variable values contained in the syntax diagrams shown in this section represent parameters that are used to specify object selection criteria. If indicated, a variable value must be supplied with a keyword. Each syntax element (except for the ones enclosed in parentheses) must start on a new line and end on the same line.
For explanations of the keywords contained in the syntax diagrams, refer to the section select-clause.
The syntax diagrams that apply to object-type-and-location are shown in the following section.
LIBRARY
library-name |
||||||||
|
|
DBID
dbid
FNR
fnr [NAME
vsam-name] [CIPHER
cipher]
|
|
|
|
password |
|
|
|
[OBJTYPE
group-type]
|
||||||||
Notes:
OBJTYPE must be set to
D.
ERROR NATERROR
|
|||||||||
|
|
DBID
dbid
FNR
fnr [NAME
vsam-name] [CIPHER
cipher]
|
|
|
|
password |
|
|
||
PROCESSOR
ncp-library-name |
|||||||||
|
|
DBID
dbid
FNR
fnr [NAME
vsam-name] [CIPHER
cipher]
|
|
|
|
password |
|
|
||
Note
No ranges are allowed for ncp-library-name.
NATPATH
natural-path-name |
PATH
external-path-name |
FDT
|
The syntax diagrams that apply toobject-name-description are shown in the following section:
|
|
object-name [SCKIND
object-kind]
|
|
|
error-number [
|
|
|
error-number [
SLKIND
message-type] [
LANGUAGE
languages]
|
|
FMNUM
error-number-from
TONUM
error-number-to [
SLKIND
message-type] [
LANGUAGE
languages]
|
| object-name |
| related-object-name |
| external-file-name |
DBID
dbid
FNR
fnr [CIPHER
cipher]
|
|
|
|
password |
|
The following is an example of a Workplan of the type LIST:
TYPE LIST
LIBRARY LIB-1 OBJTYPE N /* process Natural objects from library 'LIB-1'
( A* SCKIND S /* all sources objects whose names start with 'A'
B1 /* source and/or cataloged object of 'B1'
CDE> SCKIND C ) /* all cataloged objects with names greater than/equal to 'CDE'
/* /* comment line
LIBRARY LIB-2 /* process Natural objects from library 'LIB-2'
/* including error messages and shared resources
( * /* all source and/or cataloged objects
/* including shared resources
FMNUM 1 TONUM 100 /* error messages from 1 to 100
)