RPL RTNCD and FDB2 return code combinations

This section describes all the RTNCD-FDB2 combinations that can be set in an RPL when it is posted complete. See z/OS Communications Server: SNA Programming for information about return code posting.

RTNCD FDB2 Explanation
0 0 Normal completion or request accepted

The operation has been completed normally or the request has been accepted.

RTNCD FDB2 Explanation
0 5 Input area too small

You issued INQUIRE, INTRPRET, or OPNDST OPTCD=RESTORE and specified an input work area that is too small. VTAM® has placed the required length (in bytes) in the RPL's RECLEN field (for INQUIRE) or ARECLEN (for INTRPRET). No data has been placed in the work area.

Obtain a work area that is at least as long as the value set in RECLEN or ARECLEN, place the length in the AREALEN field (for INQUIRE) or AAREALN (for INTRPRET), and reissue INQUIRE or INTRPRET.

RTNCD FDB2 Explanation
0 6 No input available

A RECEIVE OPTCD=NQ was issued and there was no input of the specified RTYPE available to satisfy the macroinstruction, or a RCVCMD OPTCD=NQ was issued and there was no input available to satisfy the macroinstruction.

RTNCD FDB2 Explanation
0 7 INQUIRE information not available
One of the following situations has occurred:
  • You issued INQUIRE OPTCD=LOGONMSG to obtain user data (a logon message) from a queued CINIT and there is no queued CINIT.
  • You issued INQUIRE OPTCD=SESSPARM to obtain session parameters from a queued CINIT and there is no queued CINIT.
  • You issued INQUIRE OPTCD=SESSKEY to obtain the session cryptography key, and there is no session cryptography key.
  • You issued INQUIRE OPTCD=DEVCHAR for a cross-domain resource.
  • You issued INQUIRE OPTCD=TOPLOGON for queued CINITs, and there are no queued CINITs.
  • You issued INQUIRE OPTCD=CIDXLATE for a session that has not been established.
  • You issued an INQUIRE OPTCD=USERVAR and no USERVAR was defined.
  • You issued an INQUIRE OPTCD=PERSESS, and no record application program interface sessions are pending recovery.

The problem might be due to an incorrectly set NAME field in the NIB, an CID that is not valid in the NIB or RPL, a failure on the part of the system programmer to create the appropriate entry during VTAM definition, or a VARY command issued by the VTAM operator that deactivated the entry.

RTNCD FDB2 Explanation
0 8 OPNDST OPTCD=ACQUIRE, SIMLOGON, or CLSDST OPTCD=PASS failed

An OPNDST OPTCD=ACQUIRE or SIMLOGON OPTCD=NQ failed for one of the following reasons: the requested logical unit is at its session limit or is not enabled for sessions in which it is to be the SLU. See z/OS Communications Server: SNA Programming for a description of OPNDST and SIMLOGON.

A SIMLOGON OPTCD=Q failed because the requested logical unit is at its session limit and at least one of its current sessions is with the application program that issued the SIMLOGON.

A CLSDST OPTCD=PASS failed for one of two reasons. There is already a queued session between the logical unit being passed and the target primary logical unit, or you attempted to initiate or pass the session to the same PLU APPL.

RTNCD FDB2 Explanation
0 9 OPNDST OPTCD=ACCEPT denied (no queued CINITs) or OPNDST OPTCD=RESTORE denied (no sessions restored)

You attempted to accept a session and indicated that your request should be rejected if no pending active session is waiting to be accepted (OPTCD=NQ). The request is rejected because no CINIT is queued for your application program.

An OPNDST OPTCD=RESTORE failed because the sessions that are requested are not pending recovery. None of the sessions specified by the NIBLIST are restored.

RTNCD FDB2 Explanation
0 10(X'0A') Application program not connectable

You issued INQUIRE OPTCD=APPSTAT to check an application program's ability to establish sessions. The application program is in an inactive, non-connectable state because the VTAM operator deactivated it. Therefore, the application program is not available for sessions.

RTNCD FDB2 Explanation
0 11(X'0B') Conditional Completion for APPCCMD

Some type of error might have occurred on an APPCCMD macroinstruction. For further problem determination, refer to the primary and secondary return codes in the RPL extension. See the z/OS Communications Server: SNA Programmer's LU 6.2 Reference for further information.

RTNCD FDB2 Explanation
0 13(X'0D') Additional sessions pending recovery

You have issued INQUIRE PERSESS and specified an input work area that is too small. VTAM fills the work area with as much information as possible and places the length used in the RPL's RECLEN. The INQUIRE must be reissued to recover the remainder of the information.

RTNCD FDB2 Explanation
4 3 Exception request received

An exception request has been received. The reason for the exception is contained in the RPL's SSENSEI, SSENSMI, and USENSEI fields. If a negative response has not been sent to a request of this chain and if this request (the exception request) requires a response, move the input sense fields to the output sense fields and send a negative response. All requests in the current chain that have been received by the application program should be discarded. If the current request did not end the chain, issue RECEIVE macroinstructions with OPTCD=TRUNC and AREALEN=0 until CHAIN=LAST or CONTROL=CANCEL is received. No responses should be sent for any request in the rest of the chain.

RTNCD FDB2 Explanation
4 4 Negative response received

The logical unit (or some other node in the network) has sent a response indicating that an exception condition was detected for one of the requests that the application program sent on this session. The SEQNO field indicates the sequence number of the request to which the negative response applies. The SSENSEI, SSENSMI, and USENSEI fields indicate the reason for the exception condition.

See z/OS Communications Server: SNA Programming for more information on the SEQNO field, and the SSENSEI, SSENSMI, and USENSEI fields.

If the request with which the negative response is associated is part of an incomplete chain currently being transmitted to the logical unit, the application program should terminate the chain by issuing a SEND STYPE=REQ, CONTROL=DATA, CHAIN=LAST or a SEND STYPE=REQ, CONTROL=CANCEL to indicate that the logical unit can stop discarding the requests it is receiving. Refer to z/OS Communications Server: SNA Programming for information about the use of STSN and CLEAR to alter sequence numbers. Also see the discussion of (RTNCD,FDB2)=(12,13) in this section.

