Data record clause - and code-set clause, COBOL Programming

DATA RECORD CLAUSE:

The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3different record descriptions following the FD entry in which the DATA RECORDS clause is used.

CODE-SET CLAUSE:

The CODE-SET clause is used to explain the code in which the data is recorded on the external medium. The alphabet name should be specified in the SPECIAL-NAMES paragraph.

The format is as shown below:

  Alphabet-name IS implementor-name

 

Posted Date: 10/17/2012 8:02:37 AM | Location : United States







Related Discussions:- Data record clause - and code-set clause, Assignment Help, Ask Question on Data record clause - and code-set clause, Get Answer, Expert's Help, Data record clause - and code-set clause Discussions

Write discussion on Data record clause - and code-set clause
Your posts are moderated
Related Questions
Figurative Constants: The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition


Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus

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

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

PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

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

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