Do know you an IDE online on Web ?
I would like to test this code
dow (a <= 5) and (b + c = 0);
do_something (a:b:c);
enddo;
I don't know of any RPG interpreter online.
There is a free IBM i machine that you can sign up for at pub400.com.