I need a solution
Hi expert,
We are using SAP program (external command) to invoke the unix script to encrypt the interface file. Currently the pgp works fine if I execute the script in unix directly. However, it gave error "pgp encrypt 2713: no license has been entered" when I executed the unix script via SAP external command.
below is the unix script:
#!/bin/sh
#cd /opt/freeware/pgp/lib # -> This is the directory of the PGP executable file
LIBPATH=/opt/freeware/pgp/lib; export LIBPATH
/opt/freeware/pgp/bin/pgp encrypt $1 recipient " "
chmod 777 $1.pgp
Does anyone have any idea how to trouble shooting this?
Thanks,
Norman