Hello Paul, Here's a batch file example for TSM 5.2.x. The syntax for using the batch file -> lbtest -d <libname> -f <batchfile> -o <outputfile> # comment set return_error_when_fail = 1 set exit_on_unexpected_result = 1 symbols type open the library command open $D result rc >= 0 command inquiry result rc != -1 command audit barcode = 0 result rc != -1 command audit barcode = 1 result rc != -1 command return_elem_count result rc != -1 command return_lib_inventory dno = 0 sno = 0 eeno = 0 tno = 0 result rc != -1 command return_lib_inventory_all result rc != -1 command move_slot_slot move_count = 10 invert = 0 result rc != -1 command move_empty_slot result cc == DD_SOURCE_EMPTY command move_slot_full result cc == DD_DESTINATION_FULL command move_slot_drive invert = 0 result rc != -1 delay 30 command move_drive_slot invert = 0 result rc != -1 if eeno == 0 skip 3 command extend result rc != -1 command retract result rc != -1 command move_slot_ee invert = 0 result rc != -1 command return_lib_inventory_range typecode = 4 startaddr = 1 totalelem = 1 result rc != -1 command xdrive_inventory dno = 1 del = 0 result rc != -1 command return_enhance_lib_inventory_all result cc == DD_ILLEGAL_REQUEST command close result rc != -1 Regards, Hunny Kershaw Paul Zarnowski <[EMAIL PROTECTED] > To Sent by: "ADSM: [EMAIL PROTECTED] Dist Stor cc Manager" <[EMAIL PROTECTED] Subject .EDU> lbtest batch input file syntax 09/30/2004 12:47 PM Please respond to "ADSM: Dist Stor Manager" Has anyone figured out the syntax for the lbtest batch input file? Thanks. ..Paul -- Paul Zarnowski Ph: 607-255-4757 719 Rhodes Hall, Cornell University Fx: 607-255-8521 Ithaca, NY 14853-3801 Em: [EMAIL PROTECTED]
<<inline: graycol.gif>>
<<inline: pic30097.gif>>
<<inline: ecblank.gif>>