Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
GO TO, STOP RUN:
The GO TO verb is used to completely transfer the control to elsewhere in the program.
Its form is as shown below:
GO TO procedure-name
As a result of the execution of the above statement, the control is transferred to the first statement of the paragraph or part mentioned in the process name.
Illustration:
GO TO ERROR-ROUTINE
Assume that the ERROR-ROUTINE is a paragraph name. The execution of the above statement will transfer the control to the initial statement in the ERROR-ROUTINE. On another hand, assume that the ERROR-ROUTINE is a section name and the FIRST-PARA is the name of the first paragraph in this section. In the situation control will be transferred to the first statement in the FIRST-PARA. It may be noted that the GO TO FIRST-PARA is similar to the GO TO ERROR-ROUTINE.
STOP RUN
This verb causes the extinction of the execution of the object program. Its form is as shown below:
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
INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub
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
simplify smple interest
ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common
PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id. Perfthru. Environment division.
We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f
Example of condition names: The illustration below is of the use of the condition names 77 MARITAL-STATUS PIC 9 88 SINGLE VALUE IS ZERO 88 MA
Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac
Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd