Nonstandard clauses, COBOL Programming

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 necessities of the corresponding computer.

Illustration of file-description entries:

  FD   FILE - A

          RECORD  CONTAINS   130   CHARACTERS

          BLOCK  CONTAINS  20   RECORDS

          DATA RECORD IS FIRST-RECORD

          LABEL RECORDS ARE STANDARD

          VALUE   OF   ID   IS    "MY-LIFE".

      01       FIRST-RECORD     PIC        X(130).      

 

Posted Date: 10/17/2012 8:03:09 AM | Location : United States







Related Discussions:- Nonstandard clauses, Assignment Help, Ask Question on Nonstandard clauses, Get Answer, Expert's Help, Nonstandard clauses Discussions

Write discussion on Nonstandard clauses
Your posts are moderated
Related Questions
Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,

REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila