Migrating the Extract File RetainAs Command Qualifier

For a Report migrated from EAE, a SetTitle statement is added at the start of the Report Main Logic for each Extract File for which there is a use of the RetainAs command qualifier.

For example, this EAE LDL code

MOVE; (TEXT) F1TXT
EXTRACT; 1 AS A RETAIN.AS; (MYEXTRACTFILE)

is migrated to LDL+ as

SetTitle A_Extract "MYEXTRACTFILE" : Added by Migration to replace
declarative behaviour
Move "TEXT" Frame01.F1TXT
Extract Frame01 As A_Extract RetainAs "MYEXTRACTFILE"

If the filename used in the RetainAs command qualifier and the filename used in the inserted SetTitle remain the same, the user is able to use file-equates with the extract file in the MCP Runtime environment.

However, if one of the filenames used is changed, so that the SetTitle and RetainAs no longer match, it is no longer possible use file-equates with the extract file in the MCP Runtime environment.

After you migrate an application from EAE MCP Runtime to AB Suite MCP Runtime, you have two options to deal with the issue mentioned above.

Note: This is the recommended approach because it removes the need to keep the filename used with the RetainAs command qualifier and the corresponding SetTitle insertion in sync.