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
What is difference between static and dynamic call in cobol?
What is report-item in COBOL?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
In COBOL programming, what is PERFORM? What is VARYING?
Write down the divisions of cobol program?
How arrays can be defined in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
how to convert the recors form vsam file to db2 table tru file aid
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How do define dynamic array in cobol.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the variable block file formats from cobol programs
Which Search verb is equivalent to PERFORM…VARYING?
What is the difference between external and global variables in COBOL?
What are the cobol coding sheets?