Configuration section - cobol program, COBOL Programming

Configuration Section:

This section holds an overall specification of the computer used for the purpose of the compilation and execution of the program. There are in all 3 paragraphs in this section, namely, the source-computer, object-computer and the special names.

1) SOURCE-COMPUTER:

This paragraph identifies the name of the computer used to compile the COBOL program. Below is the form of this paragraph.

SOURCE-COMPUTER. computer-name.

For illustration, if ICL 1901 is to be used for compiling the COBOL source program, this paragraph must be as shown:

SOURCE-COMPUTER. ICL-1901

2) OBJECT-COMPUTER:

The Object-Computer paragraph explains the computer on which the program is to be executed. Below is the syntax for this paragraph.

OBJECT-COMPUTER. computer-name

CHARACTERS

[, MEMORY SIZE interger-1]

WORDS

[, PROGRAM COLLATING SEQUENCE IS alphabet-name]

[, SEGMENT-LIMIT IS interger-2].

Posted Date: 10/16/2012 3:37:14 AM | Location : United States







Related Discussions:- Configuration section - cobol program, Assignment Help, Ask Question on Configuration section - cobol program, Get Answer, Expert's Help, Configuration section - cobol program Discussions

Write discussion on Configuration section - cobol program
Your posts are moderated
Related Questions
PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.

Abbreviation: The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown: (i) When the subjects in the consecutive relational c

PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe