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
Can we change the password using ALTER? anyone tried and changed?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
what is the use of outrecord?
what are decleratives in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is redefines clause in COBOL?
What is the usage of comp fields in cobol?
How do define dynamic array in cobol.
Differentiate between structured cobol programming and object-oriented cobol programming.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is amode(31)
How do you get the data to code the BMS macro?
What is the problem of ordered sequential files access?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?