Skip to content

Commit 37a4533

Browse files
Added back errors=replace
1 parent 1d7647e commit 37a4533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/module_utils/zos_mvs_raw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def execute(pgm, dds, parm="", debug=False, verbose=False, tmp_hlq=None):
5959
"--tmphlq={0}".format(tmp_hlq.upper()) if tmp_hlq else "",
6060
MVSCmd._build_command(pgm, dds, parm),
6161
)
62-
rc, out, err = module.run_command(command)
62+
rc, out, err = module.run_command(command, errors='replace')
6363
return MVSCmdResponse(rc, out, err)
6464

6565
@staticmethod
@@ -89,7 +89,7 @@ def execute_authorized(pgm, dds, parm="", debug=False, verbose=False, tmp_hlq=No
8989
"--tmphlq={0}".format(tmp_hlq.upper()) if tmp_hlq else "",
9090
MVSCmd._build_command(pgm, dds, parm),
9191
)
92-
rc, out, err = module.run_command(command)
92+
rc, out, err = module.run_command(command, errors='replace')
9393
return MVSCmdResponse(rc, out, err)
9494

9595
@staticmethod

0 commit comments

Comments
 (0)