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

How do u identify STATIC or DYNAMIC CALL by looking main?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Identify Program Insert DB2 7
Search our Forums:

Back to Top