Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snalu62_deallocate(3) — SNA APPC LU6.2 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

snalu62_deallocate(3)  —  Subroutines

 
 
 
 

Name

snalu62_deallocate − Deallocates a conversation between the local transaction program and a remote transaction program. 
 
 
 

FORMAT

STATUS_RTN snalu62_deallocate(
     RES_ID resource,
     STATUS_VEC status_vec,
     UINT32 type,
     BUFFER ∗log_data,
     UINT8 ∗exp_data_recv,
     ASYNC_INFO ∗wait_object
     );
 
 
 
 

Valid Conversation States

 
For snalu62_deallocate(type=SNALU62_C_FLUSH):

 
##Send

 
For snalu62_deallocate(type=SNALU62_C_CONFIRM):

 
##Send, Deallocate-Pending

 
For snalu62_deallocate(type=SNALU62_C_ABEND_∗):

 
##All except Reset, Deallocate,
 and Deallocate-Pending

 
For snalu62_deallocate(type=SNALU62_C_LOCAL):

 
##Deallocate

 
For snalu62_deallocate(type=SNALU62_C_SYNC_LEVEL):

 
##Send
 
 
 

Arguments

 

resource
 
A RES_ID structure assigned to the conversation by the interface. This ID was returned by the snalu62_allocate, snalu62_attach_listen, or snalu62_receive_allocate verb. 
 
 

status_vec
 
A pointer to a STATUS_VEC array to receive the completion status information. 
 
 

type
 
A UINT32 value specifying the type of deallocation that the interface should perform.  Specify one of the following values:
 

•SNALU62_C_SYNC_LEVEL (the default)

Specifies that the interface should perform deallocation based on the synchronization level of the conversation. 

•SNALU62_C_FLUSH

Specifies that the interface should precede the deallocation operation by a call to the snalu62_flush verb. 

•SNALU62_C_CONFIRM

Specifies that the interface should precede the deallocation operation by a call to the snalu62_confirm verb. 

•SNALU62_C_ABEND_PROG

Specifies that the interface should precede the deallocation operation by a call to the snalu62_flush verb and that it should deallocate the conversation abnormally.  Use this option when your transaction program detects an error in the behavior that it expects. Using this option returns the sense code 0x08640000. 

•SNALU62_C_ABEND_SVC

Specifies that the interface should precede the deallocation operation by a call to the snalu62_flush verb and that it should deallocate the conversation abnormally.  Use this option when your transaction program detects an interface error. Using this option returns the sense code 0x08640001. 

•SNALU62_C_ABEND_TIMER

Specifies that the interface should precede the deallocation operation by a call to the snalu62_flush verb and that it should deallocate the conversation abnormally.  Use this option when your transaction program has not received data within a certain amount of time determined by your transaction program. Using this option returns the sense code 0x08640002. 

•SNALU62_C_LOCAL

Specifies that the interface should deallocate the resources for a conversation that has already been deallocated by the partner transaction program. 
 
 

log_data
 
A pointer to a BUFFER structure specifying log data that the interface should send when the type parameter is any of the SNALU62_C_ABEND_∗ values.  The buffer contains a single logical record.  The logical record consist of a 2-byte length field followed by a data field.  The high-order bit of this length field is not used.  The remaining 15 bits contain the length of the record (including the 2-byte length field). Therefore, the maximum length of the data field is 32,765 bytes and logical-record length values of 0 and 1 are invalid.  Supply this parameter in ASCII format; the interface translates it to EBCDIC. 
 
 

exp_data_recv
 
This parameter is a place holder. The functionality represented by this parameter is not implemented.
 
 

wait_object
 
A pointer to an ASYNC_INFO structure specifying whether the interface should process this verb in a blocking or non-blocking manner. 
 
 
 

Description

 
 
When the verb completes, the conversation that has been using the session ends.
 

 
 
snalu62_deallocate(type=SNALU62_C_ABEND_∗) is an abrupt termination that closes both sides of the conversation simultaneously.  The type of ABEND deallocation controls the specific sense code that the interface transmits with the deallocate abend.  Refer to the following table for more information. 
 

 
SNALU62_C_ABEND_PROG@0x08640000@T{ Deallocate ABEND Program T} SNALU62_C_ABEND_SVC@0x08640001@T{ Deallocate ABEND Service T} SNALU62_C_ABEND_TIMER@0x08640002@T{ Deallocate ABEND Timer T}

 
 

Return Values

 

SNALU62_S_OK
normal successful completion

SNALU62_S_ALLERR
conversation could not be allocated

SNALU62_S_CONVCANC
conversation canceled

SNALU62_S_DEABPR
deallocate abend program

SNALU62_S_DEABSVC
deallocate abend services

SNALU62_S_DEABTIM
deallocate abend timer
 

SNALU62_S_FMHNOT
user control data (FMH) not supported

SNALU62_S_MAPEFAI
map execution failure

SNALU62_S_MAPNFOU
map name not found

SNALU62_S_MAPNSUP
mapping not supported

SNALU62_S_OPINCOMP
non-blocking operation not completed

SNALU62_S_OPNOTACC
non-blocking operation not accepted

SNALU62_S_PARERR
parameter error, function-name

SNALU62_S_PRERPU
program error purging

SNALU62_S_PRGPARCHK
program parameter check

SNALU62_S_RESFNO
resource failure no retry

SNALU62_S_RESFRET
resource failure retry

SNALU62_S_STAERR
LU6.2 verb function-name invalid with conversation in current state

SNALU62_S_SVCERPU
service error purging

SNALU62_S_UNSUC
verb did not execute successfully
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026