I need to be able to ACQUIRE a RELEASED CONN from the SYSVIEW SCREEN.
We have learned that CREMOTE only works with only one LPAR at a time, our REXX based CONNection scanner can only be performed on one LPAR manually.
After the script has ended, can it do a XSCONN ?
And then reissue the CONN scan for each online LPAR?
The REXX API does not support the XSYS type commands-even though we can do them manually.
add the following to your *.CNMB4PRM(LINECMDS) member.
RXDISP.RESETLNK RESET 3 DESC 'Reset connection'
OPTS ACT CMD CONFIRM RESET LINK REGION &F_REGION + ;CICSSET JOB &F_REGION + CEMT SET CONN(&F_Sysid) INS + ;FILL CMD ' ' 1-999 + ;wait 5 seconds + ;CICSSET JOB &F_REGION + CEMT SET CONN(&F_Sysid) ACQ
The example I provided issues the INS against the Sysid which I assume is the connect name you are looking for, then waits 5 seconds, then issues the ACQ.
Unfortunately in my environment I wasn't able to confirm that CICS actually resets the stats but it did issue the commands to the region properly.
Note the RXDISP is required and the RESETLNK was the name I am testing with for the REXX execute.
If you have changed your REXX execute to a different name you will need to change RESETLNK to what ever that name is.
When you update LINECMDS member and save, you will want to issue 'LISTLCMD RELOAD' to reload the LINECMDS member into your SYSVIEW.
After issuing 'RXDISP RESETLNK', it returns your list of failed links, you would then enter RES on the line next to one of the connections.
If you have SET CONFIRM ON, you will need to respond 'YES', otherwise the command will go ahead and be issued.
You may have to issue 'RXDISP RESETLNK' again to refresh the contents.