DECL

Create Declaratives Section statements only--not sections or paragraphs.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

See also DPAR and USE BEFORE REPORTING for creating Declarative Section statements, paragraphs, and sections.

Targets:

  • CICS programs without screens
  • IMS DC programs without screens
  • DLG batch programs

;

Syntax:

 DECL   declarativestatements

Comments:

  • Do not code the DECLARATIVES SECTION header or the END DECLARATIVES statement. AMB generates these for you.
  • We recommend that you code declaratives at the end of your program, because AMB generates the END DECLARATIVES statement when either:
    • It encounters another keyword in the KYWD column.
    • The Declaratives Section is at the end of the program.

Examples:

 DECL   declarative statement
        declarative statement

Generated AMB source

DECLARATIVES.
declarativestatement declarativestatement
END DECLARATIVES