how to enter the edit macro without clist&rexx



IBM's Command List programming language & Restructured Extended Executor

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

Postby dick scherrer » Tue Mar 23, 2010 12:41 am

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
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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

 

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

Postby Bill Dennis » Tue Mar 23, 2010 2:10 am

Could it be so simple as a blank space between CODE and (0) ?
    EXIT  CODE  (0)
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby helen2000 » Tue Mar 23, 2010 2:36 am

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
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby Robert Sample » Tue Mar 23, 2010 3:13 am

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

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

Postby helen2000 » Tue Mar 23, 2010 8:17 am

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,
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post