Target iSeries file names for DDM

As with local files, every iSeries™ remote file, library name, or member must begin with an alphabetic character (A through Z, $, #, or @) and can be followed by no more than 9 alphanumeric characters: A through Z, 0 through 9, $, #, @, _, or period (.). No name can exceed 10 characters. Blanks are not allowed in iSeries names.

The use of an extended name allows additional graphic characters to be included in quotation marks (”). The extended name also cannot exceed 10 characters, but quotation marks are included with the name, thereby limiting the number of graphic characters to 8. Lowercase letters remain lowercase letters. Examples of extended names are as follows:

”Test.Job”
”()/+=”

When an iSeries server is the target server, the file name can be specified in various forms, as shown in the following examples.

library-name
Specifies the name of the library that contains the remote file. *LIBL causes the library list of the job on the target server to be searched for the specified file name. *CURLIB specifies the current library on the remote server.
remote-file-name
Specifies the name of a database file (physical, logical, or source file) on the target iSeries server.
*NONSTD
Specifies, for an iSeries target, that a member name is being included with the name of the remote file. The value *NONSTD must precede the full name, and the full name must be enclosed in single quotation marks and be in all uppercase.
Note: If you press F4 (Prompt) when on the Create DDM File or Change DDM File displays, and specify the *NONSTD value with the remote file name abcde, the server converts abcde to 'ABCDE' (all uppercase) and the request is processed. However, if there is a slash or parenthesis in the remote file name, the system puts single quotation marks around the name but does not convert it to uppercase.

Therefore, if you are using the *NONSTD value for the remote file name and the target server requires uppercase file names, type the remote file name in uppercase characters even when using F4 (Prompt).

member-name
Specifies the name of the member in the remote file. The member name must be enclosed in parentheses and immediately follow the file name (with no space). If no member name is specified, then *FIRST is assumed and the first (or only) member in the file is accessed. This is the oldest (or only) member in the file.

*LAST is supported only on the Override with Database File (OVRDBF), Clear Physical File Member (CLRPFM), Initialize Physical File Member (INZPFM), Reorganize Physical File Member (RGZPFM), Open Database File (OPNDBF), and Open Query File (OPNQRYF) commands. *LAST is the newest (or only) member in the file.

The examples here show valid iSeries remote file names:

   CUSTMAST
   PRODLIB/CUSTMAST
   *NONSTD 'CUSTMAST(MBR1)'
   *NONSTD '*LIBL/CUSTMAST(MBR2)'
   *NONSTD 'PRODLIB/CUSTMAST(MBR3) DM'
   *NONSTD 'PRODLIB/CUSTMAST(*FIRST)'