TranA may be run concurrently by any number of users, so there may be any number of ChannelA's being PUT at the same time, and hence any number of ChannelA's being 'got' at the same time. Is CICS able to tell which TranB gets which ChannelA, or will there be contention? ie. does the channel name have to be uniquely generated each time, eg ChanAxxx where xxx = some randomly generated string?
To ensure that programs cannot interfere with each others working storage, CICS obtains a separate copy of working storage for each execution of an application program. Thus, if a user application program is in use by 11 user tasks, there are 11 copies of working storage in the appropriate dynamic storage area (DSA).
01 INSURANCE-CHANNEL PIC X(20) VALUE 'INSURDETAILS'.
01 INSURER-NAME PIC X(20) VALUE 'INSRNAME'.
01 INSURED-NAME PIC X(20) VALUE 'INSDNAME'.
01 CITY PIC X(10).
for example if the transaction is run concurrently by two users copies of 2 working storage will be made.
does the channel name have to be uniquely generated each time, eg ChanAxxx where xxx = some randomly generated string?
no you need not generate the channel name uniquely.