7.98 POINT

Note: Usage options

Except when using SELECT_SQL, the POINT command is used to "point", "re-direct" or "override" all I/O requests made to a file to:

This command is provided for backward compatibility rather than for its specific functionality. See the Permanent File Overrides in the LANSA for i User Guide for a generally better mechanism for achieving similar functionality.


Portability Considerations

The POINT command is supported in RDMLX code for compatibility with existing RDML code. When executed on platforms other than IBM i it has no effect.

Code generation varies for RDML functions and RDMLX code, and a difference may be caused in the library that is used where there are multiple files of the same name. RDML function generation on IBM i matches up File references to Libraries using the Library List of the job that is compiling the object; if not found in the library list, the first File in the repository found in EBCDIC collation sequence will be used. RDMLX objects are generated on Windows, which does not have a Library List, and so the first file in the repository found in ANSI collation sequence order will be used. Thus if the POINT command specifies a library but an IO command does not (or vice versa), and there are multiple files of the same name, the RPG and C code generation may match different libraries.


Also See

7.98.1 POINT Parameters

7.98.2 POINT Comments/Warnings

7.98.3 POINT Examples



  POINT -------- FILE --------- file name . *FIRST ------------->

                                            library name





             >-- TO_FILE - ---- *SAME -------------------------->

                                file name


             >-- TO_LIBRARY --- *LIBL -------------------------->

                                library name


             >-- TO_MEMBER ---- *FIRST -------------------------|

                                member name