Developing Assembler language applications

Use this information to help you code assembler language programs that you want to use as CICS application programs.

Working storage

Working storage for assembler language programs is allocated either above or below the 16 MB line, according to the value of the DATALOCATION parameter on the PROGRAM definition in the CSD.

Sample programs

A set of sample application programs is provided to show how EXEC CICS commands can be used in a program written in assembler language. These programs are AMODE(64) and use relative addressing, except for DFH$AREP. DFH$AREP uses relative addressing but is AMODE(31) because it demonstrates the use of the HANDLE CONDITION LABEL command.
Table 1. Sample programs
Sample program Map set Map source Transaction ID
DFH$AMNU Operator instruction (3270) DFH$AGA DFH$AMA AMNU
DFH$AALL Update (3270) DFH$AGB DFH$AMB AADD, AINQ, AUPD
DFH$ABRW Browse (3270) DFH$AGC DFH$AMC ABRW
DFH$AREN Order entry (3270) DFH$AGK DFH$AMK AORD
DFH$ACOM Order entry queue print (3270) DFH$AGL DFH$AML AORQ
DFH$AREP Report (3270) DFH$AGD DFH$AMD AREP
The transaction and program definitions are provided in group DFH$AFLA in the CSD and can be installed using the following command:
CEDA INSTALL GROUP(DFH$AFLA)
The following record description files are provided:
  • DFH$AFIL: FILEA record descriptor
  • DFH$AL86: L860 record descriptor