On 9 December 2011 01:22, Ray Mullins <[email protected]> wrote: > On 2011-12-08 09:43, Binyamin Dissen wrote: >> >> On Thu, 8 Dec 2011 17:14:38 +0100 Martin Truebner<[email protected]> >> wrote: >> >> :>>> A change to MVC INOUTBUF(11),='Test record' works just fine. >> >> :>And MVC INOUTBUF,=CL(L'INOUTBUF)='Test record' would have worked as >> :>well. >> >> Unless INOUTBUF is longer than the literal and the literal is near the end >> of >> a page. > > > During my years as computer lab manager at the college, that particular > issue was the cause of many an S0C4 in assignments. The better students > would catch on immediately, the good students understood when I told > them why, the bad students made the same mistake over and over again. >
Hey, that's a neat trick. I wish the folks who taught me assembler back in 1981 had shown me that one. But for some odd reason they were against using literals in ANY way shape or form. We were taught to write all items in static storage with a label. -- http://twitter.com/DougieLawson
