TSM backups

Posted on 2011-10-03
Last Modified: 2012-08-14
I have a script for TSM backups, but I am getting the below error. Please suggest what should I change.
cd /e01/exp_dp
$TSMBIN/dsmc incremental /e01/exp_dp/*.dmp -subdir=yes > /e01/exp_dp/tsm_diw.log

error-ksh: /dsmc:  not found.
Question by:nirvairghuman
    LVL 34

    Accepted Solution

    The TSMBIN variable is not defined.

    Author Comment


    I using  TSMBIN=/usr/bin in the script.
    LVL 34

    Assisted Solution

    The command you posted is:


    The error is on:


    This would indicate that the variable is not set.

    Double check your spelling, and also export the variable.
    LVL 34

    Assisted Solution

    by:Mark Geerlings
    Does your /usr/bin directory have an executable file named: "dsmc"?  If not, that is the problem.  If it does, then you don't have the $TSMBIN alias defined correctly.
    LVL 34

    Assisted Solution

    If the executable was missing from /usr/bin, then the error message would have been:

    error-ksh: /usr/bin/dsmc:  not found.

    The error does not contain the /usr/bin part of the path, which would indicate that the variable is not set correctly.
    LVL 4

    Assisted Solution

    Try changing it to:


    The trailing slash may be causing the variable to not be parsed correctly since you're not in a quoted string.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
    This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now