<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Barcode script for tape lib in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517306#M871464</link>
    <description>If you have OmniBack II check out the uma utility (man uma).&lt;BR /&gt;The script would be very similar to this:&lt;BR /&gt;ROBOT=/dev/robot/c2t3d0 # robotics device&lt;BR /&gt;echo "stat" &amp;gt; /tmp/controlfile&lt;BR /&gt;/opt/omni/lbin/uma -ioctl $ROBOT -barcode  &amp;lt; /tmp/controlfile  &amp;gt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;The output file /tmp/list should have the barcode as the fourth field of each output line.&lt;BR /&gt;I think that the uma utility is available from HP w/o purchasing OB2 (at least the man page hints at this.) If you can't get the uma utility you will probably have to write a c program to do a scsi inquiry.&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Apr 2001 18:47:12 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-04-16T18:47:12Z</dc:date>
    <item>
      <title>Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517305#M871463</link>
      <description>I am using a Surestore E 2x20 DLT8000 tape library.&lt;BR /&gt;The lib is able to read barcodes.  I am looking for a script to read the barcode data and print it out to a file.&lt;BR /&gt;My plan is to have the data automatically sent to Informix.  I can do the informix end but I have no clue on how to extract the barcode data from the library.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Craig A. Sharp&lt;BR /&gt;Roush Industries</description>
      <pubDate>Mon, 16 Apr 2001 16:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517305#M871463</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2001-04-16T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517306#M871464</link>
      <description>If you have OmniBack II check out the uma utility (man uma).&lt;BR /&gt;The script would be very similar to this:&lt;BR /&gt;ROBOT=/dev/robot/c2t3d0 # robotics device&lt;BR /&gt;echo "stat" &amp;gt; /tmp/controlfile&lt;BR /&gt;/opt/omni/lbin/uma -ioctl $ROBOT -barcode  &amp;lt; /tmp/controlfile  &amp;gt; /tmp/list&lt;BR /&gt;&lt;BR /&gt;The output file /tmp/list should have the barcode as the fourth field of each output line.&lt;BR /&gt;I think that the uma utility is available from HP w/o purchasing OB2 (at least the man page hints at this.) If you can't get the uma utility you will probably have to write a c program to do a scsi inquiry.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2001 18:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517306#M871464</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-16T18:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517307#M871465</link>
      <description>You might also check out the 'mc' command though you would then have to install the autochanger driver and devices.&lt;BR /&gt;man 1m mc&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2001 19:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517307#M871465</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-16T19:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517308#M871466</link>
      <description>execute the command</description>
      <pubDate>Tue, 17 Apr 2001 20:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517308#M871466</guid>
      <dc:creator>Philip P. Hartl</dc:creator>
      <dc:date>2001-04-17T20:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517309#M871467</link>
      <description>execute the command "omnimm -repository_barcode_scan &lt;DLT library="" name=""&gt;.  This will do a barcode scan and produce a report of all tapes in the exchanger.&lt;/DLT&gt;</description>
      <pubDate>Tue, 17 Apr 2001 20:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517309#M871467</guid>
      <dc:creator>Philip P. Hartl</dc:creator>
      <dc:date>2001-04-17T20:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517310#M871468</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Thank you for your replies.  We do not use Omniback.  We had some serious problems that prevented us from using that solution.&lt;BR /&gt;&lt;BR /&gt;I will checkout the MC command and see if that will do what I need.&lt;BR /&gt;&lt;BR /&gt;Please let me know if there are any other ideas not usind Omniback.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Wed, 18 Apr 2001 12:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517310#M871468</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2001-04-18T12:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode script for tape lib</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517311#M871469</link>
      <description>Ok Craig. I tried the mc command and here's what happened.&lt;BR /&gt;ROBOT=/dev/robot/c2t3d0  # SCSI pass-thru robotics device (set to your picker device)&lt;BR /&gt;&lt;BR /&gt;mc -p $ROBOT -r S &amp;gt; /tmp/list.txt&lt;BR /&gt;The output looked like this&lt;BR /&gt;ST_slot_1  FULL  000107&lt;BR /&gt;ST_slot_2  EMPTY&lt;BR /&gt;ST_slot_3  FULL  000187&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;The 3rd field is the barcode. It appears that MC will dothe job.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Apr 2001 14:06:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/barcode-script-for-tape-lib/m-p/2517311#M871469</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-18T14:06:12Z</dc:date>
    </item>
  </channel>
</rss>

