How to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.
Answer / 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 |
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?
) what is the difference between AID and HANDLE AID?
) How do u handle errors in BMS macro?
What is the difference between binary search and sequential search?
The maximum number of dimensions that an array can have in COBOL-85 is ?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
What is the difference between CONTINUE & NEXT SENTENCE ?
What is the difference between SEARCH and SEARCH ALL?
How we copy a program from production region to development region.What is the process & syntax ?
What is the difference between Perform para and perform asaection in cobol?
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2