Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISREDIT ERROR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ISREDIT ERROR
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 18, 2012 1:17 pm    Post subject:
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: 1825
Location: UK

PostPosted: Wed Jul 18, 2012 1:30 pm    Post subject:
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: 1027
Location: Oostende, Belgium

PostPosted: Wed Jul 18, 2012 1:52 pm    Post subject:
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    Post subject: ADDRESS command
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: 1027
Location: Oostende, Belgium

PostPosted: Tue Jul 31, 2012 4:18 am    Post subject: Re: ADDRESS command
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us