You should be expecting a similar response as follows:
RESPONSE=PQRS
IST075I NAME = XXXXXXXX, TYPE = APPL SEGMENT
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST360I APPLICATIONS:
IST080I ABCDLU62 ACTIV
IST314I END
7. Select the DDNAME JESMSGLG of your IMS Control Region Started Task Address Space that is executing. Do an F APPC. The following messages would be of interest to you:
DFS1960I IMS HAS REQUESTED A CONNECTION WITH APPC/MVS. ABCD
The above message says that IMS has issued the APPC/MVS verb ATBIDEN to connect to APPC/MVS.
DFS1958I IMS CONNECTION TO APPC/MVS COMPLETE, LUNAME=YYYYYN01.ABCDLU62 ABCD
The above message indicates that the connection between APPC/MVS and IMS has been established. APPC/MVS has opened the local ACB of IMS. APPC/MVS LU 6.2 services are available to IMS. If the LU name is network qualified, it can be up to 17 bytes long. IMS can now receive messages from LU 6.2 devices and send messages to LU 6.2 devices using APPC/MVS services.
Remember Step 4? Since we had ensured that APPC=Y was specified on the IMS startup parameter, IMS established a connection with APPC/MVS during IMS initialization.
8. Issue the /DISPLAY ACTIVE IMS command. The following message from the command reply will be of interest to you:
IMSLU=YYYYYN01.ABCDLU62 APPC STATUS=ENABLED
9. If you wish to disable any APPC-related security, you would need to issue the following IMS command:
/SEC APPC NONE
The following messages from the command reply will be of interest to you:
DFS4445I CMD FROM MCS/E-MCS CONSOLE USERID=xxxxxxx: SEC APPC NONE ABCD
DFS058I 02:59:57 SECURE COMMAND COMPLETED ABCD
10. Step 4 is important here, too. If you don’t ensure that APPC=Y has been specified on the IMS startup parameter (the default being APPC=N; APPC=, is the same as APPC=N, as APPC=N is the default), a connection to APPC/MVS services is not established during IMS initialization.
In such a case, you wouldn’t come across the following two messages.
DFS1960I IMS HAS REQUESTED A CONNECTION WITH APPC/MVS. ABCD
DFS1958I IMS CONNECTION TO APPC/MVS COMPLETE, LUNAME=YYYYYN01.ABCDLU62 ABCD
Also, if you issue the /DISPLAY ACTIVE IMS command, you will see the following.
IMSLU=N/A.N/A APPC STATUS=DISABLED
In such a scenario, issue the following IMS command:
/STA APPC
This will start the APPC communication between IMS and APPC/MVS. After the command executes successfully, you will notice the following messages:
DFS4445I CMD FROM MCS/E-MCS CONSOLE USERID=xxxxxxx: STA APPC ABCD
DFS1960I IMS HAS REQUESTED A CONNECTION WITH APPC/MVS. ABCD
DFS058I 03:24:48 START COMMAND COMPLETED ABCD
DFS1958I IMS CONNECTION TO APPC/MVS COMPLETE, LUNAME=YYYYYN01.ABCDLU62 ABCD
Now, issue the /DISPLAY ACTIVE IMS command once again. You will now notice the following:
IMSLU=YYYYYN01.ABCDLU62 APPC STATUS=ENABLED
Congratulations! If you’ve completed these steps, you’ve figured out how to get APPC/MVS and IMS talking to each other.
Subhasish Sarkar, who specializes in different IBM Z mainframe technologies, is a senior SQA engineer at BMC Software India Pvt. Ltd.