Special-names - configuration section, COBOL Programming

SPECIAL-NAMES:

This paragraph is used to associate some hardware names to the user-specified mnemonic names. This paragraph is elective in all compilers. The format of this paragraph is as shown below:

SPECIAL-NAMES, [, CURRENCY SIGN IS literal-1]

[, DECIMAL-POINT IS COMMA]

[, CHANNEL integer IS mnemonic-names]...

STANDARD-1

[, ALPHABET alphabet-name IS NATIVE ]...

implementor-name

[, implementor-name IS mnemonic-name].

The CHANNEL is used to control the line spacing of the line printers. This clause is used to relate a user-defined name known as the mnemonic name with a channel in the printer carriage control. The range of the integer depends on the specific line printer to be used. This mnemonic name can be used only in the WRITE statement.

The ALPHABET clause specifies the user-defined alphabet name which can be used to indicate a collating sequence in the PROGRAM COLLATING SEQUENCE clause or in the collating sequence clause in the sort verb. The word NATIVE stand for the computer's own collating sequence and STANDARD-1 stands for the ASCII collating sequence. The alphabet name is used to define the external character set in which the data is recorded on a file.

The SPECIAL-NAMES paragraph can have the other entry that is implementer dependent. Though, the CHANNEL entry is also an implementer-defined clause. The entries can show in the paragraph in any order.

Posted Date: 10/16/2012 3:39:36 AM | Location : United States







Related Discussions:- Special-names - configuration section, Assignment Help, Ask Question on Special-names - configuration section, Get Answer, Expert's Help, Special-names - configuration section Discussions

Write discussion on Special-names - configuration section
Your posts are moderated
Related Questions
DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

Example of Level numbers - cobol programming: To explain the hierarchical structure introduced above, the concept of the level number is employed in COBOL. The most broad

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

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t