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
ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below:

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Program for Sequential File Creation & Rewriting  We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

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

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,