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
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

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external

PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

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:


DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica