2 issues:
The 2nd line seems to be inserted from elsewhere.
job_name is the name of your job running the sql, it should be objname.
Try the post a few down from here
select * from qsys2.sysschemas where schema_name like'%XYZ%'
The % are wildcards so library WXYZA needs them both to match. Also XYZ must be uppercase.
HTH
Jonathan.