ILE RPG Language Reference
This entry must be blank if the LIKEFILE keyword is
specified. The Device entry of the parent file is used.
- Entry
- Explanation
- PRINTER
- File is a printer file, a file with control characters that
can be sent to a printer.
- DISK
- File is a disk file. This device supports sequential and random
read/write functions. These files can be accessed on a remote system
by Distributed Data Management (DDM).
- WORKSTN
- File is a workstation file. Input/output is through a display
or ICF file.
- SPECIAL
- This is a special file. Input or output is on a device that
is accessed by a user-supplied program. The name of the program must
be specified as the parameter for the PGMNAME keyword. A parameter
list is created for use with this program, including an option code
parameter and a status code parameter. The file must be a fixed unblocked
format. See PLIST(Plist_name) and PGMNAME(program_name) for more
information.
- SEQ
- File is a sequentially organized file. The actual device is
specified in a CL command or in the file description, which is accessed
by the file name.
Use positions 36 through 42 to specify the RPG IV device name
to be associated with the file. The RPG IV device name defines the ILE RPG functions
that can be done on the associated file. Certain functions are valid
only for a specific ILE RPG device name (such as the EXFMT operation
for WORKSTN). The file name specified in positions 7 through 16 can
be overridden at run time, allowing you to change the input/output
device used in the program.
Note that the RPG IV device names are not the same as the system
device names.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]