The FLIPXY command is used to force the currently active file in a Dual X/Y file to be closed and the second file in the X/Y pair to be opened and start receiving data. The data from the just Flipped from and closed file can be copied and processed immediately without having to wait for the file to fill up and be flipped automatically.
To perform a FLIPXY command of a Dual X/Y file online log on to Insight and from any Insight screen enter the command FLIP in the CMD: field and the name of the file minus the X or Y suffix in the REQ: field and press enter. For example, to FLIP the Dual file APASX/APASY enter:
CMD: flip____ REQ: APAS____ DBID: ____0
PFK: 1=HELP 3=MENU 4=SELECT 5=SHOW
DBID field of 0 directs the command to the DBID specified in the Adabas link routine invoked when logging on to Natural and the Insight application. To direct the FLIPXY command to a database other than the default database, enter the DBID number in the DBID: field. The only requirement is that the databases use the same Adabas SVC.
The FLIPXY command can be issued in batch using a batch Natural job with the following commands coded in CMSYNIN using delimiter mode (IM=D):
//CMSYNIN DD *