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 |
Can we move X(9) to 9(9). If yes what are the ways for doing this?
What guidelines should be followed to write a structured Cobol program?
how can we code index in an array of cobol pgm?
What is R-mode and A-mode?
how to access vsam files in cobol and how to differentiate that this is ESDS file
how to move the records from file to array table. give with code example
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
What is SDSF?
A s9(4). B v9(4) value 0.21 can i move this?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.