GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 7 of 55    Print  
Can i call 5 pgms using static call n 3 pgms using dynamic call in a single pgm, if then how many load modules will be there? What about the compiler option(parm)to use?

  
Total Answers and Comments: 6 Last Update: August 20, 2006     Asked by: upendar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 15, 2006 05:57:57   #1  
Dipali        

RE: can i call 5 pgms using static call n 3 pgms using...
i think there will be
 
Is this answer useful? Yes | No
February 23, 2006 03:18:56   #2  
gowri        

RE: can i call 5 pgms using static call n 3 pgms using...
load modules should be 4 ( 1 for main + 3 for dynamic )
 
Is this answer useful? Yes | No
March 01, 2006 07:56:51   #3  
soumya_dev Member Since: February 2006   Contribution: 9    

RE: can i call 5 pgms using static call n 3 pgms using...
NODYNAM compiler option
 
Is this answer useful? Yes | No
March 18, 2006 21:44:02   #4  
Culver_lake Member Since: March 2006   Contribution: 46    

RE: can i call 5 pgms using static call n 3 pgms using...
NO The calling program is compiled with either DYN which means dynamic calls or NODYN which means static calls. It's one or the other.
 
Is this answer useful? Yes | No
March 28, 2006 16:02:35   #5  
Culver_lake Member Since: March 2006   Contribution: 46    

RE: can i call 5 pgms using static call n 3 pgms using...

after some research I am going to retract my previous comment in lieu of another. If you really need to do this in COBOL compile the program with the NODYN option. use the CALL Literal format for the static calls (5 of them) and the CALL IDENTIFIER format (which is always dynamic) for the other 3.

example of call literal

CALL 'PROGRAMX' USING.......

example of call identifier

MOVE 'PROGRAMX' to WS-NAME. (WS-NAME is a PIC X(8) field)

CALL WS-NAME using.......


 
Is this answer useful? Yes | No
August 20, 2006 06:50:32   #6  
prasad yadav        

RE: can i call 5 pgms using static call n 3 pgms using...

here

3 load modules for dynamic call

1 load module for static call


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape