What is the difference between External subroutine and
subprogram?
Answer Posted / 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 |
Post New Answer View All Answers
Explain control variable in online screens?
Explain how many work file we can code in jcl?
Can you explain control variable in online screens?
Explain why do we use file-aid for seqential files?
Explain difference between read(1) and read work file once?
The natural file converted to PDF file if Yes then explain ?
How to find occurrence of mu and pe fields in a file?
How to receive data passed through jcl parm parameter in a natural program?
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 a hyperdescriptor?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Tell me what type of files we can process thru file-aid?
What is a hyperdescriptor? How does it work?
Explain the address converter?