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 |
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
should I use Go back in the main program ? Yes we can use Go back in main program as well.
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
What is a report item?
diffrence between renames and redifnes with examples
can we use variable picture clause as xx.99 in cobol.
What is the local-storage section?
What is the difference between Perform para and perform asaection in cobol?
give the examples for strings and unstrings in cobol
what is the difference between start and startbr?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
In COBOL programming, what is PERFORM? What is VARYING?