Skip to main content

I'm using Net Express 5.1. I want to know is it possible to replace PERFORM PARA with the actual paragraph code. In the .lst file we get all the copy statements expanded , the same I want it for PERFORM STATEMENT. 

If yes please tell me what are the compiler options I need to set.


#perform

I'm using Net Express 5.1. I want to know is it possible to replace PERFORM PARA with the actual paragraph code. In the .lst file we get all the copy statements expanded , the same I want it for PERFORM STATEMENT. 

If yes please tell me what are the compiler options I need to set.


#perform

I am not really sure what it is you are asking for here. A PERFORM of a paragraph has nothing to do with copy statements. COPY statements are handled by the CP (copybook preprocessor) and are expanded automatically when passed to the checker for compiling. This is how they can be show as included in the source listing. You can also expand these within the NX IDE.

You cannot do the same with PERFORM statements as these are actual COBOL statements that execute a section of code in the procedure division.

There is no way to tell the compiler to automatically change a perform para to an in-line perform for example. This is something you would have to do manually.

Thanks.