Exactly, thanks for your answer and for the workaround.

It worked for me when I run some commands, but not with others or with a combination of them (not really sure about the condition). For instance, for the sequence I showed for backup, no way.

Another workaround I found is to embed the sequence into an ObjectScript class in a file. Then I load the file and I call the class, followed by a halt. Not really sure why, but doing it that way, I can run the sequence in an unattended way.