Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
What is a connection z/OS MVS Programming: Sysplex Services Guide SA23-1400-00 |
|
An XCF note pad Connection has the following:
To access the notes in a note pad, your program must first create a connection to the note pad. When creating a connection, the application indicates the name of the note pad to which the connection is to be established. It also provides a description of the connection, static information about the connection, and an indication of whether the connection is to be used strictly for reading notes or whether it is to be used to update notes in the note pad. XCF sets the connection token and connection ID upon successful creation of the connection. The connection scope is derived by XCF from the security environment that exists when the connection is created. The connection will either have address space scope or task scope. The usage classification indicates how the application intends to use the connection. The primary purpose of the usage classification is to provide a way for authorized programs to create connections that can be used by a user that is not the connector. The application specifies the termination scope to bind the connection to a particular task or address space. If the indicated task or space terminates, the connection is deleted by XCF. In general, an application must create one connection for each
address space that needs to access the note pad. XCF limits the number
of connections that can be created for a given address space. The
limit depends on the installed level of the XCF Note Pad Services.
See Note pad related limits for more
information.
Note: A connection created for either server usage or
client usage needs but one connection from the server address space,
even though the note pad can be accessed from work units that originate
in an arbitrary address space.
Once created, a note pad connection persists until it is explicitly
deleted or fails. A connection is explicitly deleted when a program
issues the IXCNOTE macro to delete it. A connection fails and is implicitly
deleted when any of the following activities occur:
XCF does not provide a programmatic way to get information about peer note pad connections. If an application requires awareness of its connections, it must devise its own means of discovering this information. You might consider using notes in your note pad to do this. For example, create a nonpersistent note to represent your connection. You might establish a convention of using a tag value of zero for these notes alone. A multi-note read request with tag selection criteria for tag value zero would then return a note for each connection. Since a nonpersistent note is automatically deleted by XCF when the connection terminates, the returned notes would only include the current connections. |
Copyright IBM Corporation 1990, 2014
|