Program for perform - thru, COBOL Programming


We have to write a program to elaborate PERFORM ...THRU statement

Identification division.

Program- id.  Perfthru.

Environment division.

Data division.

Procedure division.


  Display(1 1) erase.

  Display "ABC".

            Perform  para-2 thru para-4.

            Display "XYZ".

            Stop run.


             Display "DEF".


  Display "GHI".

            Display " Gandhi".


            Display "Bharathiar".


The output of the above program will be   ABC






Posted Date: 10/17/2012 7:44:44 AM | Location : United States

Related Discussions:- Program for perform - thru, Assignment Help, Ask Question on Program for perform - thru, Get Answer, Expert's Help, Program for perform - thru Discussions

Write discussion on Program for perform - thru
Your posts are moderated
Related Questions
LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

Rules of read statements: The next record is identified according to the rules as shown below: (i) Whenever the READ NEXT statement is the initial statement to be executed

cobol program for generate a eb bill

SEQUENTIAL FILES:   The purpose of the proposed section is to introduce the concepts such as File characteristics, File Description for Fixed-Length Records, File-Control

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

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh

How do I move a single QUOTE to a field or set the value clause? "''" does not work?

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

Comparing features of oracle rdbms with Mysql