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
REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila

Rules of read statements: The next record is identified according to the rules as shown below: (i) Whenever the READ NEXT statement is the initial statement to be executed

DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

Format for COBOL Programs: The COBOL is a high-level language. Therefore, a COBOL program can be executed on a computer for which a COBOL compiler exists. The compiler transla

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

Illustration of Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio

Comparison of the Numeric Operand with Nonnumeric Operand: The numeric operand can be compared to the nonnumeric operand subject to the restrictions which are as follows.