Special-names - configuration section, COBOL Programming

Assignment Help:

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.


Related Discussions:- Special-names - configuration section

Rounded option, ROUNDED OPTION: Let us consider the DATA DIVISION entr...

ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold

Program for if -else, PROGRAM FOR IF -ELSE: We have to write a program...

PROGRAM FOR IF -ELSE: We have to write a program to check whether the given number is ODD or EVEN. You can use IF..ELSE. Identification division. Program- id. IfElse.

Example of class condition, Example of Class condition: Let the BASIC-...

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

Format for cobol programs, Format for COBOL Programs: The COBOL is a h...

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

File-control paragraph for the relative files, FILE-CONTROL paragraph for t...

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

Minus sign - edit characters for numeric data , Minus sign - edit character...

Minus sign - edit characters for numeric data: The minus sign can appear either at the leftmost or rightmost location of the picture. If an item is negative, a minus sign will

Write statement - relative files, WRITE Statement:      The WRITE stat...

WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

Object-computer - configuration section, Object-Computer - Configuration se...

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

Transaction file - file updation, Transaction file : A transaction file...

Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd