Page 2 of 2

Re: how to enter the edit macro without clist&rexx

PostPosted: Tue Mar 23, 2010 12:41 am
by dick scherrer
Hi Helen,

Please note that the manual you mention is
Title: z/OS V1R9.0 ISPF Edit and Edit Macros
which is neither CLIST nor REXX specific. . . This explains the workings of Edit (and Edit Macros) within tso/ispf.

In that same manual, there is info that may be useful here:
http://publibz.boulder.ibm.com/cgi-bin/ ... em61/2.2.1

Re: how to enter the edit macro without clist&rexx

PostPosted: Tue Mar 23, 2010 2:10 am
by Bill Dennis
Could it be so simple as a blank space between CODE and (0) ?
    EXIT  CODE  (0)

Re: how to enter the edit macro without clist&rexx

PostPosted: Tue Mar 23, 2010 2:36 am
by helen2000
which is neither CLIST nor REXX specific. . . This explains the workings of Edit (and Edit Macros) within tso/ispf.


so, can I say there are 4 macros in mainframe: Clist, Rexx, Program and Edit macros? for the last kind Edit macro,
what shoul I do before run it? or how to set enviorment for running?
 000001     ISREDIT MACRO               
 000002        ISREDIT C MP0 MP1 ALL     
 000003        ISREDIT C DB0 DB1 ALL     
 000004        ISREDIT C IT0 IT1 ALL     
 000005        ISREDIT C HD0 HD1 ALL     
 000006        ISREDIT C HG0 HG1 ALL     
 000007        ISREDIT FIND 'Y/E' FIRST 
 000008     EXIT CODE(0)                 

thanks, Mr. Dick,

Helen

Re: how to enter the edit macro without clist&rexx

PostPosted: Tue Mar 23, 2010 3:13 am
by Robert Sample
so, can I say there are 4 macros in mainframe: Clist, Rexx, Program and Edit macros?
No -- clist and REXX are programming languages, programs are written in a programming language, and edit macros can only be done in ISPF which is an environment. None of the first three qualifies as a "macro" in the classic sense of code that is used to modify the source before compilation / assembly. Assembler has macros, COBOL has COPY statements, PL/I has INCLUDE statements so they each have elements of macros available but you cannot say, for example, that an assembler program is a macro even though it uses macros.

Re: how to enter the edit macro without clist&rexx

PostPosted: Tue Mar 23, 2010 8:17 am
by helen2000
so, if i code a edit macro or code clist/rexx, and then I copy all procedure(or macro) to sysproc. that's enough for run them, could you tell me it's right?
thanks, all,

Helen,