extend "omniminit", so it could handle multiple tapes in one command (like done with the GUI)

extend "omniminit", so it could handle multiple tapes in one command (like done with the GUI)

With the DP-GUI, it's possible to select multiple tapes of a library, and format this tapes in one session.

By using the CLI with "omniminit" i'm forced to define only one (1) slot. If i have to format several hundred tapes by CLI, i have to send the command several hundred times, and i get a few hundred entries into the IDB.

 

It would be nice to have the syntax extended:

"-slot 1" = only tape in slot 1 will be formated (actual state)

"-slot 1-3000" = tapes in slot 1..3000 will be formated 

"-slot 1,20,25" = tapes in slot 1, 20 and 25 will be formated 

"-slot 1-25,56-200" = tapes in slot 1...25 and 56...200 will be formated 

 

2 Comments
Micro Focus Contributor
Micro Focus Contributor
Status changed to: Waiting for Votes
 
RanBax Regular Contributor.
Regular Contributor.

This functionality exists but it is not obvious per the documentation.  To format more than one tape at a time,  use the following format on the command line: -slot # -slot # -slot #. Not exactly a friendly or intuitive format, but it does work.

Allowing the command to accept one of the formats you suggested would be a much better approach.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.