Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!PENNDRLS.BITNET!TOM From: TOM@PENNDRLS.BITNET ("Thomas D. Denier") Newsgroups: comp.lang.asm370 Subject: Re: Coding Questions Message-ID: <9011011914.AA18019@ucbvax.Berkeley.EDU> Date: 1 Nov 90 19:11:17 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 10 I think the scheme Steve Greenfield describes for parsing 3270 input is going to have problems with fields containing nulls. A keyboard operator can fill all or part of a field with nulls using the Erase EOF key or the Delete key. If I remember correctly, only the non-null characters in a field are sent to the host in response to a Read Buffer command. If a field contains nulls the string sent to the host will have fewer characters than the field length. I think Steve Greenfields algorithm will treat the next SBA character, its address, and some of the data from the next field as part of the field in this case.