IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISREDIT ERROR


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Wed Jul 18, 2012 11:48 am
Reply with quote

Hi All,
I am creating a tool in rexx add given string to the first 6 column of cobol programs, in this tool i am getting return code 20 for below ISREDIT command.
Code:

/*******REXX***********/
TRACE E
'ISREDIT MACRO (PARM1) NOPROCESS'
"ISPEXEC CONTROL ERRORS RETURN"
"ISREDIT PROCESS RANGE C"

i am unable to trace the reason and please help me to solve this issue
Thanks in advance.. [/code]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 18, 2012 1:17 pm
Reply with quote

Foreground or background

How is the macro invoked

Your macro as shown does not a lot

Why do you need a tool to do this ?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jul 18, 2012 1:30 pm
Reply with quote

Do you mean the
Code:
PROCESS RANGE C

command?
Did you look up the command syntax? RANGE suggests 2 values - a start and an end and you only show one -'C' which does not look like either a start or and end value.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Jul 18, 2012 1:52 pm
Reply with quote

1) @TS: AFAIK, you cannot use an edit macro to override a builtin line-command.
2) @NicC: RANGE supports two values, to process two different line commands. Start and end value are set by the process command, into .ZFRANGE and .ZLRANGE
Back to top
View user's profile Send private message
Michael Jakob

New User


Joined: 13 Mar 2011
Posts: 17
Location: Switzerland

PostPosted: Tue Jul 31, 2012 1:52 am
Reply with quote

Hi Royalchm

in your snippet, I do not see the ADDRESS command. To which processor do you send these commands?
example:
ADDRESS 'ISPEXEC' "MACRO (PARM1) NOPROCESS"
ADDRESS 'ISPEXEC' ,
"CONTROL ERRORS RETURN"

Two separate strings must be given.

With kind regards

Michael
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Jul 31, 2012 4:18 am
Reply with quote

Michael Jakob wrote:
in your snippet, I do not see the ADDRESS command. To which processor do you send these commands?
example:
ADDRESS 'ISPEXEC' "MACRO (PARM1) NOPROCESS"
ADDRESS 'ISPEXEC' ,
"CONTROL ERRORS RETURN"

Two separate strings must be given.

Don't talk out out the wrong place, if you had done some searches, either on this site, or using Google, you should never have given this completely bogus reply!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top