daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fnGetFICTValues(){
  2. arr_archdirs=`
  3. sqlplus -s $rdbms_connect <<EOF
  4. set heading off
  5. set feedback off
  6. select ARCHIVE_DIR from UHSPA.UHS_FICT_DETAILS where ARCHIVE_IND=1 and fict_id >13;
  7. exit;`
  8.  
  9.   echo $arr_archdirs;
  10.   echo -e "EXITING FUNCTION: fnGetFICTValues. n"
  11.  
  12. return
  13. }
  14.    
  15. /nfs/middle_fs/custom_warehouses/m152e/code/script/mck_bill_item/archive
  16. /nfs/middle_fs/custom_warehouses/p152e/code/script/mck_bill_item/archive          
  17. /nfs/middle_fs/custom_warehouses/c152c/code/script/mck_gtin_item/archive                
  18. /nfs/middle_fs/from_client_site/p152e/rc/ACO_Roster/archive
  19. /nfs/middle_fs/custom_warehouses/b152c/code/script/mck_gtin_item/archive
  20. /nfs/middle_fs/custom_warehouses/p152e/code/script/leapfrog/archive                
  21. /nfs/middle_fs/from_client_site/b152c/rc/ACO_Roster/archive                
  22. /nfs/middle_fs/from_client_site/c152c/rc/ACO_Roster/archive                
  23. /nfs/middle_fs/from_client_site/p152c/rc/ACO_Roster/archive                
  24. /nfs/client_fs/to_client_site/p152w/SOAD03/archive
  25. EXITING FUNCTION: fnGetFICTValues.
  26.    
  27. fnLoopFictDetails(){
  28. $dirdelete = $ARCHIVE_DIR/*
  29. for files in $ARCHIVE_DIR/*
  30.  
  31. files=( "$dir"/*);
  32. find $dir -type -rf -exec rm {} ;
  33. done
  34. echo -e "EXITING FUNCTION: fnLoopFictDetails. n"
  35. return
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top