Does anyone have an example of calling pgp from an SQR. We cannot seem to get the direct call to work. If we have the SQR create a .bat file then execute the .bat file, it works fine.
The problem is this requires manual intervention. We want to call PGP directly from SQR. This is the code we have:
let $pgpcmd = 'pgp --encrypt ' || $filename_with_path || ' --r ' || &pf.oprid || ' --passphrase ' || &pf.operpswd || ' --text --overwrite remove'
call system using $pgpcmd #status
The .bat file works fine. This is the .bat:
c:
pgp --encrypt \\Intranet\dfs-amer\Group\Nyk\HR\PeopleSoft8\hr88sp1\install\sqr\Output\eWorkforceTimeEntry_04022007.txt --r prodops --text --overwrite remove
echo completed the transfer > \\INTRANET\DFS-AMER\GROUP\Nyk\HR\PeopleSoft8\hr88sp1\install\sqr\output\2084.txt
ftp -s:\\INTRANET\DFS-AMER\GROUP\Nyk\HR\PeopleSoft8\hr88sp1\install\sqr\output\2084.scr
Any help would be greatly appreciated.

