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
 
Reset a single lable thru' rexx exec

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Reset a single lable thru' rexx exec
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    Post subject: Reply to: Reset a single lable thru' rexx exec
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 12:14 pm    Post subject:
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    Post subject: Reply to: Reset a single lable thru' rexx exec
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: 1243
Location: Israel

PostPosted: Tue Jun 09, 2009 1:40 pm    Post subject: Reply to: Reset a single lable thru' rexx exec
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    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 exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm

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