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
Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

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

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i


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

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.