How to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.



How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Than..

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

Post New Answer

More COBOL Interview Questions

What is length is cobol?

0 Answers  


What are the different rules for performing sort operation?

0 Answers  


how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

2 Answers  


01 b pic +9(4) How many bytes it will take for storage???

2 Answers  


How do we get current date from system with century in COBOL?

0 Answers   Winsol Solutions,






Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,


PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?

5 Answers   TCS,


can we use reference modification an arry.

1 Answers  


in the TIME parameter we r giving hours r minutes

4 Answers   IBM,


Why occurs can not be used in 01 level ?

2 Answers   TCS,


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


Categories