in reply to trying to get a loop to redo

If your just running a script or program and need 'y' piped to it, in linux you can use yes. Yes outputs Y <cr>
composer "yes | create originaljobfile from jobs=@#@"';