For details of how file names are specified, refer to Specifying File Names in I/O commands. The name specified here is the name of the file as it is known or has been coded within this function.
Specifies the name of the file to which all I/O requests are to be actually directed when the function executes. If the default value *SAME is used the name of the file is not changed from its current value.
The file name can be specified as an alphanumeric literal (e.g.: CUSTMST), or an alphanumeric variable name (e.g.: #FILE) or an alphanumeric system variable (e.g.: *PERIODFILE).
Specifies the name of the library in which the file can be found. If default value *LIBL is used the library list of the function will be searched at execution time to locate the file. If it cannot be found an error will occur.
The library name can be specified as an alphanumeric literal (e.g.: QGPL), an alphanumeric variable name (e.g.: #USINGLIB) or an alphanumeric system variable (e.g.: *COMPANYLIB).
Specifies the name of the member within the file that is to be used. If the default value *FIRST is used then the first member within the file will be used.
Refer to the appropriate IBM manuals for more details of file members and multi-member files.
Use of multi-member files within new applications is not recommended because of the maintenance problems involved. This facility is provided primarily as a means of accessing existing databases that contain multi-member files.
The member name can be specified as an alphanumeric literal (e.g.: COMP010), an alphanumeric variable name (e.g.: #USINGMBR) or an alphanumeric system variable (e.g.: *COMPANYMBR).