OPSMVS - HOW TO OBTAIN THE CPCNAME VIA THE OPSINFO FUNCTION?
search cancel

OPSMVS - HOW TO OBTAIN THE CPCNAME VIA THE OPSINFO FUNCTION?

book

Article ID: 53241

calendar_today

Updated On:

Products

SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS OPS/MVS Event Management & Automation SOLVE

Issue/Introduction

In the OPS/MVS Command & Function Reference Guide for the OPSINFO function - page 4-71.

Use the variable 'hardwarename' to return the CPCNAME value that is displayed in the D M=CPU command.

var = OPSINFO('HARDWARENAME')

Returns the name of the processor configuration, or a null string if used on any z/OS release below 5.2.2.

This will return the CPCNAME value of the D M=CPU command:

CPC NAME = 'MF01'

Environment

Release:
Component: SOPMVS