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
How do you get the data to code the BMS macro?
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?
In COBOL programming, what is PERFORM? What is VARYING?
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.
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
What are the different data types in cobol?
What is length is cobol?
What are 77 levels used for?
For rewrite, why is it mandatory that file needs to be opened?
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.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
i need a small 3d program using inline and outline.
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.
What is inspect in cobol ?
What the difference is between continue and next sentence?