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
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
The natural file converted to PDF file if Yes then explain ?
How are you going to remove duplicates from the file that is being read?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is cobol coding sheet?
Explain the like inverted list?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain how many work file we can code in jcl?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
Explain the data storage?
What is data trace system 2.0 used for?
Explain how are you going to remove duplicates from the file that is being read?
Can we see the copy book length using file-aid?
How to find occurrence of mu and pe fields in a file?