ADSM-L

Re: lbtest batch input file syntax

2004-09-30 16:29:58
Subject: Re: lbtest batch input file syntax
From: Hunny Kershaw <hunnychka AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 30 Sep 2004 13:31:10 -0700




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                                            
             <psz1 AT CORNELL DOT EDU                                         
             >                                                          To
             Sent by: "ADSM:           ADSM-L AT VM.MARIST DOT EDU            
             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: psz1 AT cornell DOT edu

GIF image

GIF image

GIF image

<Prev in Thread] Current Thread [Next in Thread>