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
 

 

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: 1224
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm


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