What it looks like you're trying to do is set the value of your integer to a variable that is resolving to the name of, '6'. Since there is no variable called, '6', it results in 'Not set'.
You'll want to select the option 'Convert Text/Token' and put, '{CMDSEGMENT:1}' in that box (see attached).
Hope that helps!