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

Reset a single lable thru' rexx exec


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

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Jun 09, 2009 11:51 am
Reply with quote

In my REXX exec, i am using

'ISREDIT RESET LABEL'

This is resetting all the lables. I just want to reset/eliminate lable on the current line

Is that possible ?
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Jun 09, 2009 12:07 pm
Reply with quote

One more question .....
In the same exec i am locating line using label,

"ISREDIT LOCATE .JPD"

If label .JPD is not present then i get error

"ISPF Edit Macro Error"
Something like this
Code:

******************************************************************************
*                                                                            *
* Command in error . : LOCATE .JPD                                           *
*                                                                            *
* Invalid parameter                                                          *
* Invalid line number or label or LOCATE keyword.                            *
*                                                                            *
*   Error message ID . : ISRE066                                             *
*                                                                            *
*   Last return code . : 20                                                  *
*                                                                            *
*   Macro executing  . : BK2PARA                                             *
*                                                                            *
* Press ENTER key to terminate the macro.                                    *
*                                                                            *
*                                                                            *
*                                                                            *
******************************************************************************


I don't want user to see this error

I have used
CALL MSG "OFF" and
'SIGNAL ON ERROR NAME ERR' ....... to handle this error
but no use ....
How can I stop displaying this error msg when lable not found !!
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Jun 09, 2009 12:14 pm
Reply with quote

"Ispexec control errors return"
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Jun 09, 2009 12:28 pm
Reply with quote

That works .....

Thanks a lot expat !!!!
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Jun 09, 2009 1:40 pm
Reply with quote

I've tried "RESET LABEL .X .X" and only .X label was removed.
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top