RTNCD FDB2 Explanation
4 5 Symbolic name known in this SSCP by its network-qualified name only
A real-to-symbolic translation request is made, and NIBNET is filled in with a network identifier, but VTAM cannot provide a symbolic name. VTAM knows this resource only by its network-qualified name; there is no symbolic name that represents this resource. Do one of the following actions:
  • Use the network-qualified name
  • Define a symbolic name to represent this resource.
RTNCD FDB2 Explanation
8 0 Temporary storage shortage

VTAM is temporarily unable to secure enough storage to process the request. The request can usually be reissued (with EXECRPL, for example). For applications running at a priority near to or higher than VTAM's priority, the application should wait a brief time before trying this again.

In certain cases, the macroinstruction processing has not gotten far enough to have done significant work, and the request can be reissued. In other cases, the processing might have gone beyond some irreversible point before failing; as a result, the request cannot simply be reissued. For example, if the LOGON exit routine has been scheduled with a CINIT request and OPNDST OPTCD=ACCEPT is issued, the OPNDST operation can fail before responding to the CINIT, in which case the OPNDST can simply be reissued. If the response to CINIT had been sent, however, and then storage could not be obtained, the OPNDST request could not be reissued as there would no longer be a CINIT to accept. In this case, the application program might wish to initiate another session between itself and the LU, perhaps by using SIMLOGON. These two cases can be distinguished by a bit in the NIB; when the OPNDST OPTCD=ACCEPT is posted, NIBNACLQ is 1 if the response to CINIT is sent; otherwise it is 0.

RTNCD FDB2 Explanation
12(X'0C') 10(X'0A') Request canceled by RESETSR

This RECEIVE operation has been canceled by a RESETSR macroinstruction issued by another part of your application program.

RTNCD FDB2 Explanation
12(X'0C') 11(X'0B') Request canceled because the session has been terminated

The request has been canceled because the session was terminated. Session termination always cancels any pending requests for the session, and returns this return code in the RPL. See z/OS Communications Server: SNA Programming for a list of the possible causes of session termination.

This return code is also used when an OPNDST OPTCD=(ACCEPT,SPEC,Q) is canceled by CLSDST.

RTNCD FDB2 Explanation
12(X'0C') 12(X'0C') Request canceled by CLEAR request

While the RPL-based request was being processed, a CLEAR request was sent or received on the session. This stops all data flow and cancels all pending communication requests on the session. The CLEAR request might have been sent by your application program (SESSIONC macroinstruction), or the request might have been sent on behalf of your application program by VTAM. The CLEAR request might also have been sent from the other end of the session.

RTNCD FDB2 Explanation
12(X'0C') 13(X'0D') Prior exception in chain detected

A series of chained requests was being sent to the logical unit and a negative response was returned for one of them. All subsequent SEND macroinstructions for that chain are posted complete with this return code; however, for each such SEND, the associated request unit is sent on the session to the session partner where it should be discarded.

RTNCD FDB2 Explanation
12(X'0C') 14(X'0E') Request cancelled - POA queue limit exceeded

The POA issued a SENDCMD after it reached its queue limit (POAQLIM on the APPL definition statement). Subsequent SENDCMDs complete with this return code until you receive all of the messages in the queue. You can empty the message queue by issuing RCVCMD OPTCD=NQ (no queue) until an RCVCMD completes with a return code and feedback of X'0006'. A SENDCMD now returns successfully.

RTNCD FDB2 Explanation
16(X'10') 0 Logical unit not available, application program status not available, queued BIND not available, or incorrect dial parameters
This code is set for one of the following reasons:
  • You are attempting to establish a session with a logical unit that is not active.
  • You are attempting to pass a logical unit to a primary logical unit that is not active (or is in the process of being deactivated).
  • You are attempting to issue an OPNSEC macroinstruction and there is no queued BIND request to respond to.
  • You are attempting to determine the status of an application program that is in another domain, the status is not available, and your application program has to proceed without it.
  • You issued a SIMLOGON macroinstruction that specifies dial parameters for a nonswitched PU.
  • The dial parameters specified in the SIMLOGON macroinstruction do not match the original dial parameters.
  • You issued a macroinstuction and a resource, such as a network address or storage, was not available. A sense code is returned in the RPL containing specific information.

The RPL system-sense (SSENSEI), the system-sense modifier (SSENSMI), and the user-sense (USENSEI) can contain a more detailed explanation of the failure.

RTNCD FDB2 Explanation
16(X'10') 1 OPNDST failed
OPNDST failed; if a session had been established by the OPNDST, it has now been terminated. Some reasons for OPNDST failure are as follows:
  • No network path could be obtained. For example, there might have been a failure of the virtual route or route extension, or the operator might have deactivated a network component along the path.
  • A dial connection was not completed.
  • A negative response to a CRV request was received.
  • A request rejected response to a BIND request was received.
  • The logical unit does not exist.
  • A BIND response that is not valid was received; for example, a negotiable BIND response was received for a non-negotiable BIND request.
  • OPNDST OPTCD=ACQUIRE specifies dial parameters for a nonswitched PU.
  • The dial parameters specified in the OPNDST OPTCD=ACQUIRE do not match the original dial parameters.

The SSENSEI, SSENSMI, and USENSEI fields are set; these fields are described in SNA sense field values for RPL-based macroinstructions.

RTNCD FDB2 Explanation
16(X'10') 2 Logical unit inhibited for sessions

You attempted to initiate a session and one of the logical units in the requested session is inhibited. For example, a VTAM application program is inhibited for sessions if it issues SETLOGON OPTCD=QUIESCE or has never issued SETLOGON OPTCD=START. Refer to z/OS Communications Server: SNA Programming for more information.

RTNCD FDB2 Explanation
16(X'10') 3 HALT issued

