Step by step As400-cobol Get started Tutorial 02-Program Structure and logo Division (original)

Source: Internet
Author: User

The format of the identity department:

code example:

Identification Division.
Program-id. Idsample.
AUTHOR. PROGRAMMER NAME.
Installation. COBOL Development CENTER.
Date-written. 08/27/88.
Date-compiled. 09/01/88 12:57:53.
SECURITY. Non-confidential.

Format of the Ministry of the Environment:

code example

Environment Division.
CONFIGURATION section.
Source-computer. ibm-as400.
Object-computer. ibm-as400.
Special-names. Cð1 is top-of-page.

Source-computer defines the machine that needs to compile the original code.

Examples of Special-names:

Special-names. System-console is Systm
Requestor is work-station
C01 is Next-page
Local-data is Local-data-area
Attribute-data is Attrb-data
System-shutdown is Shutdown-switch
On STATUS is shutdown-pending
UPSI-0 is upsi-switch-0
On STATUS is u0-on
OFF STATUS is U0-off
UPSI-1 is upsi-switch-1
On STATUS is u1-on
OFF STATUS is U1-off
Ibm-ascii is STANDARD-1
Currency-sign is "Y".

Step by step As400-cobol Get started Tutorial 02-Program Structure and logo Division (original)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.