How can I force a specific value for the SSID on the CA Database Management Solutions for DB2 for z/OS main menu?
From my ISPF panel I have multiple options that correlate to specific DB2 subsystems. i would like to ensure the SSID value on the CA DB2 Tools' main menu has
the correct SSID value for that given panel selection. From the following calls to RSPMAIN on my main ISPF panel how would I accomplish this?
5,'CMD(%RSPMAIN PARMLIB(SYS4.CAI.DBAP.CDBAPARM) SUFFIX(AP)'
6,'CMD(%RSPMAIN PARMLIB(SYS4.CAI.DB8P.CDBAPARM) SUFFIX(8P)'
The following recommendations were made to facilitate this:
Add the ENV variable to the call to %RSPMAIN that is the subsystem value:
5,'CMD(%RSPMAIN PARMLIB(SYS4.CAI.DBAP.CDBAPARM) SUFFIX(AP) ENV(DBAP)'
6,'CMD(%RSPMAIN PARMLIB(SYS4.CAI.DB8P.CDBAPARM) SUFFIX(8P) ENV(DB8P)'
Then, add the following lines in the RSPMAIN clist:
SET &SYS = &ENV <----Add this line right after the 'END /* &ZAPPLID NE &STR(RC) */ ' statement
ISPEXEC VPUT (HIGHLVL PROFILE SYS) <----Add SYS to the ISPEXEC VPUT statement that immediately follows the newly added SET statement.