The VTAM operator has issued a HALT command. Depending on the type of HALT, certain macroinstructions can no longer be issued by your application program. Refer to z/OS Communications Server: SNA Programming for more information.

RTNCD FDB2 Explanation
16(X'10') 5 Request or response encryption failure
Encryption has failed while:
  • Sending an FM data request
  • Sending the BIND response during OPNSEC processing
  • Sending the CRV request during OPNDST processing.
RTNCD FDB2 Explanation
16(X'10') 7 Request canceled by VARY command

The communication operation has been canceled because the VTAM operator deactivated a necessary portion of the path while the macroinstruction was being processed. If a LOSTERM exit routine is available, it has been scheduled. You can no longer communicate with the LU, and you should issue CLSDST to terminate its session with your application program.

RTNCD FDB2 Explanation
16(X'10') 9 Unconditional Terminate or character-coded logoff received

The logical unit has sent an unconditional Terminate request or a character-coded logoff that is a request for unconditional session-termination. No further communication on the session is possible. CLSDST must be issued.

RTNCD FDB2 Explanation
16(X'10') 10(X'0A') VTAM error

An error occurred in VTAM itself. No further attempts to establish or terminate a session with the logical unit should be made.

RTNCD FDB2 Explanation
16(X'10') 13(X'0D') VTAM inactive for your ACB

The association between VTAM and your application program (ACB) that was established with OPEN has been broken; the ACB is in the process of being closed. This might have occurred because you have elsewhere issued a CLOSE that has not yet completed, or it might have occurred because VTAM has become inactive, or a VARY INACT was issued for your application program.

RTNCD FDB2 Explanation
16(X'10') 14(X'0E') Request abnormally terminated

VTAM has abnormally terminated a request because of an error detected while processing the request or because of an error in the associated session, task, or address space (for example, an abend). See z/OS Communications Server: SNA Programming for more information about error isolation and recovery.

RTNCD FDB2 Explanation
16(X'10') 15(X'0F') Buffers filled

Previously VTAM had received an RU; the application program did not have an appropriate EXLST exit routine or outstanding RECEIVE for the RU and there was no buffer space left for VTAM to queue the RU. Under these circumstances, VTAM discards that RU and any other RUs queued for the session and schedules the LOSTERM exit routine (if there is one) with reason code 36. If appropriate for the TS Profile for this session, a Clear is sent to the session partner. In all cases, the end of the session that experienced the buffer shortage is put into data-traffic-reset state (at least momentarily). Any SEND or RECEIVE issued while the session is in this state is rejected with (RTNCD,FDB2)=(X'10',X'0F'). This mode of operation continues until a Start Data Traffic response is processed (or until the Clear function completes, if SDT is not appropriate for the TS profile).

RTNCD FDB2 Explanation
16(X'10') 17(X'11') SDT failure on OPNDST

A negative response was sent by a logical unit in reply to a Start Data Traffic (SDT) request. The OPNDST was not completed successfully. The SSENSEI, SSENSMI, and USENSEI fields are set; these fields are described in SNA sense field values for RPL-based macroinstructions.

RTNCD FDB2 Explanation
16(X'10') 18(X'12') Macroinstruction failure, sense included

A REQSESS, TERMSESS, or OPNSEC has failed. A sense code (SSENSEI, SSENSMI, and USENSEI field) is returned in the RPL for the failing macroinstruction.

RTNCD FDB2 Explanation
16(X'10') 19(X'13') Attempt to start LU 6.2 session request rejected

An LU 6.2 application has tried to start an LU 6.2 session independent of VTAM. No pending sessions have been disturbed. This occurs when an OPNDST is issued with an LU 6.2 user-specified BIND.

RTNCD FDB2 Explanation
16(X'10') 20(X'14') Attempt to start LU 6.2 session pending session terminated

An LU 6.2 application has tried to start an LU 6.2 session independent of VTAM. The pending session has been terminated. This occurs when the LOGMODE specified on an OPNDST resolves to an LU 6.2 BIND or when OPNSEC is issued for an LU 6.2 BIND.

RTNCD FDB2 Explanation
16(X'10') 21(X'15') An APPCCMD must be issued

An OPNDST or CLSDST has been issued for a pending LU 6.2 session. An APPCCMD CONTROL=OPRCNTL, QUALIFY=ACTSESS or QUALIFY=DACTSESS macroinstruction must be issued for this session. See the z/OS Communications Server: SNA Programmer's LU 6.2 Reference for more information.

RTNCD FDB2 Explanation
16(X'10') 22(X'16') Specified LU is nonswitched

The application issues a SIMLOGON or OPNDST OPTCD=ACQUIRE macroinstruction using the application supplied dial-out function. The specified LU is nonswitched and the request failed.

RTNCD FDB2 Explanation
16(X'10') 23(X'17') Encryption not allowed

You attempted to request encryption on a send, but session does not support encryption.

RTNCD FDB2 Explanation
16(X'10') 24(X'18') Sysplex is inaccessible

You attempted to use either the INQUIRE OPTCD=SESSNAME, SETLOGON OPTCD=GNAMEADD, SETLOGON OPTCD=GNAMEDEL, SETLOGON OPTCD=GNAMESUB, OPNDST, OPNSEC, or the CHANGE OPTCD=ENDAFFIN macroinstruction, but the coupling facility for this host is inaccessible.

RTNCD FDB2 Explanation
16(X'10') 25(X'19') Host is not member of Sysplex
The application issued either the INQUIRE OPTCD=SESSNAME, the CHANGE OPTCD=ENDAFFIN, or the SETLOGON OPTCD=GNAMEADD|GNAMEDEL|GNAMESUB macroinstruction, but the coupling facility for this host is inaccessible. The coupling facility might be inaccessible because:
  • A coupling facility does not exist.
  • A CFRM policy for the required coupling facility structure was not active.
  • VTAM is not defined as an APPN node.
  • VTAM has lost connectivity to the required coupling facility structure.
RTNCD FDB2 Explanation
16(X'10') 26(X'1A') SUSPEND failed

