Restrictions - procedure in statement, COBOL Programming

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 the procedures is not permitted.

(iii) The control should reach the statements only through related SORT statement.

(iv) The Procedure should consist of one or more sections and they should appear contiguously in the body of the program.

(v)  The input and output procedure should not share any section or any part between them.

 

Posted Date: 10/18/2012 1:19:43 AM | Location : United States







Related Discussions:- Restrictions - procedure in statement, Assignment Help, Ask Question on Restrictions - procedure in statement, Get Answer, Expert's Help, Restrictions - procedure in statement Discussions

Write discussion on Restrictions - procedure in statement
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

Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)

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

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

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

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

Figurative Constants: The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.