View previous topic :: View next topic
|
Author |
Message |
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
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 |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
"Ispexec control errors return" |
|
Back to top |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
That works .....
Thanks a lot expat !!!! |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
I've tried "RESET LABEL .X .X" and only .X label was removed. |
|
Back to top |
|
|
|