Which is more efficient - the external subroutine or a
copycode coded in to a NATURAL program? And Why?
Answers were Sorted based on User's Feedback
Answer / wing
Copy code is compiled into the program whereas a subprogram
must be called and potentialy passed parrameter.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / nitin
External subroutine is more efficient
1. It does not increase the size of object module of the
calling module
2. no need to compile all the calling modules after change
Is This Answer Correct ? | 6 Yes | 14 No |
How to create 1 ddm that fetches 3 adabas files simultaneously?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
what type of files we use in file-aid
Is it possible to declare a GDA for an external subroutine?
If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?
Explain how are you going to remove duplicates from the file that is being read?
Would like to know if have an expecific command that returns a code or something about the execution of a CALLNAT. For example ... CALLNAT 'SUBPRG' [parameter] [parameter] ... [here comes a code or command that checks if the CALLNAT was successful]
Can you explain control variable in online screens?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
How can we see the copy book length using file-aid?
Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.
How do you pass data from a Natural Program to an External Subroutine? Can it share the LDA of Program as in Internal Subroutine.