Specify the USING option on the PROCEDURE DIVISION header. Each identifier specified after USING must be the same as those described in the 01-level of the LINKAGE SECTION. Taking for example the identifiers defined in the fixed-length record LINKAGE SECTION shown here, they would appear as: PROCEDURE DIVISION USING EXIT-STATUS, RECORD-UP, WORK, IN-BUF, DUMMY1, DUMMY2, DUMMY3, DUMMY4, COM-LEN, COMMUNICATION-AREA.
The GOBACK statement is used to return control to MFX. Do not use the EXIT statement as it will cause unpredictable results. Be sure that MFX receives a valid return code before the GOBACK statement is executed.