Skip to content

rc 12. Invalid Keyword for task: DEFINE ALIAS #214

Open
@ziosstaff

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:

  1. Go to 'role 'add-zos-user''
  2. Define a user-catalog and master-catalog for new alias in roles/add-zos-user/defaults/main.yml
  3. run playbook add-zos-user
  4. 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

Metadata

Assignees

Labels

Status: In ProgressThis issue is under review by a team member.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions