BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10

Hi Guys 

An interview panel asked me  what do you do if your code has many errors 

you identified after send to the user how to resolve the issue 

6 REPLIES 6
PaigeMiller
Diamond | Level 26

Maxim 2 — Read the log

 

Of course, this part of the question:

 

you identified after send to the user

 

if I am understanding the question, is not really a SAS question, it is a question about how you behave after you discover you have made a mistake, what do you do, what do you say? Please give an answer, and those of us here (such as me) who have been in that exact situation can critique your answer.

--
Paige Miller
Ksharp
Super User
The first ERROR is very important .
BrahmanandaRao
Lapis Lazuli | Level 10

First Error means 

how to convey to user our mistake

PaigeMiller
Diamond | Level 26

Hello, @BrahmanandaRao 

 

A word to the wise: if you are on an interview, this type of brevity (and frankly this type of unclear communication) is not a good idea. It is also not a good idea here in the SAS Communities, as you will get faster and better answers from questions/comments which are clear and complete, rather than from questions/comments that are unclear and incomplete.

--
Paige Miller
Patrick
Opal | Level 21

@BrahmanandaRao wrote:

First Error means 

how to convey to user our mistake


My 5 cents: Everybody makes mistakes. Worst thing you could do is try to hide it. Be pro-active, contact the user, apologize, provide a solution.  ...and learn from your mistake and improve your testing/quality checking.

And if the mistake is serious and could have commercial consequences: First inform your manager so the right course of action can be taken.

Kurt_Bremser
Super User

Step 1: try to minimize the consequences. This means that all people that might start to work with incorrect data need to be notified ASAP. If in doubt, the broader notification is better; one may want to employ the helpdesk for sending out the notification. Been there, done that.

Step 2: face up to the issue. The only one who never commits mistakes is one who does no work at all. Been there, done that.

Step 3: prevent a repetition of the issue. See why a code was able to create incorrect results without throwing a recognizable error (ERRORs/WARNINGs are caught by the scheduler which then suspends further processing, and notifies at least the data center standby people, who then notify you). A large part of my work was committed to this, which in turn freed me from having to constantly inspect logs and datasets in search of possible problems.

 

As soon as you have correctly identified the source of the problem, corrected it, and can present a viable method you implemented to prevent a repetition, you'll be good with your bosses and customers.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 6 replies
  • 1247 views
  • 1 like
  • 5 in conversation