in reply to print question
Here is a wild guess. $DB2DBDFT is an environment variable. But, inside your perl code, $DB2DBDFT is just a plain variable which you have not defined. If it is an environment variable, then you should use:
Also, use strict and warnings.$rc = `df -h | grep /db2/$ENV{DB2DBDFT}/sapdata`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print question
by bp4a (Initiate) on Jun 02, 2011 at 17:29 UTC | |
by ikegami (Patriarch) on Jun 02, 2011 at 18:23 UTC | |
by toolic (Bishop) on Jun 02, 2011 at 17:57 UTC |