Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message "RC(-3)" from "address ispexec vget(..." 3

Status
Not open for further replies.

simoneta

Technical User
Dec 4, 2008
1
ES
I was just trying to adapt a rexx example about RMF.
Everithing was running ok (the original examples runned ok, I did several modifications, in several different jobs, one after the other...)
Suddenly, after an error-ending job, the next one and all the followings failed with same message. Now I'm trying with the simplest-ridiculous following rexx code:
Code:
  /* rexx */
  address ispexec "VGET(IKJADM) SHARED"
  say 'IKJADM =<'IKJADM'>'
  exit
And the results are:
[tt] 2 *-* address ispexec "VGET (IKJADM) SHARED"
+++ RC(-3) +++
IKJADM =<IKJADM>
READY
END
[/tt]
How can I reset the situation? What's happening? What and how do I need to flush to return to a normal situation?
 
Try something like this
Code:
[COLOR=#804040][b]signal[/b][/color] error

[COLOR=#0000ff]/* Error addressing environment */[/color]
[COLOR=#804040][b]address[/b][/color] myenvironment [COLOR=#ff00ff]"my_command"[/color]
[COLOR=#008080]continuing[/color]:
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"Continuing after Error"[/color]
[COLOR=#804040][b]exit[/b][/color]

[COLOR=#008080]error[/color]:
[COLOR=#804040][b]say[/b][/color] [COLOR=#ff00ff]"address failed"[/color]
[COLOR=#804040][b]signal[/b][/color] continuing
[COLOR=#804040][b]return[/b][/color]

Output:
Code:
address failed
Continuing after Error
 
Sorry, the syntax is not
Code:
signal error
but
Code:
signal on error

 
Put a space between VGET and (IKJADM)
address ispexec "VGET (IKJADM) SHARED"

 
A RC=-3 always means some sort of "address error". In this case it probably means "the command you asked me to execute is not valid for the current address-state".

I suspect RxUsr has nailed it: ISPEXEC is complaining that it doesn't know what to do with 'VGET(IKJADM)'.

Frank Clarke
--Is it time for another Boston Tea Party?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top