Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1894
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: 1060
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: 1060
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us