Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples/jobs.py fails with zoautil_py.exceptions.JobSubmitException? #69

Open
samilaine opened this issue Jul 24, 2023 · 3 comments
Open

Comments

@samilaine
Copy link

Taking the samples/jobs.py as it is and running it in the IBM Z Explore USS produces

/z/zXXXXX/py > python3 zoautil-examples-jobs.py 
Traceback (most recent call last):
  File "/z/zXXXXX/py/zoautil-examples-jobs.py", line 67, in <module>
    run_sample()
  File "/z/zXXXXX/py/zoautil-examples-jobs.py", line 36, in run_sample
    job_sample = jobs.submit(dsn_with_mem_sample_jcl)
  File "/usr/lpp/IBM/zoautil/lib/zoautil_py/jobs.py", line 55, in submit
    raise ZOAUException(response.stderr_response)
zoautil_py.exceptions.ZOAUException

This might be a quirk of the IBM Z Xplore system setup, which is, obviously, out of my reach, but in any case I think it might be a good idea to wrap the call to jobs.submit() within a try...except block and print out what exactly went wrong.

@AnthonyGiorgio
Copy link
Member

AnthonyGiorgio commented Jul 24, 2023

I'm not using the IBM Z Xplore system at the moment, so could you provide the ZOAU version that you're using there?

@samilaine
Copy link
Author

My best guess is that this will do:

/z/zXXXXX > /usr/lpp/IBM/zoautil/bin/zoaversion      
2022/03/25 14:00:00 CUT V1.1.1

@AnthonyGiorgio
Copy link
Member

We've made significant improvements to ZOAU in the v1.2 release stream. I don't know what kind of authority you're given on this system, but perhaps you could try installing a newer ZOAU version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants