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
Explain how to find occurrence of mu and pe fields in a file?
What is data trace system 2.0 used for?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Can you explain control variable in online screens?
Explain how many work file we can code in jcl?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
How to find occurrence of mu and pe fields in a file?
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?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
What is cobol coding sheet?
How are you going to remove duplicates from the file that is being read?
How can we see the copy book length using file-aid?
Explain difference between read(1) and read work file once?
Explain why do we use file-aid for seqential files?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?