Executing the VARS command in SYSVIEW returns about 1500 lines, while the data returned via the API are much less.
SYSVIEW R16.0 and prior releases
Total variable for all components should be about 1527.
CICS MVS MQ = 1149
IMS JVM TCP = 378
The exact number if CICS related variables or metrics will vary based on whether your current target ASID is a CICS region. If a CICS, only those variables valid for the CICS release will be displayed. It can vary slightly by release.
By default, the VARS command will display all variables from all components if the VARS command is entered with no parameters.
Entering the following VARS command, only CICS MVS and MQ variables would be returned:
VARS CICS MVS MQ
The possible cause could be having initial parameters specified in the own profile for the VARS command.
To determine this, enter the following:
PROFILE VARS
Select the "Miscellaneous" section
Look the line: "Default parameters"
Or, from the VARS command display, enter:
QUERY DEFAULTPARMS
Entering VARS ALL will show you everything regardless of whether they are enabled or disabled.