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: 8620
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: 1252
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

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