Contributed by: remy Tuesday, 19 April 2016, 11:09
General Format Data Description
[ IS EXTERNAL-FORM [ IDENTIFIED BY template-file-name ] ]
[ IS IDENTIFIED BY external-name ]
IS EXTERNAL-FORM Clause
The IS EXTERNAL-FORM clause associates a group item with HyperText Markup Language (HTML) data using the Common Gateway Interface (CGI) specification. It allows you to define input and output records for HTML forms and is useful when your COBOL code is part of an Internet-based application.
Syntax Rule
1. template-file-name and external-name are alphanumeric literals or unqualified data names. If a data name is used, it must refer to an unambiguous data item.
ACCEPT Statement
The ACCEPT statement makes low-volume data available to the program.
ACCEPT external-form-item
Syntax Rules
DISPLAY Statement
The DISPLAY statement provides for low-volume output from the program.
DISPLAY external-form-item merges data into an HTML template file and sends the result to standard output.
Format
DISPLAY external-form-item
Syntax Rules
Comment (0)