How to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.

Answer Posted / guest1

1) Compile your cobol program and keep in the LOAD LIB.
2) Your CICS program's PROCEDURE DIVISION should be coded as
PROCEDURE DIVISION USING DFHEIBLK, DFHCOMMAREA, <your
variable>
3) Define your variable in Linkage section
4) Call the sub program in your CICS coce.
5) Compile the COBOL + CICS coding(Ensure that the cobol
LIB is added).
6) Give CEMT Command in CICS Region and type your
transaction it.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


What is the use of intialize verb?

750


how to access the file from prodution from changeman tool and to submit a file to production

6686


Whats the difference between search & search ALL?

5264


Why would you use find and get rather than to obtain?

690






Describe the cobol database components?

682


What is the difference between perform … with test after and perform … with test before?

883


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


What is the utilization of copybook in cobol?

657


What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


Difference between cobol and cobol-ii?

708


What is perform what is varying?

711


What are literals?

632


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


Write some characteristics of cobol as means of business language.

619