Sorry if I missed a crucial element in this thread. Is there really a hard requirement to use 'TSOE EDIT', or is it simply necessary to perform edit operations in batch? If the latter, then ISPF in batch mode would provide a powerful solution. Most of the familiar ISPF edit functions are available to a batch Rexx. Using some of them is a little tricky at first, but nearly any sequence of ISPF keystroke operations can be simulated in a Rexx. The problem of 'subcommand mode' does not arise with batch ISPF.
The main concern would be to avoid using 'new' features in current ISPF releases that might not be available in an older environment. A little care there would go a long way. . . . JO.Skip Robinson Southern California Edison Company SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [EMAIL PROTECTED] IBM Mainframe Discussion List <[email protected]> wrote on 10/21/2005 05:25:13 AM: > Shmuel Metz (Seymour J.) wrote: > > In <[EMAIL PROTECTED]>, on 10/18/2005 > > at 12:10 PM, Steve Comstock <[EMAIL PROTECTED]> said: > > > > > >>But I have trouble accomplishing the same work in > >>a REXX exec. > > > > > > REXX does not support the TSO stack to the extent that CLIST does. The > > best that you can do is to queue or stack subcommands before you call > > EDIT, or to split your logic into two parts and queue a subcommand to > > invoke the second part under EDIT. > > Right, and I was taking the first tack; I had a logic > error, but Mark's suggestions fixed that. > > > > > > > In <[EMAIL PROTECTED]>, on 10/18/2005 > > at 12:51 PM, Steve Comstock <[EMAIL PROTECTED]> said: > > > > > >>Since we are not under ISPF, edit macros are not an option. > > > > > > What Dave wrote has nothing to do with ISPF. Your message was about > > TSO EDIT, and that's the EDIT he was referring to; edit macros *are* > > available to you. > > > > > > Huh? Edit macros are available under TSO EDIT? You mean > like ISREDIT? I don't think so. So where can I read > about TSO EDIT edit macros? I don't see any discussion > about them in the TSO Commands reference doc. > > [OK, so wait; I do a search on "macro" and come up with a > reference to the TSO Customization doc; a search there > yields 347 matches! But these are mostly macros for > modifying various TSO, RACF, VTAM, etc. facilities; so > I run a search on "edit macro"; this returns 33 matches, > 28 of which are for the IKJEDIT macro which allows the > installer to change or add data set type attributes; > the remaining five have to do with the Information > Center Facility. None of this is useful to me, where > I am creating a REXX exec to build student data sets > based on existing files and a single input parameter. > I have no control over installing or modifying TSO > in customer locations, nor do I want to have such. > This is for labs teaching applications programmers. > The stuff in this doc is not edit macros in the > sense I find practical; is this what you were > alluding to?] ---------------------------------------------------------------------- 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

