Roger, Perhaps define QKOUT to a DCL file, then run your batch job, and you might see your errors in there. I'll bet you have qkout to null Kent Heatherington A canuck in Dallas who refuses to use 'y'all