Answer / 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|
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.
Types Of Read , FIND
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?
A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?
What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.
what is the difference between read and find ?
can i see the copy book length using file-aid ?
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 ?
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
How can I create 1 DDM that fetches 3 ADABAS files simultaneously?
How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?