Looking to write a small if statement to see if a folder exists, and if it does not go ahead a create it. One caveat is that the foldername contains a variable. Here's what I got so far but it isn't working. Would appreciate a little assistance...

Just remove the IF statement and just do the MKDIR. Just change it to ignore the error if the folder already exists. That way you'll see the MKDIR in the job log, but it will tell you if the folder was created or not. And, more importantly, continue processing either way, by making sure the folder already exists or creating when needed.