VTAM attempted to SUSPEND an RPL request issued in either cross-memory mode or in synchronous SRB mode with OPTCD=KEEPSRB specified. The attempt failed.

RTNCD FDB2 Explanation
16(X'10') 27(X'1B') RESUME failed

VTAM attempted to RESUME an RPL request issued in either cross-memory mode or in synchronous SRB mode with OPTCD=KEEPSRB specified. The attempt failed. VTAM is unable to post the request complete. If the application has a LOSTERM exit, it will be scheduled with a reason code of 44.

For more information about the LOSTERM exit, see the z/OS Communications Server: SNA Programming. The RPL is now available for reuse.

RTNCD FDB2 Explanation
16(X'10') 28(X'1C') OS level does not support requested function

A macroinstruction request required the use of an operating system service which is not supported by the active operating system level.

RTNCD FDB2 Explanation
16(X'10') 29(X'1D') Security Manager Error

An error was encountered when attempting to invoke the security management program. The APPL definition statement for this application specifies VERIFY=REQD or VERIFY=OPTIONAL, indicating that the use of an installed security manager was required for APPC sessions by this application program. However, VTAM was unable to successfully invoke the security manager. The SETLOGON START macroinstruction is rejected.

RTNCD FDB2 Explanation
20(X'14') 0 VSAM request

The RPL contains a VSAM or other non-VTAM request code. No ECB has been posted and no RPL exit routine has been scheduled.

RTNCD FDB2 Explanation
20(X'14') 2 Zero EXIT field

The RPL indicates that the ECB-EXIT field is being used as an EXIT field, but the RPL exit routine address in it is 0. No RPL exit routine has been scheduled.

RTNCD FDB2 Explanation
20(X'14') 3 Zero ECB field

The RPL indicates that the ECB-EXIT field is being used to point to an external ECB, but the address in the field is 0. No ECB has been posted.

RTNCD FDB2 Explanation
20(X'14') 4 Inactive RPL checked

CHECK was issued for an inactive RPL (an RPL that had been posted complete and for which CHECK has already been issued successfully). All RPL-based macroinstructions must use an inactive RPL. All CHECK macroinstructions, however, must use an active RPL; an RPL cannot be checked twice.

RTNCD FDB2 Explanation
20(X'14') 16(X'10') Control block not valid

The RPL's ACB field does not contain the address of a valid ACB or the ACB is closed. This can mean that the ACB field of the RPL was incorrectly set or the ACB has been destroyed.

RTNCD FDB2 Explanation
20(X'14') 17(X'11') RTYPE not valid

A RECEIVE has been issued with the RTYPE field set to NDFSYN, NDFASY, and RESP.

RTNCD FDB2 Explanation
20(X'14') 18(X'12') CLSDST in progress

At the time this macroinstruction was executed, a CLSDST request was pending for the session. The CLSDST request takes priority, and the request that received this return code cannot be honored.

RTNCD FDB2 Explanation
20(X'14') 19(X'13') CID not valid

The RPLARG field or the NIBCID field does not contain a valid CID, or a valid CID was issued with the wrong ACB, or INTRPRET is being used for a cross-domain LU.

You might have inadvertently modified the field, initially failed to set it, or used the CID of a session that no longer exists.

Another possibility is that you violated the following rule: when placing a CID into the RPLARG field, always use the ARG keyword (ARG=(6), for example), and when placing an NIB address into the RPL's NIB field, always use the NIB keyword (for example, NIB=(6)). Because these two fields occupy the same 4 bytes in the RPL, VTAM can distinguish between an NIB address and a CID only through your use of the ARG or NIB keyword. Thus, the presence of this return code could mean that you placed an NIB address in the RPL with the ARG keyword, and VTAM has rejected your CID as not valid.

This feedback information is also used when a CID is specified for INTRPRET, and the LU implied by the CID is in another domain.

RTNCD FDB2 Explanation
20(X'14') 30(X'1E') Data address or length not valid

A request was issued that specified a work area address that is beyond the addressable range of your application program. Here a work area is defined to be any storage area addressed by an RPL operand, for example, the areas referenced by AREA and AAREA.

Check the work area address and work area length fields in the RPL for an incorrect setting. See the RPL macroinstruction description in z/OS Communications Server: SNA Programming to determine which fields must point to valid work areas for each macroinstruction.

If your application program resides in an authorized library, check for correct load module characteristics.

RTNCD FDB2 Explanation
20(X'14') 35(X'23') Request type not valid

When an RPL-based macroinstruction is issued, VTAM sets the REQ field in the RPL to indicate the type of macroinstruction that is using the RPL. The presence of this return code indicates that you modified that code before the requested operation completed. To avoid this and other related errors, never modify an RPL while it is in use. Compare with VSAM request, (RTNCD,FDB2)=(X'14',X'00').

RTNCD FDB2 Explanation
20(X'14') 36(X'24') Request for address space not valid

You attempted to issue one of the following macroinstructions in other than the session address space: RECEIVE OPTCD=SPEC, RESETSR, SEND, or SESSIONC (except request rejected response to BIND).

RTNCD FDB2 Explanation
20(X'14') 59(X'3B') NFME-NRRN response

You attempted to send a response with the RESPOND field set to NFME and NRRN. A response must be identified as FME, RRN, or both; in effect, you have identified the response as neither.

RTNCD FDB2 Explanation
20(X'14') 60(X'3C') Previous macroinstruction outstanding

You issued a SEND POST=SCHED, a SEND for an expedited data-flow-control request, or a SESSIONC macroinstruction before a previous macroinstruction of the same type had been completed. Only one macroinstruction of the three preceding types can be outstanding on a session at a time. After the previous macroinstruction has been completed, this macroinstruction can be reissued.

RTNCD FDB2 Explanation
20(X'14') 64(X'40') CONTROL not valid

You modified the bits in the CONTROL field, or you used a CONTROL value for a SESSIONC macroinstruction that was not BIND, RQR, SDT, CLEAR, STSN, or SWITCH.

