Why doesn?t CICS use the Cobol Open and Close statements ?

Answer Posted / bobby

CICS files should not be defined in CICS programs using SELECT and FD clauses. Also, OPEN and CLOSE statements need not be given inside the program.

Files can be opened and closed using the CICS command
CEMT I FILE and then issuing an 'o'pen or a 'c'lose.

Files can be defined in CICS by CEDA command.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the differences between and exec cics xctl and an exec cics link command?

711


how a data in physical and symbolic map gets treated? Since the physical map is much concerned about the screen alignment and the field positions, how the values entered in the field which has PICIN or PICOUT clause in Physical map gets treated? Does that mean datas recieved or sent to the physical map should be constant? How does the data in Symbolic map gets converted with 5suffix namely F,L,A,I and O. For example EMPNO is treated as EMPNOI, EMPNOO, EMPNOA, EMPNOL and EMPNOF. how does this happen in symbolic map. Please provide your inputs on the above and kindly correct me if I am wrong.

2214


What is the use of mdt (modified data tag)?

613


Explain cedf transaction commands?

629


mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?

643






How errors are handled in CICS programs?

647


What are the recoverable cics resources?

600


Can you define cics task?

631


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

626


What is the cics command that is used to access current date and time?

581


Add a field to screen when what's the flow of impact?

2415


what are the commands used to gain exclusive control over a resource?

679


List out all the tables that are a part of cics ?

584


What is the meaning of the enq command?

592


What is meant by an AICA ABEND?

669