APAR status
Closed as fixed if next.
Error description
ksh93 interrupt (INT) trap with an 'exit' does not terminate when TMOUT is set. Given the following script #!/usr/bin/ksh93 TMOUT=500 typeset -i Count=0 trap "CTRL_C" INT function CTRL_C { print "EXITING" exit 1 } while true; do read RESP?"TYPE CTRL+C: " Count=$((Count+=1)) echo " COUNT= $Count " done when prompted with "TYPE CTRL+C," hit CTRL+C. The script will not terminate as expected.
Local fix
Problem summary
KSH93 INT TRAP WITH AN 'EXIT' DOES NOT TERMINATE WHEN TMOUT SET
Problem conclusion
Temporary fix
Comments
This APAR is being closed FIN. This means that a solution to this APAR is expected to be delivered from IBM in a release (if any) to be available within the next 24 months.
APAR Information
APAR number
IV30809
Reported component name
AIX 610 STD EDI
Reported component ID
5765G6200
Reported release
610
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Submitted date
2012-10-24
Closed date
2012-11-30
Last modified date
2013-03-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R610 PSY
UP
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
25 March 2013