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

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

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da

can we move spaces to numeric field

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

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

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

OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica