I changed my login shell from /bin/sh to /bin/tcsh and my COZBATCH jobs are now receiving this warning message. It doesn't seem to be hurting anything though. I noticed it when I was running my IVP process for the 2.4.0 release of the toolkit, but it also occurs under 2.1.1.
CoZBatch[N]: Copyright (C) 2005-2013 Dovetailed Technologies LLC. All rights reserved.
CoZBatch[N]: version 2.4.0 2013-06-10
CoZBatch: executing progname=login-shell="-/bin/tcsh"
CoZBatch: returning rc=exitcode=0
Warning: no access to tty (EDC5113I Bad file descriptor. (errno2=0x1015011C)).
Thus no job control in this shell.
EDC5113I Bad file descriptor. (errno2=0x1015011C)
Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)
This message is being generated by the shell probably because you have a login profile for tcsh that is trying to configure the tty somehow.
Check your tcsh profile script and use something like "test tty -s && stty ...." to skip issuing the command if your shell is not running with a tty.
Although, based on your message it probably isn't an stty command.
Check your tcsh profile script and use something like "test tty -s && stty ...." to skip issuing the command if your shell is not running with a tty.
Although, based on your message it probably isn't an stty command.
Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)
I'm not seeing anything like that in the environmental setup.
USER=AIMJ
OMVS INFORMATION
----------------
UID= 0000000119
HOME= /u/aimj
PROGRAM= /bin/tcsh
CPUTIMEMAX= NONE
ASSIZEMAX= NONE
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE
MMAPAREAMAX= NONE
My .tcshrc file has this in it
set path = ( /usr/bin/ /usr/sbin/ /bin /u/aimj/bin /usr/lpp/java/J7.0/bin /tcs/coz/bin/ /usr/lpp/perl/bin )
set JAVA_HOME = ( /usr/lpp/java/J7.0/ )
set CLASSPATH = ( /usr/lpp/java/J7.0/ )
set LIBPATH = ( /usr/lpp/perl/lib/5.8.7/os390-thread-multi/CORE /usr/lpp/java/J7.0/ )
set prompt = '%S%U%n%s@%m%u:%B%c03%#%b'
set rprompt = '{%h}[%T]'
I tried it removing the set prompt and rprompt commands and I'm still getting the same message.
USER=AIMJ
OMVS INFORMATION
----------------
UID= 0000000119
HOME= /u/aimj
PROGRAM= /bin/tcsh
CPUTIMEMAX= NONE
ASSIZEMAX= NONE
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE
MMAPAREAMAX= NONE
My .tcshrc file has this in it
set path = ( /usr/bin/ /usr/sbin/ /bin /u/aimj/bin /usr/lpp/java/J7.0/bin /tcs/coz/bin/ /usr/lpp/perl/bin )
set JAVA_HOME = ( /usr/lpp/java/J7.0/ )
set CLASSPATH = ( /usr/lpp/java/J7.0/ )
set LIBPATH = ( /usr/lpp/perl/lib/5.8.7/os390-thread-multi/CORE /usr/lpp/java/J7.0/ )
set prompt = '%S%U%n%s@%m%u:%B%c03%#%b'
set rprompt = '{%h}[%T]'
I tried it removing the set prompt and rprompt commands and I'm still getting the same message.
Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)
Apparently this is a "friendly message" from tcsh that your shell doesn't have a tty (since it is running in batch).
Google "Warning: no access to tty" for many complaints
Google "Warning: no access to tty" for many complaints
Re: EDC5113I Bad file descriptor. (errno2=0x1015011C)
Yes, it's a very friendly message. Thanks.