Thanks Stuart. Yep, it is part of a terminal escape sequence and I actually wrote a subroutine that I called when this occurred that scanned all of common for the escape sequence. I only found subsets of the string, and not the full string that was being inserted into CITEM when the read failed. So it is not coming from another common variable.
-Troy -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Boydell, Stuart Sent: Wednesday, December 23, 2009 1:08 PM To: U2 Users List Subject: Re: [U2] [UV] odd problem with read statement assigningvariable with random data with else clause in pick flavor Another interesting behaviour is if you have 2 programs, one with "COMMON A,B,C,D,CITEM" and the other with "COMMON REC(99)" the ordinal positions of the commons equate to the same thing. ie REC(5) = CITEM. Also, what's the nature of the escape sequence you get - can you ascertain if it's an edit key sequence or a terminal display sequence.. you might get another clue where the value is coming from. Stuart Boydell _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users