The example code is incomplete, CD is not a verb to start, and 'actual' output cannot be the result of the example code, no write sys$ouput there. CD &p'i' might work, depending on what CD is.