MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Synchro > Programs > DELINS Maintenance - Purpose > DELINS Maintenance - Calculations

DELINS Maintenance - Calculations

GA215E

A.   Mainline

1.   The Message Maintenance Function Select screen (GA215S01) is displayed.  The user selects the message file to be worked on and can specify further criteria for the listed messages (message ID, issuer ID).  PMTVAL validates the screen; if no errors occur, the List screen is displayed.

2.   All DELINS messages according to the selection criteria (if entered) are listed on the Message Maintenance List screen (GA215S02).  DLPVAL clears GA120EP (DELTEP), checks the selected line and which function key was pressed.

a.   If F20 was pressed, the selected DELINS message is written to GA210EP (LOADEP) and the Automatic DELINS Acquisition program (GA210E) is called in simulation mode (through its CL-program GA216CLP).  If the DELINS Acquisition program is called (simulation mode), this file is copied to GA210AP1 by GA216CLP.  Simulation mode is used for discovering errors only; no files are updated.

b.   If F7 was pressed, GA210EP is cleared (LOADEP) and the header screen is displayed.

c.   If F21 (Hold/Release) was pressed, the status of the DELINS message is changed; F22 (Activate/Deactivate) updates the status flag DISTAT on GA210DP.

3.   LISDSP shows the Message Maintenance Header screen (GA215S03) with all segments in error and the corresponding error type by reading GA210EP.  The flag LODFLG indicates if GA210EP already contains the correct record or if it needs to be loaded before further processing.  If LODFLG is 'Y', GA210EP needs to be loaded (performed by LISINT and LISL02).  If LODFLG is 'N', subroutines LISIN1 and LISL01 read the record from GA210EP.
 

      LISVAL checks the selected segment and the pressed function key.  If F4 was pressed, the Detail screen will be displayed.

4.   Subroutine DLMDSP displays the appropriate detail screen (GA215xxx) depending on the segment in error by calling WRTDEL (18 different detail screens).  DLMDSP also controls the validation (DLMVAL) of the segments being changed and calls the appropriate help screen if required (HLPDEL).  Changed segments are updated on GA210EP by subroutine DLMUPD.