====== TMSS10AssignContainer ======
TMSS10AssignContainer, using a configuration file, allocates [[object:volume|Volumes]] to a Container for storage or transportation.
===== Synopsis =====
''TMSS10AssignContainer [-N Do not allocate when already in a container] [-S logon string] [-V volume filter] [-c Configuration file]''
===== Options =====
* ''-N'' When true stops the allocation of a Container when the [[object:volume|Volume]] is already assigned to another Container.
* ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]].
* ''-V'' [[cli:volume_filter|Volume Filter]] which can be used to filter the traversal of [[object:customer|Customer]], [[object:media|Media]], [[object:volume|Volume]], [[object:repository|Repository]] and [[common:volume_flags|Flag]] values.
* ''-c'' The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of [[object:customer|Customer]], [[object:media|Media]] and [[object:volume|Volumes]], perform advanced Barcode pre and post processing and route program output to syslogd.
{{page>cli:fi}}
Configuration file capabilities vary from program to program but the syntax remains the same. In the event that logic is not supported it will simply be ignored. The following example will set the default [[object:customer|Customer-ID]] and [[object:media|Media-ID]] for all scanned Barcodes: barcodes =
{
defaults={ customer-id="ACME"; media-id="LTO"; };
};
===== Notes =====
==== Technical Support ====
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 [[common:support_details|Accessing Technical Support]] page.
==== Exit Status ====
- **zero** Program has ended successfully.
- **non-zero** Program has not ended successfully.
==== Environment ====
[[variable:tmssserverproxy|TMSSSERVERPROXY]] If defined the program will route all TapeTrack TCP/IP traffic through a HTTPS proxy. The value of the variable should be in the format user:password@host:port. To debug the proxy connection use variable [[variable:tmssapilogdir|TMSSAPILOGDIR]].
[[variable:tmssapilogdir|TMSSAPILOGDIR]] If defined the program will write out a trace file to this directory.
[[variable:tmsspwpath|TMSSPWPATH]] When no password value is passed in the logon string the program will look for the password in file C:/tapetrack/pw/batch, where user is the user value passed in the logonstring. If you wish to change this default path, you can set the path in [[variable:tmsspwpath|TMSSPWPATH]].
[[variable:tmssnomd5|TMSSNOMD5]] If defined the program will not MD5 hash passwords before sending them to the TapeTrack Server. This is required when relying on Windows Active Directory authentication. It should be noted that although the password is not being hashed, it is still encrypted during transmission.
==== Example ====
==== Output ====
--> Changelog
[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10AssignContainer]
<--
<- ^ cli:introduction|Command Line Utilities^ ->
{{tag>update_doco cli container}}