What is an in-line perform ?

Answer Posted / sreedevi

When set of statements are used only in one place then we
can group all of them within PERFORM END-PERFORM structure.
This is called INLINE PERFORM. This is equal to DO..END
structure of other languages.

PERFORM
ADD A TO B
MULTIPLE B BY C
DISPLAY 'VALUE OF A+B*C ' C
END-PERFORM

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

755


Give some examples of command terminators?

759


i need a small 3d program using inline and outline.

1640


What is cobol?

746


) How do u handle errors in BMS macro?

1429






How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

712


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


Whats the difference between search & search ALL?

5264


What are the different types of condition in cobol and write their forms.

658


What is the difference between perform … with test after and perform … with test before?

883


What is rmode(24)

680


Explain how to differentiate call by context by comparing it to other calls?

689


What are all the divisions of a COBOL program?

665


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1960