TMSS10SlotAllocation
allocate slots to all Volumes that have no slots and are in a slot managed Repository.
TMSS10SlotAllocation [-S logonstring]] [-V vloume filter] [-c configuration file] [-r repository filter]
-V
Volume Filter which can be used to filter the traversal of Customer, Media, Volume, Repository and Flag values.-r
Repository Filter to restrict what Repositories are included in the Slotting process.
If an argument value starts with the value FI:
, the value for that attribute will be read from the file name specified immediately after it. For example, if a file named ACME_volumes has the content ACME_*.*
, specifying FI:/etc/ACME_volumes
will have the same effect as -V ACME.*.*
. Using FI:
to refer to a file for an attribute value works for all attributes.
If the pattern being matched starts with *LIST: then rather than matching the literal value, each record in the file specified as *LIST:filename will be tested. If one matches the match will succeed.
The TapeTrack Software is commercially supported by a full time help desk staff.
If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.
A sample slotting script to execute TMSS10SlotAllocation can be found in your TapeTrack Install at TapeTrack\TapeTrack Framework Server\scripts\Slotting.bat
This script will allocate a Volume to a vacant Slot that is in a location eligible for slotting.
You will need to edit the variable TTSERVER to reflect your username, password and server address if any of these values are updated (eg if you set a password value for tapemaster, or you want to use another User-ID to run the script).
While it is possible to execute this script manually when required, it is recommended that this script be scheduled to run every 5 minutes.
Sample Script
@echo off :: :: Object Type: DOS Batch Script :: Description: TapeTrack Slotting script :: System: TMSS :: SecLevel: Proprietary :: Copyright: (c) 2012 GazillaByte LLC :: :: :: set the working directory to the TapeTrack Scripts directory so we can use relative paths :: cd "%TMSS10SCRIPTS%" :: :: set the Server logon string :: set TTSERVER=tapemaster:-@localhost :: :: execute TMSS10SlotAllocation and write output to the reports directory :: TMSS10SlotAllocation -S %TTSERVER% > "%TMSS10REPORTS%\slotting_report.txt" 2> "%TMSS10REPORTS%\slotting_error.txt"
2021-05-24 | Fixed bug when using TMSSLEVELNAME and TMSSNOLEVELSLOT variables (#127) |
2020-11-24 | Added support for JSON output |
2019-02-25 | Added support for HTML output |
2019-02-09 | Added support for Excel output |
2019-01-06 | Added return code list to end of all command line programs that use the TapeTrack API |
2018-04-07 | Fixed bug relating to reserving slots for Volumes that are still moving out |
2018-01-28 | Added support for blocked slots |
2017-03-15 | Fixed bug where reslotted tapes were not blocking slot for reuse |
2016-11-18 | Added fast forward code to reduce runtime |
2016-11-18 | Enhanced argument parser to allow arguments in format *FI:filename that allows loading of arguments from a file |
2015-12-26 | Added flags to Volume Filter syntax (customer.media.volume@repository+flags) |
2015-08-24 | Changed hascontents to contentcount and change contentcount to a filter rather than bool |
2015-08-24 | Added iscontainer and hascontents to the config file filter logic |
2015-05-16 | Added environmental varialbe TMSSCANFILEUNQUALIFIED which will load and check volumes without Customer-ID and Media-ID qualifiers |
2015-05-16 | Added environmental varialbe TMSSSCANFILENOPARSE which will presume scanfile items are only Volumes and not parse them, saving time |
2015-05-16 | When loading scanfile from import definition, added CUSTOMER and MEDIA keywords to set defaults |
2015-05-16 | When loading scanfile from import definition, changed keyword from VOLUME to BARCODE |
2015-05-16 | Added TMSSUNQUALIFIEDVOLUME environmental variable which forces all barcodes to be printed without Customer-ID and Media-ID |
2015-05-04 | Added support for AD passwords to all command line programs (check for environmental variable TMSSNOMD5) |
2014-11-19 | Changed server argument parser to allow colon in password to support z/OS DD name files |
2014-10-26 | Upgraded development environment from Visual Studio 2012 to Visual Studio 2013 |