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
Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru