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?

Showing Answers 1 - 6 of 6 Answers

Dipali

  • Feb 15th, 2006
 

i think there will be

  Was this answer useful?  Yes

gowri

  • Feb 23rd, 2006
 

load modules should be 4 ( 1 for main + 3 for dynamic )

  Was this answer useful?  Yes

Culver_lake

  • Mar 18th, 2006
 

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.

  Was this answer useful?  Yes

Culver_lake

  • Mar 28th, 2006
 

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.......

  Was this answer useful?  Yes

prasad yadav

  • Aug 20th, 2006
 

here

3 load modules for dynamic call

1 load module for static call

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions