>> No! Don't think of "stripping trailing blanks". Simply don't append blanks >> when the input field contained NULs (which the 3270 protocol doesn't >> transmit to the host. Some emulators deviate from this.)
When a user EOFs part of the line and presses enter, the ISPF application gets the variable value padded to the RHS with whatever the ISFP ATTR PAD() keyword states or defaults to. In SDSF's case this is blanks so we have to treat the data from the first line as having "trailing blanks" as we cannot determine if EOF was used or the user just overtyped the line with blanks. This may well be different in raw 3270 datasteam (I have very limited exposure to that) , however interactive use of SDSF on z/OS is mainly via ISPF. Rob Scott Rocket Software -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: 30 November 2020 16:23 To: [email protected] Subject: Re: Extraneous blanks in SDSF issued command EXTERNAL EMAIL On Mon, 30 Nov 2020 16:10:51 +0000, Rob Scott wrote: > >(3) Automatically stripping trailing blanks from the first line would require >SDSF to have knowledge of the syntax of the command or some sort of awareness >of whether quotes or double-quotes are in effect and unbounded and if so, is >this meaningful or not. This is not something that SDSF wants to get involved >in as the text is freeform and what might appear to be apparent strange values >may be expected by the receiving user or ISV software product that processes >the command. > No! Don't think of "stripping trailing blanks". Simply don't append blanks when the input field contained NULs (which the 3270 protocol doesn't transmit to the host. Some emulators deviate from this.) >The lack of "insert mode" across both lines is frustrating, but I am not sure >there is a solution to that apart from a wide screen panel that has a single >input field. This would only provide relief for people running wide screen >3270 modes and most of our users are 43x80. > A field needn't be restricted to a single line. Those two lines should be formatted as a single field. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
