Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How do u identify STATIC or DYNAMIC CALL by looking main?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
asvijay

New User


Joined: 13 Jul 2006
Posts: 11

PostPosted: Fri Jul 28, 2006 12:14 pm    Post subject: How do u identify STATIC or DYNAMIC CALL by looking main?
Reply with quote

Hi,
Is there any keywords in cobol program to mention/identify whether the subroutine is called using DYNAMIC or STATIC call? I know the option can be given in the compiler. but i want to know in cobol program. pls help me out.
Back to top
View user's profile Send private message

DavidatK

Active Member


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

PostPosted: Fri Jul 28, 2006 7:12 pm    Post subject: Re: How do u identify STATIC or DYNAMIC CALL by looking main
Reply with quote

Subroutine calls like

CALL WS_SUBR_NAME USING ARG1.

Are always dynamic.

Subroutine calls like

CALL 'SUBNAME' USING ARG1.

Can be either Static or Dynamic, depending on the compiler options. To make a determination, you will first have to look at the compiler options.

Dave
Back to top
View user's profile Send private message
asvijay

New User


Joined: 13 Jul 2006
Posts: 11

PostPosted: Fri Jul 28, 2006 7:44 pm    Post subject:
Reply with quote

Thanks 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us