What is the difference between External subroutine and
subprogram?
Answers were Sorted based on User's Feedback
Answer / arya
An External Subroutine has got access to the Caller's GDA
where in the subprogram does not have.
The subprogram is like blackboxes as they are not aware of
the caller's environemnt. They take only the parameters and
process it and return the values. e.g. One natural
subprogram can be called through middle tiers like Entirex
and Vitria from a different environment(Lets say a dot net
or java developed web interface).However a similar
interface can not call a natural external subroutine.
As far as calling is concerned you use callnat for
subprogram and perform for external subroutine.
| Is This Answer Correct ? | 32 Yes | 2 No |
Answer / nilesh
External subroutine can access GDA used by invoking onject
where Subprograms are not.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / karthik
I didnt use anytime external subroutines. I used
subprograms in many places , where we will define PDA.
using PDA , we can get and send the data. There might be
some difference in using GDA between external subroutine
and subprograms.
| Is This Answer Correct ? | 5 Yes | 6 No |
Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
what r the quality process in development
Can we see the copy book length using file-aid?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
can i see the copy book length using file-aid ?
Is it possible to declare a GDA for an external subroutine?
Types Of Read , FIND
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
what type of files we use in file-aid
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
control variable in online screens