Display File Description (DSPFD) command
The Display File Description (DSPFD) command can be used to display (on the client system) the attributes of the DDM file on the client system, the remote file on the server system, or both the DDM file and the remote file. As with local files, the attributes of multiple DDM files, multiple remote files, or both can be displayed by the same command.
Note: Although this discussion mentions only one server
system, the files for multiple server systems can be displayed at
the same time.
The SYSTEM parameter determines which group of attributes is displayed.
- To display the attributes of DDM files, which are local files,
the SYSTEM parameter must specify *LCL (the default). If SYSTEM(*LCL)
is specified:
- The FILEATR parameter must either specify *DDM (to display DDM file attributes only) or default to *ALL (to display all file types, including DDM files). The same kind of information is displayed for DDM files (which are on the local system) as for any other types of files on the local server.
- If FILEATR(*DDM) is specified and the OUTFILE parameter specifies a file name, only local DDM file information is given.
- To display the attributes of remote files, the SYSTEM parameter
must specify *RMT. If SYSTEM(*RMT) is specified:
- The FILEATR parameter must specify *ALL, *PHY, or *LGL.
- The type of information displayed for remote files depends on what type of server system the files are on. If the target is an IBM i or a System/38, the same type of information displayed for local files on an IBM i or a System/38 can be displayed. If the target is not an IBM i or a System/38, all the information that can be obtained through that server's implementation of the DDM architecture that is compatible with the IBM i's implementation is displayed.
- To display the attributes of both DDM and remote files, the SYSTEM parameter must specify *ALL.