Troubleshooting
Problem
CONNECT:Direct UNIX Runtask/Runjob Not Executing (SCI19129)
Symptom
Error: Retrun Code 127
Error: XSMG402I A user RUNTASK step completed.
Error: Return code7F
Restricted Shell
Cause
has specified a directory value in the pstmt.run_dir parm in the userfile.cfg
file.
Resolving The Problem
1) When specifying a directory value in the pstmt.run_dir parm, this will
cause
the UNIX restricted shell to be invoked, providing enhanced security.
If this
is preferred, the customer must understand the concepts of
restricted shell
environments and usage.
Please review the
CONNECT:Direct for UNIX Administration (Maintaining the
User Authorization
Information File) for further details on the limitations
and usage when
using CONNECT:Direct for UNIX.
2) The customer may remove the directory
which will remove the restriction and
allow the customer to use the command.
If no program directory is not
specified, the regualar (Bourne) shell is
invoked for executing commands.
Historical Number
PRI338
Product Synonym
[<p><b>]Fact[</b><p>];CONNECT:Direct for UNIX;all versions [<br/>] SCI19129
Was this topic helpful?
Document Information
Modified date:
17 December 2019
UID
swg21523228