What is an in-line perform ?

Answer Posted / tiny

PERFORM ... ...

END PERFORM


When the body of the perform will not be used in other
paragraphs. If the body of the perform is a generic type of
code (used from various other places in the program), it
would be better to put the code in a separate para and use
PERFORM paraname rather than in-line perform.It increases
the readability of the program.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you get the data to code the BMS macro?

1476


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1807


In COBOL programming, what is PERFORM? What is VARYING?

672


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933






What are the different data types in cobol?

797


What is length is cobol?

650


What are 77 levels used for?

659


For rewrite, why is it mandatory that file needs to be opened?

623


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3720


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


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

1640


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


What is inspect in cobol ?

804


What the difference is between continue and next sentence?

663