Absent Member.. Hp PPM Absent Member..
Absent Member..
406 views

Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution
We are getting this error frequently.
We have already implemented solution provided in HP blog like change prompt to $.
But it does not fix this error.

We have moved from Hp UNIX to Red hat Linux.
We have seen this error in HP UNIX but very rarely.

Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

thanks
Rahul
0 Likes
1 Solution

Accepted Solutions
Absent Member.. Alonso_A_PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

Hello,

 

Well, this is a defect and RnD created a new defect accordingly:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1L57952

 

 

I think we can track the status to check for the possible resolution of this fix.

 

Regards,

 

Alonso

 

 

0 Likes
8 Replies
CGut Absent Member.
Absent Member.

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

Hello Rahul,

 

Could you please tell me what was the possible solution that HP provided you? I have found that This may happen when the command line prompt is a long prompt. Solution: Set the prompt to be a short prompt Change the command prompt to be a short string by setting the following in the .profile.

 

Please let me know if this helped you.

 

Best Regards,

Carolina.

 

 


“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
Absent Member.. Hp PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

This is solution

Still i get error randomly.

 

----------------------

 

Checking our knownledge database I found out that this may happen when the command line prompt is a long prompt. Example: If the following is set in the .profile, you will receive the above error for sqlplus check or in execution logs: PS1=`hostname`:'abc/test/oracle/temp/dump/trump/dust/rust-> '

A solution could be "PS1" setting will avoid the possibly having an issue of exceeding command line length restrictions. Set the prompt to be a short prompt. Change the command prompt to be a short string by setting the following in the .profile: PS1="$"

0 Likes
Absent Member.. Alonso_A_PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

Could you please attach your .profile file here?

0 Likes
Absent Member.. Hp PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

$: vi  /home/kintana/.bash_profile

# set up stuff unique to the Korn Shell
if [ "$RANDOM" != "$RANDOM" ]
then
        EDITOR="vi" ; export EDITOR
        PS1="${HOSTNAME}:${LOGNAME}: "
        fname=`date +%b%d:%H%M`
        HISTFILE=$HOME/.sess_history/.${HOSTNAME}hist.$fname
        HISTSIZE=1024; export HISTSIZE

        # Set up useful aliases
                alias ls="/bin/ls -F"
                alias ls-l="/bin/ls -Fl"
fi

#export PS1='${LOGNAME}:'
#export PS1='$'

#added this to avoid SCP error
export TERM=vt100
export PS1='$: '


"~/.bash_profile" 56L, 1423C                                  49,1          Bot

export RCS_HOME=/eb_rdk0_p/software/archives

#added this to avoid SCP error
export TERM=vt100
export PS1='$: '

# check for existance of standard environment variables
# if they are null, assign values to them
LOGNAME=${LOGNAME:-`whoami`}
HOSTNAME=${HOSTNAME:-`hostname`}
export LOGNAME HOSTNAME

# set up stuff unique to the Korn Shell
if [ "$RANDOM" != "$RANDOM" ]
then
        EDITOR="vi" ; export EDITOR
        PS1="${HOSTNAME}:${LOGNAME}: "
        fname=`date +%b%d:%H%M`
        HISTFILE=$HOME/.sess_history/.${HOSTNAME}hist.$fname
        HISTSIZE=1024; export HISTSIZE

        # Set up useful aliases
                alias ls="/bin/ls -F"
                alias ls-l="/bin/ls -Fl"
fi

#export PS1='${LOGNAME}:'
#export PS1='$'

#added this to avoid SCP error
export TERM=vt100
export PS1='$: '

0 Likes
Absent Member.. Alonso_A_PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

Let's try to change

 

export TERM=vt100
export PS1='$: '

 

for

 

export TERM=Dumb

PS1='$' or "$"

 

 

Regards,

Alonso

 

 

0 Likes
Absent Member.. Hp PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

last time i changed ter to DUMB but it has an issue. When i tried to edit file using vi, terminal get hung up.

So i changed back to vt100

0 Likes
Absent Member.. Alonso_A_PPM Absent Member..
Absent Member..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

Hello,

 

Well, this is a defect and RnD created a new defect accordingly:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1L57952

 

 

I think we can track the status to check for the possible resolution of this fix.

 

Regards,

 

Alonso

 

 

0 Likes
Contributor.. Vibhor Contributor..
Contributor..

Re: Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status.

Jump to solution

We are also facing same issue frequently in our deployment managemnt migrations.

Found text 'KSC_EXIT_STATUS' without a '$?' and without an exit status

Is there any further update to this defect as I couldn't able to find any progress on defect rasied with RnD team.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.