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
DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila

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

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

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

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

Example of Sign condition: The illustration below describes the use of the sign condition. Illustration:     77  BALANCE  PIC  S9 (6) V99.       .       .     I

PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

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

Abbreviation: The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown: (i) When the subjects in the consecutive relational c