Can you have CICS code in a copybook? If yes, what happens
during compilation?

Answer Posted / abhijit

Yes you can definitely have CICS commands in a copy book.
The prerequisite is that you need to first compile the copy
book as CICSEXEC(in case you are using endevor) type. Or
else you can compile it with any JCL that has a precompiler
step in it. Once the copy book is compiled then it can be
used in the application program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How errors are handled in CICS programs?

650


Name the command which is used to release a record on which exclusive control is gained?

580


What is the common work area?

552


Define communication area?

571


How do we pass parameters into a CICS –DB2 program

3651






What is the pic clause for the data type of length option field type of data fields?

558


What is frset?

574


Can you explain multitasking and multithreading?

700


Explain the difference between and exec cics xctl and an exec cics link command?

570


Explain how do you set the mdt option to on status, even if data is not entered?

608


Can a CICS code be a part of a copybook? If so, then what are the outcomes after compilation?

628


Name the 3 common ways to create maps?

545


Define exec cics retrieve?

694


What is DEQ?

604


Define an asra?

563