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
OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

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

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing

DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

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

OCCURS CLAUSE - PROGRAM: We have to write a program to elaborate occurs clause. Get names and marks of the students and show them on the screen.   identification division.

ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more