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
NONSTANDARD CLAUSES: The various clauses explained above are as per the ANSI standard. Also, most compilers provide for additional nonstandard clauses to meet the specific nec

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

Display control verbs in Cobol

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

I uploaded a file from PC to Mainframe, variable LRCL 256. In my COBOL program I defined it as FD INPUT-FILE LABEL RECORDS ARE OMITTED BLOCK CONTAINS 0 RECORDING MODE

Point Location: The position of the decimal point is the other characteristic which can be specified in the case of the numeric data items. If the position is not specified, t

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable.  Though, the processing is not-terminated and the co

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu