The RBSAMLLRN command works with your StorageTek AMLs to help you manage your tape inventory. After you install Robot Save on your IBM i (OS/400, i5/OS) running on IBM Power Systems (System i, iSeries, AS400) and configure it to work with your StorageTek AML, you use the RBSAMLLRN command to do the following:

  • Populate the inventory of volumes to be used by Robot Save

  • Optionally, read the data on the volumes and insert it into the Robot Save object archive records

After these functions have completed, volume and archive information is available to Robot Save and can be used for restoration. The volumes then can be released into the scratch pool as they expire.

Steps To Use the RBSAMLLRN Command

  1. Install Robot Save on your IBM i. Follow the online installation instructions.

  2. Configure Robot Save to use the StorageTek AML. For more information, see the Robot Save User Guide and also StorageTek Automated Media Libraries on our website.

  3. Set up Robot Save classes, sets, and rotations.

  4. Insert the volumes to be used into the proper slots in the StorageTek unit.

  5. Add the libraries RBSPGMLIB and RBSDTALIB to your library list.

  6. Enter the following command:


  7. Press F4 to display the command prompt.

    [[{"fid":"2279","view_mode":"default","fields":{"format":"default","field_file_image_alt_text[und][0][value]":"The Learm AML volume inventory panel.","field_file_image_title_text[und][0][value]":""},"type":"media","link_text":null,"attributes":{"alt":"The Learm AML volume inventory panel.","height":635,"width":500,"class":"media-element file-default"}}]]

Complete the command parameters with the information for your system. If you are importing tapes that already are known to Robot Save into the AML, enter your AML name, specify *KNOWN for the Add Tapes to Robot Save parameter, and leave the Backup Class and Backup Set parameters blank. If you need additional information about the command parameters, press the Help key to display the command help.

When the RBSAMLLRN command completes, the display shows the changes made to the volumes in the AML. If the RBSAMLLRN command was submitted to batch, it also produces a report (RBS414P) showing the same information.


  • If you stop the RBSAMLLRN process before it completes and have specified *QUEUE on the Build Object History parameter, you can use the RBSADDALL command to continue and complete the process. Enter the following command; you do not need to specify any command parameters.


    You do not need to use the RBSADDALL command if you are not creating object history.

  • If your IBM i systems are set up in a data center, you should run the RBSAMLLRN command on each system that shares the AML as soon as it is included in the data center.


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: July 19, 2019