CEEGIN — obtain the program's invocation name

This CWI returns the program name used to initiate this enclave.

Syntax

void CEEGIN (pname,[fc])
CHAR8     *pname;
FEED_BACK *fc;
CEEGIN
Call this CWI interface as follows:
L     R15,CEECAACELV-CEECAA(,R12)
L     R15,0120(,R15)
BALR  R14,R15
pname (output)
An 8-character fixed length string, left-justified and right-padded, containing the name of the routine that called the enclave.
fc (output/optional)
The feedback code passed by reference. The following conditions might result from this service:
Condition  
CEE000 Severity 0
Msg_No N/A
Message The service completed successfully.
CEE39A Severity 1
Msg_No 3370
Message The program invocation name is unknown and the returned name is blank.
Usage Notes:
  1. If the application is running under TSO and a CPPL is passed, the invocation name is obtained from the TSO command buffer, which is pointed to by the first word of the CPPL. (The CPPL is mapped by the IKJCPPL DSECT.)
  2. If the application is running under CICS®, the 4-character transaction name is obtained from the EIB.
  3. If the application is running under TSO without a CPPL, or under z/OS, the invocation name is obtained from the Contents Directory Entry (CDE) that has the same address as the application in question.