The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 10:46 AM
How to debug the awk script chella Shell Programming and Scripting 2 11-08-2007 07:51 PM
FTP debug logging untamed HP-UX 1 10-02-2007 09:34 AM
how to debug ramneek High Level Programming 1 09-19-2005 06:35 AM
DOS Debug for linux KrazyGuyPaul UNIX for Dummies Questions & Answers 2 06-24-2003 11:47 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-28-2007
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 352
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
  #2 (permalink)  
Old 10-28-2007
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 352
the script was written in kornshell.
  #3 (permalink)  
Old 10-29-2007
asch337 asch337 is offline
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0