RTNCD FDB2 Explanation
20(X'14') 65(X'41') Data traffic not allowed

You attempted to communicate on a session for which no SDT request had been sent or for which a CLEAR is in progress. For certain TS profiles, until an SDT request/response exchange has occurred on the session, no traffic flow is possible; only SDT, Set and Test Sequence Numbers (STSN), Request Recovery (RQR), and Clear requests can be exchanged. Every time a Clear request is sent on a session, a new SDT request might be required before traffic flow can resume (this depends upon the transmission services profile used). For further information, refer to z/OS Communications Server: SNA Programming.

RTNCD FDB2 Explanation
20(X'14') 66(X'42') STYPE for SESSIONC not valid

STYPE=RESP has been specified for a SESSIONC CONTROL=CLEAR or a SESSIONC CONTROL=RQR macroinstruction. Only STYPE=REQ is valid. Also, if the NIB used to establish the session specified SDT=SYSTEM, then STYPE=RESP is not valid for SESSIONC CONTROL=SDT.

RTNCD FDB2 Explanation
20(X'14') 68(X'44') RESPLIM exceeded

The number of outstanding SEND POST=RESP macroinstructions for a session exceeds the RESPLIM value set in the NIB used to establish the session.

RTNCD FDB2 Explanation
20(X'14') 71(X'47') 3270 SEND option not valid

The RPL specified by your LU type 0 3270 SEND macroinstruction had one or more of the following fields not valid: STYPE, RESPOND, CHAIN, or CONTROL. See z/OS Communications Server: SNA Programming for more information about exception conditions.

If the RPL was last used for a RECEIVE for the 3270, check the RESPOND field first; you might have failed to reset the field following the RECEIVE (RECEIVE sets the RESPOND field to (NEX,NFME,NRRN) in this case).

RTNCD FDB2 Explanation
20(X'14') 72(X'48') Session-control protocol violation
Protocol violations indicated are as follows:
  • The PLU sent an SDT request while not in data-traffic-reset state, or the SDT sent was not allowed by the TS profile.
  • The PLU sent a Clear request, and a previous Clear request has been sent and has not completed, or the Clear request was not allowed by the TS profile.
  • The PLU sent an STSN request while not in data-traffic-reset state, or the STSN request was not allowed by the TS profile.
  • The PLU sent an RQR request, and the RQR request was not allowed by the TS profile.
  • The SLU sent an SDT response and any previously received SDT request had already been responded to, or an SDT request had not been received.

For more information, refer to z/OS Communications Server: SNA Programming.

RTNCD FDB2 Explanation
20(X'14') 73(X'49') STSN action/result code not valid
One of the following situations applies:
  • You attempted to send a Set and Test Sequence Numbers (STSN) request and set the IBSQAC or OBSQAC fields (or both) to some value other than SET, TESTSET, IGNORE, or INVALID.
  • You attempted to send an STSN response and set the IBSQAC or OBSQAC field (or both), to some value other than TESTPOS, TESTNEG, INVALID, or RESET.
  • You attempted to send a result code that is not a valid response to the action code.

Refer to z/OS Communications Server: SNA Programming for more information.

RTNCD FDB2 Explanation
20(X'14') 74(X'4A') Installation-wide exit routine was not available

You issued an INTRPRET macroinstruction; VTAM has located the appropriate entry in the interpret table, and found that the system programmer has specified a logon-interpret exit routine to do the interpret function. That routine, however, has not been loaded.

RTNCD FDB2 Explanation
20(X'14') 75(X'4B') INTRPRET sequence or LOGMODE not valid, or cryptographic incompatibility
You issued an INTRPRET macroinstruction. One of the following situations might apply:
  • VTAM cannot locate an entry in the interpret table that corresponds to the sequence you provided.
  • You might have inadvertently modified the sequence or the address in the RPL's AREA field that points to the sequence.
  • The system programmer might have failed to properly define the entry in the interpret table.

After your application program has been tested and debugged and you have eliminated the possibility of the three situations listed above, you can assume that the terminal operator or program that initiated the logon must have passed an invalid logon sequence to your application program.

You issued an INQUIRE, OPNDST, SIMLOGON, REQSESS, or CLSDST OPTCD=PASS macroinstruction. Either the NIB for this request specified a logon mode name that could not be found in the logon mode table for the logical unit named in that NIB, or the SSCP discovered that cryptography had been specified for the requested session, but at least one of the logical units in the requested session did not support cryptography.

RTNCD FDB2 Explanation
20(X'14') 76(X'4C') Search argument for INQUIRE or INTRPRET not valid
You issued INQUIRE or INTRPRET, and failed to properly provide VTAM with the identity of the pending active session, logical unit, or application program:
  • INTRPRET was issued and the name in the NIB was not that of a logical unit.
  • INQUIRE (OPTCD=APPSTAT) was issued and one of the following conditions exists:
    • The name is not that of an application program.
    • The application program is a cross-domain resource, and the SSCP that owns the resource does not support INQUIRE (OPTCD=APPSTAT).
    • The application program is a cross-domain resource, and no active route exists to the host that owns the application program.
  • INQUIRE OPTCD=TERMS was issued and the name was not that of a resource (such as an LU, PU, CLUSTER, or CDRSC) in the VTAM configuration tables.
  • INQUIRE OPTCD=DEVCHAR was issued and the device characteristics were not available (perhaps because the logical unit was in another domain and there was no appropriate CINIT queued for the application program).
  • INQUIRE OPTCD=LOGONMSG was issued and there was no appropriate CINIT queued for the application program.
  • INQUIRE OPTCD=SESSPARM was issued with LOGMODE=0 in the NIB, and there was no appropriate CINIT queued for the application program.
  • INQUIRE OPTCD=NQN was issued and one of the following situations applies:
    • The resource does not exist.
    • The resource is cross-domain an there is no active route to it.

Refer to z/OS Communications Server: SNA Programming for a description of the INQUIRE macroinstruction.

