Some suggested guidelines for the definition of database files are as follows:

Alternatively use the RDML OPEN command with the USE_OPTION(*OPNQRYF), QRYSLT and KEYFLD parameters if the application is only to be deployed on an IBM i. This is a viable alternative, especially if the order specified in the KEYFLD parameter is identical to that in an existing logical file.

Additionally, the direct portability of multi-membered files to SQL based systems is not possible.

Portability Considerations for Database Definitions

When working with files, you should be aware of the following:

In sensibly designed modern applications, this should not affect the overall processing of an application, although it may affect the sequence that some individual applications present information.