Positions 36-42 (Device)

Free-Form Syntax Device-type keyword

This entry must be blank if the LIKEFILE keyword is specified. The Device entry of the parent file is used.

Use positions 36 through 42 to specify the RPG IV device name to be associated with the file. 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.