All SYSMAIN functions except the find and rename functions can be performed on DL/I subfiles if Natural for DL/I is installed.
DL/I subfiles include the following:
NDBs = DL/I DBDs (Database Descriptions) defined to Natural.
NSBs = DL/I PSBs (Program Specification Blocks) defined to Natural.
UDFs = DL/I User-Defined Fields defined to Natural.
Fore more information on NDBs, NSBs, DBDs, PSBs and UDFs, see the Natural for DL/I documentation.
This section describes menu functions and selection list options provided to perform a SYSMAIN function on DL/I subfiles and the syntax that applies when using direct commands.
The DL/I Subfiles menu contains all SYSMAIN functions required for the processing of DL/I subfiles. The fields provided in the menu are described in the following table:
Field | Explanation | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code |
|
||||||||||||
Sel. List |
|
||||||||||||
Name | The name of the DL/I subfile to be processed or a range of names: see also Specifying a Range of Names. | ||||||||||||
Type |
|
||||||||||||
Database | The database ID (DBID) of a source or a target database.
The source database contains the FDIC system file where the DL/I subfile to be processed is stored. The target database contains the FDIC system file to which the DL/I subfile is to be copied or moved. Valid database IDs are |
||||||||||||
File | The file number (FNR) of a source or a target FDIC system file.
Valid file numbers are The source file contains the DL/I subfile to be processed. The target file is the file to which the DL/I subfile is to be copied or moved. |
||||||||||||
Name |
Only applies to VSAM files.
The DDNAME/FCT entry for the source or target file number. |
||||||||||||
Replace |
|
If selective processing has been activated, a selection list of all DL/I subfiles that meet the specified selection criteria is displayed on a Selection screen.
This section describes the columns and fields contained on a Selection screen and the line commands provided to further process a DL/I subfile:
The following columns and fields are displayed on a Selection screen:
Column/Field | Explanation |
---|---|
C | Input field for line commands (see below). |
Subfile | The name of the DL/I subfile that meets the specified selection criteria. |
Message | The message that indicates the processing status of a DL/I subfile. For possible messages, see Status Messages. |
Listed Subfiles | The type of DL/I subfile: NDB (including UDFs) or
NSB .
|
One of the following line commands can be entered in the C (Command) column of a Selection screen:
Line Command | Function |
---|---|
A
|
Process NSB subfile or NDB and UDF subfiles.
Line command |
L
|
List NSB subfile or NDB and UDF subfiles. |
This section shows the syntax that applies when performing a SYSMAIN function on a DL/I subfile by using direct commands in either online or batch mode. For general instructions on using direct commands, refer to Executing Commands.
For explanations of the keywords and variable values used in the syntax diagrams below, refer to Keywords and Variables in Direct Commands. The symbols in the syntax diagrams correspond to the syntax symbols used for system commands. These symbols are explained in System Command Syntax in the System Commands documentation.
The syntax of the where-clause and the with-clause are identical for each command.
This section covers the following topics:
DL1
|
name | [with-clause] | FM
where-clause
|
TO
where-clause
|
COPY DL1 SUBFILE1 TYPE D FM DBID 1 FNR 5 TO DBID 2 FNR 5
C DL1 SUBFILE REP FM FNR 6 TO FNR 7 TYPE D
COPY DL1 SUBFILE1 TYPE P TO DBID 3 FNR 7
MOVE DL1 SUBFILE1 TYPE D FM DBID 1 FNR 5 TO DBID 2 FNR 5
M DL1 SUBFILE1 REP FM FNR 6 TO FNR 7 TYPE D
DL1
|
name | IN
where-clause
|
[with-clause] |
DELETE DL1 S* TYPE D
D DL1 TEST* IN DBID 177 FNR 205 TYPE D
LIST DL1 SUBFILE* IN DBID 1 FNR 5 TYPE D
L DL1 SF* TYPE P
[WHERE ] [DBID
dbid]
[FNR fnr]
[NAME
vsam-name]
|
||||||||
[CIPHER
cipher]
|
|
password |
[WITH ] [TYPE
type]
[REPLACE ] [RCOP ]
|
[HELP ]
|