If you got CPF7217 :
Not authorized to run advanced analysis command SSDGAUGE
Cause . . . . . : The reason code is X'0000000000000001'. Reason codes and their meaning follow:
1 - The user profile SOMEUSER is not linked to a service tools user ID.
2 - The linked service tools user ID does not have the proper functional privileges to run the SSDGAUGE advanced analysis command.
You have to link some SST profile with profile under with you are running failing command.
You can do this in STRSST environment.
STRSST
After login use this option
8. Work with Service Tools Server Security and Devices
and
1. Work with Service Tools User IDs
on preferred SST profile use option
9=Link/Remove link
and put system profile you want to link with this SST profile
Link Service Tools User ID
System: CZADM1
Service tools user ID . . . . . . . : SSTPROFILE
Type a choice, press Enter.
User Profile . . . . . . . . . . : SYSPROFILE ID, *NONE