Discovering which containers were returned from a link

A program creates a channel, which it passes to a second program by means of an EXEC CICS LINK PROGRAM(program-name) CHANNEL(channel-name) command. The second program performs some processing on the data it's been passed, and returns the results in the same channel (its current channel).

On return, the first program knows the name of the channel which has been returned, but not necessarily the names of the containers in the channel. (Does the returned channel contain the same containers as the passed channel, or has the second program deleted some or created others?) The first program can discover the container-names by browsing. To do this, it uses the commands: