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: 1722
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

Active Member


Joined: 07 Feb 2009
Posts: 989
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

Active Member


Joined: 07 Feb 2009
Posts: 989
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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