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
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the local-storage section?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
i need a small 3d program using inline and outline.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between comp and comp-3?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
what is search and searchall?what is the diffrence between them?give an best example?
) what is the difference between AID and HANDLE AID?