Assuming that the system programmer properly defined the entry in the VTAM configuration tables for the logical unit, you have probably: (1) failed to set a valid symbolic name in the NIB's NAME field or (2) correctly issued INQUIRE OPTCD=SESSPARM or INQUIRE OPTCD=DEVCHAR but the session has been terminated.

RTNCD FDB2 Explanation
20(X'14') 77(X'4D') No interpret table

You issued an INTRPRET macroinstruction, but there is no interpret table for the logical unit. The system programmer might have failed to include an interpret table for this logical unit during the VTAM definition process or the logical unit might be in another domain.

RTNCD FDB2 Explanation
20(X'14') 78(X'4E') Use of an NIB list not valid

You issued OPNDST OPTCD=ACCEPT without setting the NIB's LISTEND field to YES, or you specified a NIB list in which more than one NIB indicated PROC=NEGBIND.

RTNCD FDB2 Explanation
20(X'14') 79(X'4F') OPTCD setting not valid

The OPNDST or INQUIRE request fails because bits in the OPTCD field have been incorrectly set. From the OPNDST and the INQUIRE option code settings, you must specify only one value for the mutually exclusive sets of option codes. Because you cannot cause the field to be incorrectly set by using VTAM macroinstructions, you might have inadvertently modified the OPTCD field with assembler instructions.

RTNCD FDB2 Explanation
20(X'14') 80(X'50') RPL field not valid

The OPNDST, CLSDST, SIMLOGON, or REQSESS failed because the bits in the RPL's OPTCD or AAREA field were found to be not valid.

If an OPNDST or SIMLOGON failed, the particular bits that have been incorrectly set are those that form the CONANY-CONALL option code. This return code does not mean that the CONANY option was erroneously used in place of CONALL, or vice versa; it means that neither CONALL nor CONANY is indicated in the OPTCD field. Because you cannot cause the field to be incorrectly set in this manner by using VTAM macroinstructions, you might have inadvertently modified the OPTCD field with assembler instructions.

If a REQSESS failed, either OPTCD=NQ was not specified or the AAREA field of the RPL was not set to zero.

If a CLSDST failed, OPTCD=SENSE was specified and a zero sense was provided in the SSENSEO, SSENSMO, USENSEO fields of the RPL. A zero sense is not permitted for CLSDST OPTCD=SENSE.

RTNCD FDB2 Explanation
20(X'14') 81(X'51') OPNDST OPTCD=ACCEPT and SIMLOGON not allowed
You attempted to issue OPNDST OPTCD=ACCEPT to accept a CINIT for a session with a logical unit, or to issue SIMLOGON to initiate a session. However, these operations cannot be performed because of one of the following reasons:
  • The ACB was opened with MACRF=NLOGON.
  • SETLOGON OPTCD=QUIESCE was issued and CINITs are pending.
  • SETLOGON OPTCD=QUIESCE was issued and no matching CINIT was found.
RTNCD FDB2 Explanation
20(X'14') 82(X'52') NIB not valid

The request failed because there is no NIB at the location indicated in the RPL's NIB field.

RTNCD FDB2 Explanation
20(X'14') 83(X'53') Logical unit not found
The symbolic name you supplied in the NIB's NAME field or indicated by the RPL's AAREA field does not have a corresponding entry in the VTAM configuration tables. This can occur for one of the following reasons:
  • You failed to set the NAME field correctly.
  • The system programmer did not include the entry in the VTAM configuration tables during VTAM definition.
  • The VTAM operator has not activated the major node containing the application program that issued the macroinstruction.
  • The VTAM operator has not activated the major node containing the resource named in the NIB (in a cross-domain environment).
  • A dynamically created definition for a cross-domain LU has been deleted after lack of use for a defined period of time.
  • Contact with the resource was lost and the definition of the resource was subsequently deleted from the VTAM configuration tables.
  •  You issued either SETLOGON OPTCD=GNAMEADD, SETLOGON OPTCD=GNAMESUB, SETLOGON OPTCD=GNAMEDEL, INQUIRE OPTCD=SESSNAME, or CHANGE OPTCD=ENDAFFIN and one of the names you supplied is not valid.

If you were using an NIB list, no sessions have been established.

RTNCD FDB2 Explanation
20(X'14') 85(X'55') One of the following situations is true:
  • Application program is not authorized.
  • Application program name is not available.
  • Task association is not specified.
  • Application is not authorized to supply dial parameters.
  • PU is not authorized to accept dial parameters.
  • You must issue a send RPL.

Refer to the z/OS Communications Server: SNA Resource Definition Reference for information about coding an application program major node (the AUTH operand of the APPL definition statement).

RTNCD FDB2 Explanation
20(X'14') 87(X'57') MODE field not valid

You issued an OPNDST or OPNSEC macroinstruction and failed to set the NIB's MODE field to RECORD.

RTNCD FDB2 Explanation
20(X'14') 94(X'5E') CLSDST OPTCD=PASS not authorized

CLSDST OPTCD=PASS is a function whose use is authorized by the installation. You attempted to use this function, but the installation has not authorized you to pass logical units to other primary logical units. This CLSDST macroinstruction should have been issued with RELEASE in effect, not PASS.

Refer to the z/OS Communications Server: SNA Resource Definition Reference for a description of the AUTH operand of the APPL definition statement.

RTNCD FDB2 Explanation
20(X'14') 96(X'60') LU name for CLSDST, SESSIONC, or OPNSEC not valid

You attempted to terminate a session with a logical unit that is not in session with your application program, or had no CINIT queued for your application program. This return code applies to CLSDST used with a logical unit's symbolic name.

You issued a SESSIONC macroinstruction to send a request rejected response to BIND, but the LU name field in the NIB does not match any BIND currently queued for the application program.

You issued an OPNSEC macroinstruction and a queued BIND could not be found for the LU name passed in the NIB.

RTNCD FDB2 Explanation
20(X'14') 97(X'61') SETLOGON not valid

Either you opened the ACB with its MACRF field set to NLOGON, or you issued SETLOGON OPTCD=QUIESCE and permanently closed the CINIT queue. Because you attempted to either open a CINIT queue that cannot be opened or close a CINIT queue that is closed, SETLOGON START, STOP, and QUIESCE are not valid.

You might have issued a SETLOGON OPTCD=PERSIST or NPERSIST with a PSTIMER value that is greater than the allowed value (86400 seconds).

Note: You can successfully issue SETLOGON OPTCD=PERSIST or SETLOGON OPTCD=NPERSIST with the MACRF field set to NLOGON or after a QUIESCE.
RTNCD FDB2 Explanation
20(X'14') 108(X'6C') Exceeded limit on outstanding RCVCMD requests

You attempted to issue an RCVCMD macroinstruction while a previous RCVCMD was outstanding. The limit on outstanding RCVCMD requests is one.

RTNCD FDB2 Explanation
20(X'14') 109(X'6D') Application program not authorized

Your application program is not authorized to issue the SENDCMD and RCVCMD macroinstructions, or your CNM application program attempted to send something other than a formatted Forward RU to the SSCP.

Refer to the z/OS Communications Server: SNA Resource Definition Reference for a description of the AUTH operand of the APPL definition statement.

RTNCD FDB2 Explanation
20(X'14') 110(X'6E') Syntax error in reply to VTAM operator message

In reply to a VTAM operator message, you issued a SENDCMD macroinstruction that contained a syntax error in the REPLY command.

RTNCD FDB2 Explanation
20(X'14') 111(X'6F') SENDCMD/RCVCMD processor inactive

The portion of VTAM that processes SENDCMD and RCVCMD macroinstructions is currently inactive for your application program, and the application program issued a SENDCMD or RCVCMD macroinstruction. The request cannot be processed because an ACB has not been opened for the portion of the application program that issued the SENDCMD or RCVCMD, or because a final CLOSE has been issued for this ACB but has not yet completed.

RTNCD FDB2 Explanation
20(X'14') 112(X'70') Program operator closing ACB with requests outstanding

Your application program is in the process of closing its ACB, and you (1) issued a SENDCMD macroinstruction for a command other than REPLY or (2) issued a RCVCMD OPTCD=Q and there were no VTAM messages available to satisfy the request.

RTNCD FDB2 Explanation
20(X'14') 113(X'71') Operator command not valid

You attempted to send a VTAM operator command to VTAM using the SENDCMD macroinstruction; however, the command was not recognized by VTAM, or it was a command (START or HALT) that cannot be sent by the application program.

RTNCD FDB2 Explanation
20(X'14') 115(X'73') SEND parameters for CNM not valid

You issued a SEND macroinstruction when using a CNM application program and you have specified a parameter that is not valid.

RTNCD FDB2 Explanation
20(X'14') 116(X'74') Negotiable response to non-negotiable BIND

You attempted to issue an OPNSEC PROC=NEGBIND to a non-negotiable BIND request. A request-rejected response to the BIND is sent with a sense code indicating resource unavailable (X'08010000').

RTNCD FDB2 Explanation
20(X'14') 117(X'75') Negotiable BIND response parameters not valid

You specified negotiable BIND parameters on an OPNSEC macroinstruction that are not valid. A request rejected response to the BIND is sent with a sense code indicating resource unavailable (X'0801000').

RTNCD FDB2 Explanation
20(X'14') 118(X'76') Negotiable BIND response size not valid

You specified a negotiable BIND response on OPNSEC that was greater than 256 bytes. A request rejected response to the BIND is sent with a sense code indicating resource unavailable (X'08010000').

RTNCD FDB2 Explanation
20(X'14') 119(X'77') FMD request unit required

You issued a SEND OPTCD=BUFFLST or a SEND OPTCD=LMPEO and the RU specified was not an FMD request unit.

RTNCD FDB2 Explanation
20(X'14') 120(X'78') Chain specification not valid

You issued a SEND OPTCD=(BUFFLST,USERRH) in which multiple chains or multiple partial chains were specified in the buffer list. Only requests from a single chain might be specified in a buffer list.

RTNCD FDB2 Explanation
20(X'14') 121(X'79') Buffer list length not valid

You issued a SEND OPTCD=BUFFLST, and RECLEN did not contain a nonzero multiple of 16.

RTNCD FDB2 Explanation
20(X'14') 123(X'7B') User RH not valid
One of the following conditions was detected for a SEND OPTCD=USERRH:
  • The settings of the CONTROL operand and of the RU category field in the user RH were inconsistent. If CONTROL=DATA, then the RU category must be FMD. If CONTROL is not DATA, then the RU category must be DFC. See also (RTNCD,FDB2)=(X'14',X'77').
  • A sense indicator in the user RH field was found to be on with zero sense provided. For a non LUO session, zero sense is architecturally incorrect.
RTNCD FDB2 Explanation
20(X'14') 124(X'7C') OPTCD=USERRH for SESSIONC not valid

You specified a SESSIONC macroinstruction with OPTCD=USERRH.

RTNCD FDB2 Explanation
20(X'14') 125(X'7D') XRF protocol error

A protocol error has occurred during the processing of a SIMLOGON or OPNDST macroinstruction.

SIMLOGON for a backup XRF request is processed by setting the "backup XRF session request" indicator in the INITIATE RU. This indicator is set based on the setting of the RPL bit indicating OPTCD=BACKUP (RPLBCKUP). If an Initiate is received specifying a backup XRF session and queue, it is rejected.

The RPL system-sense (SSENSEI), the system-sense modifier (SSENSMI), and the user-sense (USENSEI) can contain a more detailed explanation of the failure.

RTNCD FDB2 Explanation
20(X'14') 126(X'7E') Conflicting OPTCD on a macroinstruction request
One of the following conditions was detected:
  • A TERMSESS macroinstruction has been issued with none or more than one of the following OPTCDs specified: COND, UNCOND, and UNBIND.
  • A SETLOGON request has been issued with none or more than one of the following OPTCDs specified: HOLD, NPERSIST, PERSIST, QUIESCE, GNAMEADD, GNAMEDEL, GNAMESUB, START, and STOP.
  • A SIMLOGON request has been issued with more than one of the following OPTCDs specified: QALL, QSESSLIM, and QNOTENAB.
RTNCD FDB2 Explanation
20(X'14') 127(X'7F') Policing error - non-APPC macroinstruction

An application program issued a non-APPCCMD macroinstruction to establish an LU 6.2 session, or issued a non-APPCCMD macroinstruction against a current LU 6.2 session.

RTNCD FDB2 Explanation
20(X'14') 128(X'80') SETLOGON not valid

You specified SETLOGON OPTCD=NPERSIST or PERSIST for an application that is not capable of persistence.

RTNCD FDB2 Explanation
20(X'14') 129(X'81') TERMSESS without OPTCD=UNBIND with session in a pending state

A TERMSESS macroinstruction is issued for a pending active session without specifying OPTCD=UNBIND.

RTNCD FDB2 Explanation
20(X'14') 130(X'82') Parameter length not valid

The length of an application-supplied dial parameter is not valid. Refer to z/OS Communications Server: SNA Programming for a description of the valid lengths.

RTNCD FDB2 Explanation
20(X'14') 131(X'83') Subfield error

Either a subfield is not supported, or a combination of subfields that is not valid is specified. Refer to z/OS Communications Server: SNA Programming for information about the valid subfields that can be specified.

RTNCD FDB2 Explanation
20(X'14') 132(X'84') NIBASDPA = 0

The value of NIBASDPA is 0. The NIBASDP indicator was on, indicating that the application is providing dial parameters; however, no address for the control block was given. This probably resulted from the application program passing an address that is not valid to the NIB.

RTNCD FDB2 Explanation
20(X'14') 133(X'85') Session must be restored

A SEND, RECEIVE, RESETSR, or SESSIONC request is rejected because it is issued for a session that is pending recovery. Use OPNDST OPTCD=RESTORE to restore the session and reissue the request.

RTNCD FDB2 Explanation
20(X'14') 134(X'86') Existing session prevents successful completion of this operation
One of the following situations applies:
  • You issued CHANGE OPTCD=ENDAFFIN to terminate the association between your application program and the specified LU. At least one session exists between the specified LU and the application program; all sessions with the partner LU must be ended before the association can be terminated.
  • You issued SETLOGON OPTCD=GNAMEADD to register your application as a generic resource, but a session exists already.
RTNCD FDB2 Explanation
20(X'14') 135(X'87') Resource name and generic name are the same

You attempted to issue either SETLOGON OPTCD=GNAMEADD, SETLOGON OPTCD=GNAMESUB, or SETLOGON OPTCD=GNAMEDEL using a generic name that was the same as the application network name; they must be different.

RTNCD FDB2 Explanation
20(X'14') 136(X'88') No association matching the given criteria exists.

You issued either CHANGE OPTCD=ENDAFFIN or INQUIRE OPTCD=SESSNAME, but the values specified in the NIB do not correspond to any known association.

RTNCD FDB2 Explanation
20(X'14') 137(X'89') Generic name not authorized

The generic name has not been authorized using a security management product such as RACF®.

RTNCD FDB2 Explanation
20(X'14') 138(X'8A') Application program already registered

The application program is registered already as a generic resource, but with a different name.

RTNCD FDB2 Explanation
20(X'14') 139(X'8B') SETLOGON OPTCD=GNAMEDEL not valid

You used SETLOGON OPTCD=GNAMEDEL to deregister generic resources but VTAM determined that generic mapping does not exist; no VTAM message is issued.

RTNCD FDB2 Explanation
20(X'14') 140(X'8C') Network identifiers conflict for this generic resource.

This generic resource exists already with another network identifier.

RTNCD FDB2 Explanation
20(X'14') 141(X'8D') Simultaneous generic resource registration in progress

Two applications with the same application network name are simultaneously attempting to register a generic name.

RTNCD FDB2 Explanation
20(X'14') 142(X'8E') APPC capabilities conflict

All applications registering as generic resources must have the same APPC capabilities specified on their APPL statements.

RTNCD FDB2 Explanation
20(X'14') 143(X'8F') Deletion of VTAM affinity rejected

VTAM owns the affinity. Your application cannot delete it.

RTNCD FDB2 Explanation
20(X'14') 144(X'90') USERVAR conflict while registering generic resources

You issued SETLOGON OPTCD=GNAMEADD to register generic resources. VTAM detected a conflict (the generic resource exists already as a USERVAR name).

RTNCD FDB2 Explanation
20(X'14') 145(X'91') TSO GENERIC NAME CONFLICT

Either a non-TSO application is attempting to use the generic name already being used by TSO, or TSO is attempting to use the generic name already being used by a non-TSO application.

RTNCD FDB2 Explanation
20(X'14') 146(X'92') SETLOGON GNAMESUB FAILURE
A SETLOGON OPTCD=GNAMESUB macroinstruction failed for one of the following reasons:
  • SETLOGON OPTCD=GNAMEADD was previously issued for this ACB.
  • SETLOGON OPTCD=GNAMESUB was previously issued for this ACB.
  • The application program network name specified in the VTAM node identification block (NIB) either was not found or was not an instance of the generic name specified in the NIB.
RTNCD FDB2 Explanation
20(X'14') 147(X'93') STOKEN not valid.

PROC=STOKEN is specified and the NIBSTKN field contains an invalid STOKEN.

RTNCD FDB2 Explanation
20(X'14') 148(X'94') No LU name passed.

No LU name was passed on the SETLOGON OPTCD=START or on the REQSESS.

RTNCD FDB2 Explanation
20(X'14') 149(X'95') No applicable RDTE found.

No RDTE was found that matched the LU name passed on the SETLOGON OPTCD=START or on the REQSESS.

RTNCD FDB2 Explanation
20(X'14') 150(X'96') Conflict with found RDTE.

An RDTE was found that matched the LU name passed on the SETLOGON OPTCD=START or on the REQSESS, but its characteristics or state was not appropriate.