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 how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

0 Answers  


Tell me what type of files we can process thru file-aid?

0 Answers  


what is the difference between read and find ?

2 Answers   IBM,


How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?

5 Answers   JPMorgan Chase,


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

0 Answers  






What is cobol coding sheet?

0 Answers  


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 ?

6 Answers   IBM, TCS,


Explain how are you going to remove duplicates from the file that is being read?

0 Answers  


What is the quality process in development?

0 Answers  


How do you pass GDA into a sub program with out PDA?

2 Answers   IBM,


Describe the COBOL coding sheet

2 Answers   Cap Gemini, Royal Infotech,


What is a hyperdescriptor?

0 Answers  


Categories