Yes, correctly the last command is XX. But I need lasted is: Rman (with my code). That why, I told for another solution not send command.
sorry, then I totally misunderstood your need ;(
Well then there are two options, one is you use JIG's, the other one is to sendcommand RMAN as you last command with a built in break, so the command was called (for command history) but you have an option to cancel it when called at this specific way (but that's not a solution I would preferre).
- alfred -