#!/usr/bin/ksh # smenu_show_transaction.ksh # Author : bernard Polarski # Date : 25-April-2006 cd $TMP # ---------------------------------------------------------------- function help { cat < -s : List SCN instead of xid -n : Lists all incoming (from remote client) and outgoing (to remote server) in-doubt distributed transactions(DBA_2PC_NEIGHBORS) -h : This help -p : Lists all in-doubt distributed transactions (DBA_2PC_PENDING) You get the TRANS_ID for purge this option -p -purge : To manually remove an entry from the data dictionary EOF } # ---------------------------------------------------------------- function do_it { sqlplus -s "$CONNECT_STRING" <