f$PSI_ConnectNUI
f$PSI_ConnectNUI
With this function, the PSIPENTA system is logged into if the rule-based controls are started from PSIPENTA. Since a user already logged in cannot log in a second time, a different user name must be used to log in to rule-based controls started from PSIPENTA. To get around this, you can use this function instead of logging in. The user and password parameters can be entered as empty strings. If, however, log-in data is entered, it must be correct. The f$PSI_Logout function cannot be called after closing the rule-based controls. If f$PSI_Logout is called though, it delivers an error status.
Syntax:
Status = f$PSI_ConnectNUI (Datapool, User, Password, Language)
Argument
Type
Meaning
Datapool
String
PSIPENTA data pool
User
String
User name or ’’
Password
String
User password or ’’
Language
String
Language code
Result:
Integer
Status of log-in process:
Possible values: -1,-2,-3, -999
Example:
Status = f$PSI_ConnectNUI ( ’p81(ACBIS-VM-PENTA)’ , ’’ , ’’ , ’D’ )