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 |
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
how to convert the recors form vsam file to db2 table tru file aid
Write down the divisions of cobol program?
TYPES OF SORTINGS. which is more prefarable.
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
) how do u code after getting data?
What are the different rules to perform a Search?
can we read in input the file with a variable length ? please , how ..could you help me ?
How does IDMS communicate with CICS?
How do pass the values to the parameters in cobol
How can you pass values from COBOL program to non-COBOL programs?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?