AMT Help Files

Form Flow CICS BMS

The flow of form requests at runtime.

As in normal CICS Cobol, AMT-COBOL uses the Psuedo-Conversational conversation model to send and receive information from the Form as shown in the following flow diagram.

 

In AMT-COBOL the information in the Symbolic Map buffer does not get automatically placed in the controls of the Form and vice versa. This task has to be performed by the Internet Information Server (IIS) when receiving a Symbolic map buffer from the Transaction Server and when sending user input back to the Transaction Server. Therefore each Form needs to contain a very small Cobol Program that will perform this task. This program has to be created in the code editor when creating the Form.

The Procedure Division of this Program only needs to have two code sections named 'WS-TO-FORM' and 'FORM-TO-WS'. The first section (WS-TO-FORM) will be performed by the IIS when output is sent to the form, the second section (FORM-TO-WS) is performed when user input is sent to the Transaction Server as shown for both in the flow diagram below.

 

 

For more information about the WS-TO-FORM & FORM-TO-WS sections, see AMT-COBOL Form Code.

As in CICS Cobol the name of the Controls must match the field names in the Symbolic Map excluding the last letter (i.e L, F, A etc).