Description
Describe the bug
when using the role: add-zos-user, task: DEFINE ALIAS, receive the following error (note: xxx out some fields for security):
TASK [add-zos-user : Define alias for user ID] ******************************************
fatal: [xxxx-hostname-xxxx]: FAILED! => {"changed": false, "msg": "The TSO command "DEFINE ALIAS ( NAME('SY@ANSZ1') RELATE('ICFCVOL.VXXXXXX') ) CATALOG('SYS1.MCAT.XXXXX.XXXXXX')\n" execution failed.", "output": [{"command": "DEFINE ALIAS ( NAME('SY@ANSZ1') RELATE('ICFCVOL.VXXXXXX') ) CATALOG('SYS1.MCAT.XXXXX.XXXXXX')\n", "content": ["IKJ56712I INVALID KEYWORD, ", "", "IDC0014I LASTCC=12", ""], "lines": 4, "rc": 12}]}
To Reproduce
Steps to reproduce the behavior:
- Go to 'role 'add-zos-user''
- Define a user-catalog and master-catalog for new alias in roles/add-zos-user/defaults/main.yml
- run playbook add-zos-user
- See error as noted above: ["IKJ56712I INVALID KEYWORD, ", "", "IDC0014I LASTCC=12", ""], "lines": 4, "rc": 12}]}
Expected behavior
rc 0, with successful alias defined
Screenshots
when using the role: add-zos-user, task: DEFINE ALIAS, receive the following error (note: xxx out some fields for security):
TASK [add-zos-user : Define alias for user ID] ******************************************
fatal: [xxxx-hostname-xxxx]: FAILED! => {"changed": false, "msg": "The TSO command "DEFINE ALIAS ( NAME('SY@ANSZ1') RELATE('ICFCVOL.VXXXXXX') ) CATALOG('SYS1.MCAT.XXXXX.XXXXXX')\n" execution failed.", "output": [{"command": "DEFINE ALIAS ( NAME('SY@ANSZ1') RELATE('ICFCVOL.VXXXXXX') ) CATALOG('SYS1.MCAT.XXXXX.XXXXXX')\n", "content": ["IKJ56712I INVALID KEYWORD, ", "", "IDC0014I LASTCC=12", ""], "lines": 4, "rc": 12}]}
Additional context
n/a