The tape library has 24 slots, the way they are counted is 23 slots + 1 tape head/drive slot.
The address of the first tape slot is 4096 and the address of the last (slot 23) is 4118; i'd like all of them to be used in a round robin kind of method. The idea is, this script gets called nightly to "change tapes" before the backup to tape happens. So every night it should be using a different tape (+1) until it reaches the 23rd tape (address 4118) then goes back to 1 (address 4096).
Sorry for the lack of information, I hope this is more complete now.
With the above changes you suggested, will it support this?
As I originally stated in post #2 in this thread:
Quote:
If you're trying to use slots 4097 through 4119 approximately the same number of times in a round robin order based on the date (as opposed to keeping track of what had been used the last time your script was called)...
so if you want to use slots 4096 through 4118, you should change:
in that script to:
Note that it will reset to SLOT 4096 on January 1st every year leaving a few tapes unused in the last rotation of the year.
Hi friends,
i am having a variable declared in .profile.i am changing its value in a shell script and then i am connecting to oracle and then from there i am calling a .sql called update.sql
STATUS is the variable declared in the .profile
===============================
if
sqlplus <<END... (3 Replies)
Hi,
My situation is to write a backup script for AIX server which doesnt have a tape mounted.
They have created a folder on windows so that all AIX backup files can be moved to that windows folder where they will put these AIX backup files on a tape.
Appreciate help.
Regards
dsrules. (7 Replies)
I have an input file with contents like :
1LMXTJJD0W28TX2
1LS1XJGDEVWAC5T
1LK81JVDE2HRNDG
1LMXTJJD0W28TX2
1LS1XJGDEVWAC5T
1LK81JVDE2HRNDG
1LMXTJJD0W28TX2
I need to read each field from the file
pass it to a query:
select count(*) from usage_error where usage_id='$field... (17 Replies)
I am trying to use this command to eject the tape
mt -f /dev/rmt/0 unload
but it gives me error
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt Subcommand
Valid subcommands are:
weof
eof
fsf
bsf
... (5 Replies)
Hi,
I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment.
Can you please help me out by give the script.
Thanks in advance... (7 Replies)
Hi,
I am having a shell script which has a while loop as shown below.
while
do
sleep 60
done
I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for one script... (2 Replies)
Hi There,
I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available).
Anyone could provide me the following answer -
Can IBM VM been deploy on X86 and X64 (Intel Chip)?
If answer is yes any chance to deploy AIX OS... (13 Replies)
I have a shell script that interfaces with our tape library using IBM's Tape Diagnostic tool called "itdt".
The script does some basic stuff, it queries the tape library, loads tape to/from drive; it knows which inventory slot to pick the tape from based on SLOT=$(($BASESLOT + $TODAY)).
The... (1 Reply)
Discussion started by: tmonk1
1 Replies
LEARN ABOUT MINIX
suspend
suspend(1) User Commands suspend(1)NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)SunOS 5.10 15 Apr 1994 suspend(1)