MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Continuing after an error
rogervais

Replies: 10
Views: 5731

PostForum: TSO and ISPF   Posted: Fri May 28, 2010 12:40 pm   Subject: Continuing after an error
Yes it was the macro, I think that I was getting RC 28 because I did not have
Address ISPEXEC 'CONTROL ERRORS RETURN'
  Topic: Continuing after an error
rogervais

Replies: 10
Views: 5731

PostForum: TSO and ISPF   Posted: Mon May 24, 2010 11:53 am   Subject: Continuing after an error
Thanks for your help
I needed
Address ISPEXEC 'CONTROL ERRORS RETURN'

in the MACRO
  Topic: Continuing after an error
rogervais

Replies: 10
Views: 5731

PostForum: TSO and ISPF   Posted: Mon May 24, 2010 11:51 am   Subject: Continuing after an error
PDSLOOP
Address ISPEXEC "EDIT DATASET('"pds"("mem")') MACRO("IsrtComm")"

ISRTCOMM
/* REXX MACRO */
ADDRESS ISREDIT ...
  Topic: Continuing after an error
rogervais

Replies: 10
Views: 5731

PostForum: TSO and ISPF   Posted: Mon May 24, 2010 11:25 am   Subject: Continuing after an error
You do get a return code of 28 when it does not find the string that you are looking for. And then subsequent instructions don't seem to work.

Here is the code that I had:

ADDRESS ISREDIT " ...
  Topic: Continuing after an error
rogervais

Replies: 10
Views: 5731

PostForum: TSO and ISPF   Posted: Sun May 23, 2010 3:10 pm   Subject: Continuing after an error
Is it possible to reset the Return Code (RC) value back to zero???
I'm trying to insert comments in a Cobol program. I want to insert after finding an alpha in cols 73 80
ADDRESS ISREDIT "FIND ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group