I have a UC4 job which reads a value from the read buffer and then sets a job plan variable using PSET. The value that is read contains an ampersand character i.e. 6+@}/r&MThe PSET appears to work, however, the POST-CONDITIONS of the job fail – complaining that 'U1001308 Variable 'M' has not yet been defined.'.So, how can I pass a value containing an ampersand to a job without it failing in this way?
:READ &ERSAND# ,,"Type in a string that contains &":PUT_VAR VARA.AMPERSAND,"value",&ERSAND#:SET &RESULT# = GET_VAR(VARA.AMPERSAND,"value"):P Your string is &RESULT#