IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

External Subroutines


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Visvanathan

New User


Joined: 25 Apr 2006
Posts: 5
Location: India

PostPosted: Tue Apr 25, 2006 10:54 am
Reply with quote

Hi,

I want the difference between External and Internal subroutines.
How is external subroutine different from a program?
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Tue Apr 25, 2006 8:31 pm
Reply with quote

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
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Tue Apr 25, 2006 8:58 pm
Reply with quote

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
View user's profile Send private message
Visvanathan

New User


Joined: 25 Apr 2006
Posts: 5
Location: India

PostPosted: Wed Apr 26, 2006 10:48 am
Reply with quote

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
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Apr 26, 2006 11:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
No new posts Usage of external condition PL/I & Assembler 1
No new posts CLOB Column data to External File usi... DB2 9
No new posts Add delay in External stored procedure DB2 1
No new posts ACESSING THE FILE NAME FROM ANOTEHR E... All Other Mainframe Topics 2
Search our Forums:

Back to Top