Ok thanks william...yes..it is known that if the program name is hard coded then it is static...and if a variable is used then it is dynamic....but is there any functional difference b/w calling a sub pgm by standard method and CICS LINK method....please explain...
Under older releases of CICS, Call statements were rarely used because called programs couldn't issue anyCICS commands. Because of that, the use of LINK commands became the norm in many COBOL shops. Even though this restriction has been lifted, many shops continue to use LINK commands. One reason for this is that you can use the LINK command to invoke a program on either a local or a remote system. A Call statement can only invoke a program on a local system.
If you don't need to invoke programs on remote systems, though, the Call statement can be more efficient than the LINK command in some situations. In particular, the Call statement is more efficient if it invokes the same program more than once within a single execution of the invoking program. If you use the LINK command, memory is allocated to the linked program and its working storage is initialized each time the
command is issued. In contrast, memory is allocated to a called program and its working storage is initialized only the first time it's called.