Re: ISPF Program Edit Macro
In listserv%201101050058381249.0...@bama.ua.edu, on 01/05/2011 at 12:58 AM, Paul Gilmartin paulgboul...@aim.com said: This thread belongs in TSO-REXX or ISPF-L. No; it belongs in IBM-MAIN and ISPF-L; it does not belong in TSO-REXX. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
On Tue, 4 Jan 2011 21:02:19 -0500, DanD mvs-j...@sympatico.ca wrote: Thanks for the suggestion Walt. That seems like it would cause continual overhead as each time it would be issued the REXX would get control and it would be re-defining editsub. No, because once you've defined it as a program macro it's defined for the rest of that edit session, and so on the 2nd, 3rd, etc. calls ISPF edit simply recognizes the name as a program macro and runs the program instead of the exec. I'm also wondering...as this is a program EDIT MACRO, how do you CALL it from a REXX/CLIST? address isredit !macro-name So, for example, given a REXX exec named editsub: /* rexx */ isredit macro isredit define editsub macro pgm isredit !editsub -- Walt Farrell IBM STSM, z/OS Security Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
On Sun, 2 Jan 2011 14:26:14 -0500, DanD mvs-j...@sympatico.ca wrote: John, yours still uses the SPFTEMPn.cntl that was a problem for some users. My EDITSUB program writes directly to the internal reader. Binyamin's IMACRO DEFINE method seems to be the best solution so far although I was hoping for something that didn't require user intervention. Perhaps you could also ship a REXX exec or clist named editsub, which would define editsub as a program macro and then invoke the program. -- Walt Farrell IBM STSM, z/OS Security Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
Thanks for the suggestion Walt. That seems like it would cause continual overhead as each time it would be issued the REXX would get control and it would be re-defining editsub. I'm also wondering...as this is a program EDIT MACRO, how do you CALL it from a REXX/CLIST? I think I'll just add it to my CBT file (452) and let whoever wants to play with it see what they can do. If someone wants it before I get a chance to send the update to Sam, drop me a line and I'll send you a copy. Dan -Original Message- From: Walt Farrell Sent: Tuesday, January 04, 2011 8:35 AM Subject: Re: ISPF Program Edit Macro On Sun, 2 Jan 2011 14:26:14 -0500, DanD wrote: John, yours still uses the SPFTEMPn.cntl that was a problem for some users. My EDITSUB program writes directly to the internal reader. Binyamin's IMACRO DEFINE method seems to be the best solution so far although I was hoping for something that didn't require user intervention. Perhaps you could also ship a REXX exec or clist named editsub, which would define editsub as a program macro and then invoke the program. -- Walt Farrell IBM STSM, z/OS Security Design -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
On Tue, 4 Jan 2011 21:02:19 -0500, DanD wrote: Thanks for the suggestion Walt. That seems like it would cause continual overhead as each time it would be issued the REXX would get control and it would be re-defining editsub. I'm also wondering...as this is a program EDIT MACRO, how do you CALL it from a REXX/CLIST? From Rexx, I would guess, address ATTCHMVS name parm1 parm2 But can address ISREDIT be mingled with the CALL interface in a single macro execution? This thread belongs in TSO-REXX or ISPF-L. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
I use CLIST and Rexx Edit macros to do this. ./ ADD NAME=GO 0138-90310-06339-0900-5-8-0-TRIDJK ISREDIT MACRO ISREDIT SUBMIT ISPEXEC SELECT PGM(IOFSPF) NEWAPPL(IOF) PASSLIB /* Edit macro to submit job and invoke IOF */ ./ ADD NAME=GOSDSF 0136-90310-11002-0905-8-8-0-TRIDJK /* Rexx */ Address ISREDIT ISREDIT MACRO ISREDIT SUBMIT Address ISPEXEC ISPEXEC SELECT PGM(ISFISP) PARM(ST) NEWAPPL(ISF) PASSLIB Exit /* Edit macro to submit job and invoke SDSF */ Regards, John K ISPF Program Edit Macro DanD to: IBM-MAIN 12/31/2010 04:24 PM Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu Please respond to IBM Mainframe Discussion List With recent SUBMIT discussions (ie. ISPFTEMP data set size / lrecl restrictions) I thought I'd try and create a program EDIT MACRO (assembler) to submit the unsaved EDIT/VIEW data. The EDIT MACRO is working great but I dislike having to issue !EDITSUB to call the macro. I tried adding CMD(!EDITSUB) and CMD(EDITSUB) to the command table with no success. Can a program EDIT MACRO be called in any other way than !program? Thanks Happy New Year. DanD -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
Thanks for the reply John and Binyamin. John, yours still uses the SPFTEMPn.cntl that was a problem for some users. My EDITSUB program writes directly to the internal reader. Binyamin's IMACRO DEFINE method seems to be the best solution so far although I was hoping for something that didn't require user intervention. Dan D -Original Message- From: John P Kalinich Sent: Sunday, January 02, 2011 9:11 AM Newsgroups: bit.listserv.ibm-main Subject: Re: ISPF Program Edit Macro I use CLIST and Rexx Edit macros to do this. ./ ADD NAME=GO 0138-90310-06339-0900-5-8-0-TRIDJK ISREDIT MACRO ISREDIT SUBMIT ISPEXEC SELECT PGM(IOFSPF) NEWAPPL(IOF) PASSLIB /* Edit macro to submit job and invoke IOF */ ./ ADD NAME=GOSDSF 0136-90310-11002-0905-8-8-0-TRIDJK /* Rexx */ Address ISREDIT ISREDIT MACRO ISREDIT SUBMIT Address ISPEXEC ISPEXEC SELECT PGM(ISFISP) PARM(ST) NEWAPPL(ISF) PASSLIB Exit /* Edit macro to submit job and invoke SDSF */ Regards, John K ISPF Program Edit Macro DanD to: IBM-MAIN 12/31/2010 04:24 PM Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu Please respond to IBM Mainframe Discussion List With recent SUBMIT discussions (ie. ISPFTEMP data set size / lrecl restrictions) I thought I'd try and create a program EDIT MACRO (assembler) to submit the unsaved EDIT/VIEW data. The EDIT MACRO is working great but I dislike having to issue !EDITSUB to call the macro. I tried adding CMD(!EDITSUB) and CMD(EDITSUB) to the command table with no success. Can a program EDIT MACRO be called in any other way than !program? Thanks Happy New Year. DanD -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
In offcdc6ab5.9f56e324-on8525780c.004d87bc-0625780c.004d9...@csc.com, on 01/02/2011 at 09:09 AM, John P Kalinich jkali...@csc.com said: Address ISREDIT If you do that then you don't need ISREDIT MACRO MACRO would work just as well, and would be less confusing. Similarly, Address ISPEXEC Isn't needed if you're going to stick ISPEXEC in front of everything. I beleive that it would be marginally faster to do /* Rexx */ Address ISREDIT MACRO ISUBMIT Address ISPEXEC SELECT PGM(ISFISP) PARM(ST) NEWAPPL(ISF) PASSLIB Exit /* Edit macro to submit job and invoke SDSF */ -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: ISPF Program Edit Macro
On Fri, 31 Dec 2010 17:13:56 -0500 DanD mvs-j...@sympatico.ca wrote: :With recent SUBMIT discussions (ie. ISPFTEMP data set size / lrecl :restrictions) I thought I'd try and create a program EDIT MACRO (assembler) :to submit the unsaved EDIT/VIEW data. :The EDIT MACRO is working great but I dislike having to issue !EDITSUB to :call the macro. :I tried adding CMD(!EDITSUB) and CMD(EDITSUB) to the command table with :no success. :Can a program EDIT MACRO be called in any other way than !program? You can issue DEFINE EDITSUB MACRO PGM from an IMACRO. -- Binyamin Dissen bdis...@dissensoftware.com http://www.dissensoftware.com Director, Dissen Software, Bar Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
ISPF Program Edit Macro
With recent SUBMIT discussions (ie. ISPFTEMP data set size / lrecl restrictions) I thought I'd try and create a program EDIT MACRO (assembler) to submit the unsaved EDIT/VIEW data. The EDIT MACRO is working great but I dislike having to issue !EDITSUB to call the macro. I tried adding CMD(!EDITSUB) and CMD(EDITSUB) to the command table with no success. Can a program EDIT MACRO be called in any other way than !program? Thanks Happy New Year. DanD -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html