ASSIGN switchValue="Create" SWITCH switchValue { CASE "Name Exceeded Length" { // 277 Character Name -- PROC only allows 255 characters ASSIGN sourceName="ThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTestThisIsA255CharacterTest" } CASE "Name Already Used" { // Edit name to a source that already exists on your Business Unit ASSIGN sourceName="Nick Desk" } CASE "No Name Provided" { ASSIGN sourceName="" } CASE "Create" { ASSIGN sourceName="MyXSTestSource" } }