The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to debug a C++ code ahjiefreak High Level Programming 0 04-06-2008 07:46 AM
How to debug the awk script chella Shell Programming and Scripting 2 11-08-2007 04:51 PM
FTP debug logging untamed HP-UX 1 10-02-2007 06:34 AM
how to debug ramneek High Level Programming 1 09-19-2005 03:35 AM
DOS Debug for linux KrazyGuyPaul UNIX for Dummies Questions & Answers 2 06-24-2003 08:47 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-27-2007
Registered User
 

Join Date: Oct 2007
Posts: 289
Unhappy debug aix 4.3

what's the best way for debugging in aix 4.3? i have this old aix 4.3 with unknown application that my new company still uses. they want me to complete a script that was working before but the application was very old and software company don't exist anymore. the script monitor the maintenance of the applications (with db2 7). the application has no more code and cannot be recompiled, that's why it cannot be upgraded to aix 5.

thanks,
itik
Reply With Quote
Forum Sponsor
  #2  
Old 10-27-2007
Registered User
 

Join Date: Oct 2007
Posts: 289
the script was written in kornshell.
Reply With Quote
  #3  
Old 10-29-2007
Registered User
 

Join Date: Oct 2007
Posts: 7
Insert the following 2 lines to your korn shell script right after "#!/bin/ksh":

set -x
PS4='[Line $LINENO]: '

This will turn trace execution. When you run the script, you will see the line number that is being executed and the command the script is about to run.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0