-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Bug] [zos_job_submit] Submitted local invalid JCL and returned with a stack trace #623
Comments
May be related, but when I had invalid JCL compiling cobol i got what looks like an error due to long lines coming in job output, possibly the source is the dependency but did not have time to investigate, I think this might be related but will require more time to evaluate.
|
I ran the above JCL with no JOB card on the latest code 1.5.0 which is not released yet and found it to be fine.
|
I also tried with a more complete Job and only removed the job card, result is fine, see below:
|
Bug description
I was submitting some invalid JCL located on the controller (on purpose), it seems to have timed out but I would not have known that unless I enabled
-vvv
verbosity in Ansible. The BAD JCL has no Job card and no such program on the zVM calledIGYWCLG
but the bad JCL is not the point, the issue is the response was not a message but a stack trace.If you add a job card to the invalid JCL, the message is better:
Playbook:
Actual error without verbosity:
JCL:
You might want the rest of the playbook to create the content:
Playbook verbosity output
Contents of
ansible.cfg
No response
Contents of the inventory
No response
Contents of
group_vars
orhost_vars
No response
Ansible version
ansible [core 2.11.12] config file = /Users/ddimatos/git/github/playbooks/ansible.cfg configured module search path = ['/Users/ddimatos/.ansible/collections/ansible_collections/ibm/ibm_zos_core/plugins/modules'] ansible python module location = /Users/ddimatos/ansible_versions/3_8_13/ansible-doc/lib/python3.8/site-packages/ansible ansible collection location = /Users/ddimatos/.ansible/collections:/usr/share/ansible/collections executable location = /Users/ddimatos/ansible_versions/3_8_13/ansible-doc/bin/ansible python version = 3.8.13 (default, Jun 14 2022, 23:29:22) [Clang 13.0.0 (clang-1300.0.27.3)] jinja version = 3.1.2 libyaml = True
The text was updated successfully, but these errors were encountered: