What is the difference between External subroutine and
subprogram?

Answers were Sorted based on User's Feedback



What is the difference between External subroutine and subprogram?..

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

What is the difference between External subroutine and subprogram?..

Answer / nilesh

External subroutine can access GDA used by invoking onject
where Subprograms are not.

Is This Answer Correct ?    6 Yes 1 No

What is the difference between External subroutine and subprogram?..

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

Post New Answer

More Natural Interview Questions

Explain the like inverted list?

0 Answers  


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?

0 Answers  


COuld you please let me know along with a sample on how are you going to remove duplicates from the file that is being read. Thanks Sam

2 Answers   TCS,


how we can find occurence of MU and PE fileds in a file?

2 Answers  


Explain why do we use file-aid for seqential files?

0 Answers  






Explain how many work file we can code in jcl?

0 Answers  


Types Of Read , FIND

2 Answers  


how many work file we can code in jcl?

2 Answers  


why do we use file-aid for seqential files?

1 Answers   Tech Mahindra,


Explain the difference between external subroutine and subprogram?

0 Answers  


How to receive data passed through jcl parm parameter in a natural program?

0 Answers  


Explain how to move cursor to a particular field when position is not known?

0 Answers  


Categories