Cook pasta according to package instructions. Drain and allow the pasta to cool for about 20 minutes.
After pasta has had a chance to cool, place the pasta in a large bowl. Add pickles, relish, cheese, and ham. Gently story the ingredients till combined.
Add sour cream, mayo, dill, and pepper. Stir gently till evenly mixed. Cover and chill in the fridge for at least an hour before serving.