Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

External Subroutines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: External Subroutines
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    Post subject: Re: External Subroutines
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    Post subject:
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    Post subject: Re: External Subroutines
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    Post subject: Re: External Subroutines
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am
No new posts LOAD TIMESTAMP EXTERNAL: CONVERSION E... Auryn DB2 8 Wed Jul 02, 2014 3:36 pm
No new posts "External Trigger" in DB2 o... Anil Khanna DB2 2 Tue Dec 03, 2013 11:08 am
No new posts Same EXTERNAL DEPENDENCIE resolve for... dbordon All Other Mainframe Topics 3 Tue May 08, 2012 7:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us