1.Does this channel name need to be same in PGMA and PGMB
The channel name should be same on PGMA and PGMB.
2.Do we have to declare this channel and container name any where in working , linkage or dfhcomarea?.If not in linkage then how data will be transffer to PGMB.
The channel and corresponding conatiners can be declared in working storage section or they can be in a copybook. If declared in a copybook pls include the copybook in PGMA and PGMB or if in ws section pls have the same structure in PGMA and PGMB. With channels and containers we need not declare the passing data in working storage of PGMA and the same in linkage section of PGMB. CICS will handle, identifying the channels and containers passed between the pgms.
3)In PGMB how to receive this container data.Is it via GET CONTAINER.If yes, do we have to declare channel or container it in linkage section?
Yes, you have to use GET CONTAINER to retrieve the data. No need to declare channel or container in linkage section.