Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

          TO_FILE(CUSTMST QGPL)
     TO_FILE(CUSTMST USERLIB01)

Portability Considerations

On platforms other than IBM i, Visual LANSA will ignore the library.

If a library name is not specified, a default library name called *FIRST is used. This indicates that the library list of the job in which the function is being compiled should be searched (in order) to locate the required file. If the file cannot be found using this method then the first definition of the file that can be found in the LANSA dictionary should be used. In such cases a warning message will be issued.

Code generation varies for RDML functions and RDMLX code, and may cause a difference in which library 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 order 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.