View previous topic :: View next topic
|
Author |
Message |
Visvanathan
New User
Joined: 25 Apr 2006 Posts: 5 Location: India
|
|
|
|
Hi,
I want the difference between External and Internal subroutines.
How is external subroutine different from a program? |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Visvanathan,
I can find no direct reference to 'EXTERNAL' or 'INTERNAL' SUBROUTINES, but what I think you are referring to by 'EXTERNAL' is a separately compiled program, and by 'INTERNAL' is a nested program compiled within another. See the link below.
Nested Programs
If this does not answer your question, please come back.
Dave |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
These two terms are used in SAG Natural. INTERNAL is a subroutine coded within the executing program/subprogam with a DEFINE SUBROUTINE.. END SUBROUTINE command verb.
A subroutine created as an element in Natural is the EXTERNAL Subroutine. |
|
Back to top |
|
|
Visvanathan
New User
Joined: 25 Apr 2006 Posts: 5 Location: India
|
|
|
|
Okie..Thanks a lot.
1 more query. How is Static and Dynamic call differ?
2 How will I pass a value from JCL to a Source? I need the syntax for both the cases. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Visvanathan,
Both of your questions have been greatly discussed in the forums.
Please do searches for them. If your have trouble, or still don't understand, please come back.
Dave |
|
Back to top |
|
|
|