Joined: 20 Oct 2006 Posts: 6968 Location: porcelain throne
Just a guess, but you are not RECEIVEing a map. Thus, what you receive is what you get. you are going to have to program your way around or simply spit it back to the user when he has not pre-cleared the screen.
Joined: 06 Jun 2008 Posts: 8165 Location: East Dubuque, Illinois, USA
But what my question is why we getting the '. A' if the user leave the one blank space before TRAN ID.
Because that is what you are getting -- which is pretty much the best answer you're going to get. As Dick said, your program needs to be prepared to handle this (possibly by specifying the BUFFER option on the RECEIVE) and realize that what you get is what you get. The data could be attribute information, or garbage, or who knows what. Feel free to find the manual on 3270 data streams and delve into exactly why you're getting the data you are -- but it could take a few days (or weeks) of reading and reviewing tests to determine the precise reason (once you find the appropriate manual).