Answer Posted / vishwa
When developing a new program, make sure that you remove unwanted fields or views that are declared inside the DEFINE DATA section. Since when a program is compiled, it picks these fields also in the buffer memory during compilation and resources would be wasted and efficiency is affected.
Do not use unwanted READs inside a FIND statement.
Never use an UPDATE inside a physical READ.
Avoid using COMPUTE statements while performing straight forward addition, subtraction functions, rather use the appropriate ADD, SUB statements for it.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What is cobol coding sheet?
What is the quality process in development?
What is the difference between read(1) and read work file once?
Tell me can we update with histogram?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Explain how to find occurrence of mu and pe fields in a file?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain why do we use file-aid for seqential files?
Define cobol coding sheet?
Can we see the copy book length using file-aid?
How to create 1 ddm that fetches 3 adabas files simultaneously?
What is a hyperdescriptor?