How to perform a FLIPXY command of a Dual X/Y file online and in batch?
search cancel

How to perform a FLIPXY command of a Dual X/Y file online and in batch?

book

Article ID: 55206

calendar_today

Updated On:

Products

APAS Insight Monitor for Adabas PLEU

Issue/Introduction

Description:

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.

Solution:

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 *       
LOGON INSIGHT        
INSIGHT              
FLIP,<filename>,<dbid>  
.                   
/*

Environment

Release: PLEU..00200-5.1-PLEU-Protection Log Extract Utility-for Adabas
Component: