KORN SHELL -U OPTION exception
search cancel

KORN SHELL -U OPTION exception

book

Article ID: 52667

calendar_today

Updated On:

Products

Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Job fails to run script with #!/bin/ksh -u on the first line.

Environment

Release:
Component: SYSAGD

Resolution

When a userid is specified as part of the job definition, job runs script with #!/bin/ksh on the first line of the script without problem, but it fails with #!/bin/ksh -u on the first line of the script.

Keep the first line of the script as #!/bin/ksh and add the following line on the second line:

set -u