BookmarkSubscribeRSS Feed
Abelp9
Quartz | Level 8

Good morning, in several SAS programs I have connectors with HANA Studio, these connectors must have a user and a defined password. I'm trying to make a macro so that when the credentials of the first user fail, it will go to the second user and try it with the credentials of the second user because if it tries again with the first user 3 more times and the login data is incorrect , the HANA Studio password is locked. That's why I would need to somehow quantify the first login error in some macro or something, so that if there is such an error it can test the other user using macros and conditionals. Could someone give me a hand on how to do this?

1 REPLY 1
JosvanderVelden
SAS Super FREQ
Hola Abel,

You will probably have to provide a bit more details.
I assume you're using SAS StudioV available through the menu option "Develop SAS Code".
If yes are you just assigning caslibs to SAP HANA or is your code more complex?


Saludos, Jos

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 691 views
  • 0 likes
  • 2 in conversation