1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Checkin followed by update volume.

Discussion in 'Tape / Media Library' started by gabrielteixeira, Nov 8, 2012.

  1. gabrielteixeira

    gabrielteixeira New Member

    Dec 3, 2009
    Likes Received:
    Hi people,

    how can i perform a checkin followed by a update volume in the script?

    just create a script like this:

    define script SCIRPT_NAME "checkin libv destiny_library search=bulk ckecklabel=barcode stat=private" line=1
    "update volume $1 access=readwrite wait=yes" line=2

    P.s: I want what the script make a checkin and after the checkin execute the update for the volume that was inserted in the library...
    sorry for my terrible english...

    Thanks in advance,
    Gabriel Teixeira
  3. c54444263

    c54444263 New Member

    Sep 24, 2012
    Likes Received:
    I will recommend you to write a shell script to do this.

    Work flow of the script:
    query libvolume to get list A
    check in libvolume
    query libvolume to get list B
    compare the list to get the checked in volume name and redirect to list C
    using a for loop to update the status of volumes in list C

Share This Page