Interview Questions   Tutorials   Discussions   Programs   

CICS - The DFHCOMMAREA is used to pass information from one application to another. What are some other ways?




498
views
asked mar September 7, 2014 11:51 AM  

The DFHCOMMAREA is used to pass information from one application to another. What are some other ways?


           

2 Answers



 
answered By Mswami   0  
  • By using a temporary storage queue

  • By using an intrapartition TDQ

  • By using the Task Work Area

  • By using TCTUA

  • Through a file.

flag   
   add comment

 
answered By Mswami   0  

Data can be passed between CICS programs in three ways- COMMAREA, TRANSIENT DATA QUEUE & TEMPORARY STORAGE QUEUE.

Data can be passed to a called program using the COMMAREA option of the LINK or XCTL command in a calling program. The called program may alter the data content of COMMAREA and the changes will be available to the calling program after the RETURN command is issued in the called program.

This implies that the called program does not have to specify the COMMAREA option in the RETURN command.

If the COMMAREA is used in the calling program, the area must be defined in the Working Storage Section of the program (calling), whereas in the called program, the area must be defined as the first area in the Linkage Section, using reserved name DFHCOMMAREA.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert