Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     valid return codes for &RETCODE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
valid return codes for &RETCODE
 Login/Join
 
Gold member
posted
Can anyone tell me where to locate a list of valid return codes that may be returned by &RETCODE?
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Master
posted Hide Post
Please give more detail of what you are trying to do. PS What product version is always helpful in requests.
 
Posts: 865 | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
I'm trying to find a list of all possible return codes within WebFOCUS 5.2.5 so I can code for all eventualities....
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Gold member
posted Hide Post
What brought this on was that I am trying to capture all possible return codes related to authenticating to the server. I know -17 is invalid user id or password, -20 is expired password and I think -13 is no access to required resources. However I would like to know everything related to security and everything else for that matter. TIA for you help....
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Master
posted Hide Post
Here you go

INVALID_EID -1 /* Invalid context */
TOO_MANY_CONTEXTS -2 /* Too many iWay contexts */
INVALID_SID -3 /* Invalid sid */
TOO_MANY_SCBS -4 /* Too many scbs allocated */
SCB_NOT_INIT -5 /* The scb is not initialized */
SCB_INIT -6 /* The scb is initialized */
INIT_EDANET_ERROR -7 /* Cannot initialize EDALINK */
CLOSE_EDANET_ERROR -8 /* Cannot close down EDALINK */
CONNECT_ERROR -9 /* Error connecting to server */
DISCONNECT_ERROR -10 /* Error disconnecting from server */
DATA_SEND_ERROR -11 /* Error sending data to server */
DATA_RECEIVE_ERROR -12 /* Error receiving data */
INVALID_OPERATION -13 /* Operation not permitted */
MEMORY_OVERFLOW -14 /* Insufficient memory available */
BAD_PARM_VAL -15 /* Invalid parameter value */
TUPLE_MISALIGNED -16 /* Tuple alignment error */
ACCESS_DENIED -17 /* Userid/Password invalid */
INTERNAL_API_ERROR -18 /* Unexplained internal error */
UNAVAILABLE_FUNCTION -19 /* Not supported at this API level */
PASSWORD_EXPIRED -20
INVALID_NEW_PASSWORD -21
ENCRYPTION_VERSION_MISMATCH -22
CONNECTION_NO_LONGER_VALID -23
INVALID_CODE_PAGE -24
EXECUTE_NOT_PREPARED -25
INVALID_SERVER -26/* EDACONNECT to unknown server */
INVALID_STATEMENT -27 /* SERVER rejected statement */
INVALID_MSG_UOW -28
INVALID_MSG_ATT -29
INVALID_PROTOCOL -30
INVALID_MSG_COMMITERR -31
USERID_IN_USE -32
RESOURCE_LIMIT -33
COMM_TIMEOUT -34 /* communications timed out */
BAD_USERID -35 /* security violation */
REVOKED_USERID -36 /* security violation */
SRV_COMM_FAIL -37 /* server reports comm error */
INVALID_LICENSE -38 /* server reports invl. license */


This may not be all
 
Posts: 865 | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
Thanks...
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Expert
posted Hide Post
and the ever popular &RETCODE = 0
which means its perfect.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
There are also positive values for &RETCODE.

In the online help it says if the procedure results in normal output or no records are retrieved, the value of &RETCODE is 1. If an error occurs while parsing the procedure, the value of &RETCODE is 8.


WF 7.7.03, Windows 7, HTML, Excel, PDF
 
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     valid return codes for &RETCODE

Copyright © 1996-2020 Information Builders