Applications Manager version 8 is nearing End of Maintenance (March 31, 2017).
A listing of products & component lifecyle can be found here: Component Support Lifecycle.
Please note, you will need to sign in with your support account to view this information.

displaying home parm value in SFTP log files

I would like to be able to print the value contained in the "HOME" parameter in SFTP log files.  Is there any way to do this and therefore know the exact location of a file, instead of having to decipher the "HOME" parameter?

Here's an example of a printout log.

2017-01-10 07:31:11 Parameters:

2017-01-10 07:31:11   Remote UserId =       ITIS_FI_ADMIN_SFTP

2017-01-10 07:31:11   Remote Host =

2017-01-10 07:31:11   FTP Command =         put

2017-01-10 07:31:11   Local Path =          /u01/app/sct/dataload/BANK_RECON/

2017-01-10 07:31:11   Local File/Pattern =  hsc_bank_recon_tape_20170110.txt

2017-01-10 07:31:11   Remote Path =         /HOME/BankRecon/    ç====================  I’d like to be able to know what “HOME” stands for and print it

2017-01-10 07:31:11   Remote File/Pattern = HSC_BANK_RECON_TAPE_20170110073111.txt

2017-01-10 07:31:11   File Type =           ascii

2017-01-10 07:31:11   Compression =         N

2017-01-10 07:31:11   Minimum Run Time =    0

2017-01-10 07:31:11   Maximum Run Time =    0

2017-01-10 07:31:11 known_hosts file = /home/appworx_ttusprd/.ssh/known_hosts

2017-01-10 07:31:15 cd to - /HOME/BankRecon/ done

Is there any command that I can use to print this value out as part of this job log?


Doug Bell

Texas Tech


  • Phearith MaoPhearith Mao Team Automic Posts: 42 Journeyman ✭✭✭
    Hello Doug,

    From the value that I see listed in the Remote Path field, it looks like /HOME/BankRecon/ is the literal path and does not represent any other path value. If a path value represents another path value, it is usually an environment variable which is represented with a dollar sign followed by the VARIABLE. For example in my test server I have $HOME.

    [qa4@vwasrsb01 PHMAM9]$ pwd
    [qa4@vwasrsb01 PHMAM9]$ cd $HOME
    [qa4@vwasrsb01 ~]$ pwd

    In your case, it looks like the remote server literally has a /HOME directory. If you cd to /, and then do a listing, does HOME show up as a directory?

Sign In or Register to comment.