OPS/MVS

 View Only

 What is OPSINFO('MSTCONSNM') supposed to return?

Jump to  Best Answer
Marcel van Ek's profile image
Marcel van Ek posted Nov 12, 2024 05:48 AM

In every condition we code OPSINFO('MSTCONSNM') it returns null string. 

Acc to doc that should only happen in a no-consoles condition, but we have plenty, both in a local environment as well as sysplex environments. 

Is this parm obsolete these days? I'd expect to get the first AUTH(MASTER)  console in the plex/local to be returned?

The OPSINFO('LOCMSTCONSNM') does return the first LOCAL mstr auth console always, but we need the plex console.

(Its been a few years I had to deal with all the console changes...)

John Slenska's profile image
Broadcom Employee John Slenska  Best Answer

This function is now documented as obsolete in the "Obsolete Features" and "OPSINFO Function" TechDocs topics.

Marcel van Ek's profile image
Marcel van Ek

No one? I'd expected someone from Broadcom at least knows the answer....

Michael Patriarco's profile image
Broadcom Employee Michael Patriarco

Marcel, 

There's been a few emails going around the office on this topic. 
I'll get someone to give you an update today. 

Michael 

Anthony Mannino's profile image
Broadcom Employee Anthony Mannino

Hi Marcel, we found this note which seem to indicate the functionality is deprecated. We will have research the possibility of an enhancement that returns plex consoles.

Use LOCMSTCONSNM in place of MSTCONSNM                                
 Since z/OS 1.8 and higher systems do not use master consoles, this    
 function will always return a zero length (null).  
                  
 var = OPSINFO(LOCMSTCONSNM)                     

Marcel van Ek's profile image
Marcel van Ek

Thanks Antony, I seem to recall that now (been a while ;) ), but an enhancement to show the sysplexmaster would be nice. (or 1st plex console)