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
GIVING    file-name-5. The input files to be merged through the MERGE statements which are specified in the USING phrase. These files should be sequential files and should be

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as

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:

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

can we move spaces to numeric field

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

File Activity: The file activity is a measure of the proportion of records processed during an update run. Therefore we define the activity ration as shown below. Activi

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of