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 are the different types of condition in cobol and write their forms.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Discuss about changing dataset name in proc.
Mention the guidelines to write a structured cobol program?
What are different data types in cobol?
What is a SSRANGE and NOSSRANGE?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is amode(24)?
What are declaratives and what are their uses in cobol?
Give some examples of command terminators?
What are the different rules for performing sort operation?
Write down the divisions of cobol program?
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.
What is a scope terminator give example?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?