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: 1228
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. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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