From: Paul Gilmartin <[EMAIL PROTECTED]> I don't know the capabilities of ISPF computation. Is it possible to remove 64 leading spaces, then 32, 16, 8, 4, 2, 1; thus removing up to 95 spaces in 7 truncate/tests rather than "dozens and dozens"? I've done this with other editors.
I've done similar things with ISPF panel logic, simply because I didn't have much choice. But it would have been a lot easier if I could have written a loop.
I understand ISPF couples closely with Rexx; would a Rexx function suffice to strip the blanks?
In z/OS 1.6 and above, REXX can be included directly in ISPF panel source. Prior to that, REXX could be called as a panel 'exit'. So there are ways to accomplish things that need to be done (such as looping logic) by using something other than pure ISPF panel logic.
The original issue was whether panel logic by itself could be considered a programming language, given that it lacks certain basics (such as iterative logic). IMO the answer is yes, but I'm sure others would not agree. To me, just because something doesn't have everything doesn't mean it isn't a programming language. It might not be a 'good' language, but that doesn't mean it isn't a language.
Dave Salt SimpList(tm) - The easiest, most powerful way to surf a mainframe! http://www.mackinney.com/products/SIM/simplist.htm ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html