How do you invoke other programs? What are the pros and
cons of each method?

Answer Posted / adwait

In COBOL - CICS, other programs can be invoked in 2 ways.
1. CALL
2. LINK/XCTL

Pros - Call -
1. Progrm definition not required.
2. no limit of data passing

Cons - Call -
1. Static

LINK / XCTL
This is a CICS way of calling program
Dyanamic calling

Cons - Link -
1. Data can be passed up to fullword binary.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between PCT and FCT.

643


What is task control?

583


For protecting a transaction using the transaction security function, the two things that must be done are?

1804


Define the term mro (multi region operation)?

573


What is commarea (communications area)?

543






what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?

603


Explain how do you handle errors in cics programs?

544


mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?

731


Can you explain multitasking and multithreading?

694


cics command level is?

646


what are the differences between and exec cics xctl and an exec cics link command?

704


What does a cics translator do?

932


Explain the difference between dfhcommarea and tsq?

550


In a particular cics program, what is the procedure to allocate dynamic memory?

734


How to define a vsam file in cics getting into cics to define a vsam file.

603