Divide the BPXBATCH return code by 256 to get the sftpg3 exit value. This makes 8 and the User Manual gives the explanation "Undetermined error", so you will have to look further.
Check if the system console has any messages about allocating and mounting the tape or RACF messages about access violations.
Run sftpg3 in verbose mode (with the option -D 2) to get all the error messages. You can also use a higher debugging level for dataset-related processing with the option:
Review the requirements for setting up the SSZ.MOUNT facility in RACF. They are in the Administrators Manual.
I want to SFTP to a Windows box using BPXBATCH . How do I specify the path for the id_rsa.pub key on the windows box. cannot use .ssh as in Unix
this does not work, plus other things I tried
PARM='sh sftp dfsdf\syaye59@&RMTHOST dir:/SYAYE59/id_rsa.pub'
answered Sep 24 '10 at 12:54