What value is set for the CA Gen globdata structure field PSMGR-RUNTIME-TYPE in a Windows/C environment.
search cancel

What value is set for the CA Gen globdata structure field PSMGR-RUNTIME-TYPE in a Windows/C environment.

book

Article ID: 205281

calendar_today

Updated On:

Products

Gen

Issue/Introduction

A new feature on z/OS and COBOL populates the CA Gen PSMGR-RUNTIME-TYPE field when running on z/OS. 
What value is set for the equivalent globdata structure field psmgr-runtime-type in a Windows/C environment?

Environment

Release : 8.6
Component : CA Gen Run Time, GUI
Component : CA Gen Run Time, Distributed

Resolution

Gen Engineering advised that the corresponding Windows/C globdata psmgr_runtime_type field is only set in the Gen Windows GUI C runtime and the value is "GUI". Other Gen Windows/C applications do not have any value set in their runtime.

L1 Support also verified the same results using an External Action Block (EAB) using a work set attribute psmgr_runtime_type defined as Text with length 4 to access the "globdata->psmgr_runtime_type" value i.e.
 - Only a Windows GUI C Client (fat client or cooperative client) has any value set and it is "GUI"
 - For Windows C Cooperative server and Online C (block mode) applications, there is no value set.

Additional Information

1. External Action Block (EAB) user-written code used:

/*    User-written code should be inserted here   */
Tistrcpy(a_0174063726_ioa->l000l01.psmgr_runtime_type_001,
    globdata->psmgr_runtime_type,
    sizeof(a_0174063726_ioa->l000l01.psmgr_runtime_type_001));

Where a_0174063726_ioa is the export view.


2. Related z/OS enhancement for "COBOL Runtime Population of PSMGR-RUNTIME-TYPE Field in GLOBDATA Structure" can be found on the Gen 8.6 Release Notes > New Features page:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/devops/ca-gen/8-6/release-notes/new-features.html