| GPCNC (ncid, conn, len, spec) |
Purpose
Use GPCNC to establish access to a nucleus from your application. The nucleus allows your application to access resources, such as a workstation and a structure store, for graphics processing.
This subroutine must be invoked in order to communicate with a nucleus. Your application may choose to invoke this subroutine or have the graPHIGS API invoke this subroutine for your application as part of nucleus connection processing
When the graPHIGS API performs nucleus connection processing, it connects to a nucleus (GPCNC) with an identifier set to a value of one, creates a structure store (GPCRSS) with an identifier set to a value of one, and selects that structure store (GPSSS) for editing. This may be done as follows:
For information about nucleus connection, see The graPHIGS Programming Interface: Understanding Concepts
For the available nucleus connection methods, connection specifications, and information concerning Application Defaults Interface Block (ADIB) and External Defaults File (EDF), see The graPHIGS Programming Interface: Technical Reference
Parameters
The connection methods that are supported for each combination of nucleus and application environments are summarized in the following table:
Figure 1. Nucleus/Application Environment
Application Environment
VM MVS AIX 6090
-------------------------------------
| | | | |
VM | CALL | N/A | N/A | N/A |
|-----------------------------------|
| | | | |
Nucleus MVS | N/A | CALL | N/A | N/A |
Environment |-----------------------------------|
| | | CALL or | |
AIX | N/A | N/A | SOCKETS | N/A |
|-----------------------------------|
| | | | |
6090 | GAM | GAM | N/A | SOCKETS |
-------------------------------------
Figure 2. Application Environment/Connection Method
Connection Method
1=CALL 2=GAM 3=SOCKETS
------------------------------------------
| Null | Filedef | |
VM |(length = 0) |(length =>8)| N/A |
|----------------------------------------|
| Null | DDNAME | |
Application MVS |(length = 0) |(length =>8)| N/A |
Environment |----------------------------------------|
| Null | N/A | Nucspec* |
AIX |(length = 0) | |(length >= 2)|
|----------------------------------------|
| N/A | N/A | :0 |
6090 | | |(length = 2) |
------------------------------------------
Error Codes
Related Subroutines
RCP code
201337601 (X'0C002B01')