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

COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

PERFORM WITH VARYING OPTION: The format is as shown below:

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

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

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.