Search Results

Search: Posts Made By: gzs553
Forum: AIX 10-14-2008
39,479
Posted By gzs553
Awesome!!
Thanks for the response. I will see if I can get the SA's to load.
Does it really work like unix bash?:)
Forum: AIX 10-13-2008
39,479
Posted By gzs553
Why can't you use bash shell in aix?
Hey'all... I'm so use to using bash in unix, that aix is driving me batty on the command line using arrow keys and so forth. Even cuts and pastes are creating a problem using the esc k and set -o vi....
1,516
Posted By gzs553
SED and Read Help Needed
Not sure why my sed script is not working..need extra eyes..Any help would be aprreciated.

I want to add this line into the 1rst line of the $EJECT FILE
sed '/">>>>>>>>>>>>> TAPES TO BE EJECTED...
6,050
Posted By gzs553
ERA assigning variable with grep and awk
ERA, I am trying to check the status of the cap. So I assigned the CAP_BUSY variable to the command and it will not pass into the variable. I get an error script 1. Also, can you check my if...
6,050
Posted By gzs553
ERA, Now my EOF counters are not working....
ERA,

Now my EOF counters are not working. Seems like I lose them in my EJECT routine.

Script:

#set -x
rpt=/export/home/legato/tapemgr/rpts/offsite
dat=`date +"%m%d%y"`
rdat=`date...
6,050
Posted By gzs553
Finally working...Thanks for your help.
ERA...finally working...thank-you for your help.
Now I can continue to expand the script and clean it up.
Great job...I appreciate your efforts....:)
6,050
Posted By gzs553
Yea. You are right, but I am not sure how to...
Yea. You are right, but I am not sure how to re-direct it and which while statement.
6,050
Posted By gzs553
Still not functioning properly - Am I confused or what.
:confused:
This is the output that I am getting:
When my TAPE_CT = 40 it goes to EJECT_TO_CAP, but never allows me to input my parameter and continues loops picking up the name of each $volume. ...
6,050
Posted By gzs553
Still not functioning properly.
It seems as though my "EJECT_TO_CAP" routine will not read my input, but just continously loops with my $volume variable. Not sure where it is picking up the input from. I guess I've been working on...
6,050
Posted By gzs553
Need extra help on this script.
Corrected the function and still not functioning properly.
Will not allow me to stop and read and continue.
6,050
Posted By gzs553
Need some help with this script -- extra eyes
I have two issues with this script.
1. I cannot seem to get my counters to count correctly.
2. My function to eject to CAP1 or CAP2 is hung in a loop and doens't exit back to the previous function....
1,999
Posted By gzs553
Need an extra set of eyes to find TOTAL CT bug?
Almost there, but I can't seem to get my counters right. Anyone can please look and see what I am missing. Thanks

# This scripts ejects IP tapes from the STK9310 silo via ACSLS Commands from...
1,999
Posted By gzs553
Thank-you all for your help. ...
Thank-you all for your help.


#--------------------------------------
# L O C A L F U N C T I O N S . . .
#--------------------------------------

### Eject tapes to Cap with total count is...
1,999
Posted By gzs553
Problem with function script.
Need an extra set of eyes. Can't find function. Can someone help, please. Thanks


echo " Is this the correct list of tapes to eject (y/n)?"
read option
echo...
10,938
Posted By gzs553
For some reason, my $group vairable will not pass...
For some reason, my $group vairable will not pass to the $savgrp_rpt.
Still doesn't work.

# This script sends email that save group completed.
#!/bin/ksh
dat=`date +%m%d%y`
rdat=`date...
10,938
Posted By gzs553
mv Filename variable to another filename
Anyone who can assist :

I am trying to pass the group vairiable to a filename:
rpt_tsavegrp=/export/legato/scripts/$group_savegrp_rpt.$dat

It will not pass to variable.
Anyone have any ideas...
2,961
Posted By gzs553
How does the environment stay set
I am running this pre-script with a post scripts that needs to share the same variables. How do I keep the environment variable settings for the next script to access from the RMAN Script?


...
6,120
Posted By gzs553
Thank-you so much for your help. That worked. :)
Thank-you so much for your help. That worked. :)
6,120
Posted By gzs553
But It still will not pass my $4 to where I need...
But It still will not pass my $4 to where I need to print it. How can I assign that $4 to a variable to save.


1 # This script sends email that save group completed.
2 #!/bin/sh
3 ...
6,120
Posted By gzs553
I figured this so far... So how do I assign...
I figured this so far...

So how do I assign the print $4 to another variable that I can save within the script.



egrep notice 20071008_1105_savegroup.txt | awk '{print $4}'; grp="$4"; echo...
6,120
Posted By gzs553
extract using sed/awk - need help? Please!!
Need help..not sure how to use with awk or sed
I want to take data from the notification.$$ file and assign the data to variable "group". Not sure how to do it.

The data I want to extract from...
2,908
Posted By gzs553
SED and Cut question
I am trying to cut and delete using sed and redirect back into the file. This is not working write. When testing the script, it hangs. Any idea what I am doing wrong here.

################ Reads...
1,922
Posted By gzs553
Gosh...sometimes I am so dense...Thanks for your...
Gosh...sometimes I am so dense...Thanks for your help!! I guess I have been looking at it too long....duh!! :eek:
1,922
Posted By gzs553
Not sure what you mean. I did define the function...
Not sure what you mean. I did define the function as

FTP_RETURNS()

..see the script where I call the function.
1,922
Posted By gzs553
Function Bug in script - need help
My script is erroring with: testtapemgr.sh: FTP_RETURNS: not found
I cannot see what I am doing wrong..when it calls that function from the Volume returns function and says taht FTP_RETURNS is not...
Showing results 1 to 25 of 41

 
All times are GMT -4. The time now is 10:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy