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 guidelines should be followed to write a structured cobol prgm?
Explain how to differentiate call by context by comparing it to other calls?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
For rewrite, why is it mandatory that file needs to be opened?
Have you used comp and comp-3 in your project? And how?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
how to convert the recors form vsam file to db2 table tru file aid
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
In which area will you utilize 88 level items in cobol?
Explain what you understand by passing by value.
Give some examples of command terminators?
What is link edit in cobol?
What is a report item?
How to remove 2 duplicate records and copy only one using job control language?
What do you understand by psb and acb?