login about faq

Trying to SFTP from MVS to Windows. The file is on tape but I am getting a 2048 error. I have been sucessful with dasd files but error out on tape files. I've tried LSITE and AUTOMount but no luck.

asked Jul 21 '10 at 14:40

Roxanne's gravatar image


edited Sep 03 '10 at 09:19

Ville%20Laurikari's gravatar image

Ville Laurikari

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:

-D "*Mvs*=16".

Review the requirements for setting up the SSZ.MOUNT facility in RACF. They are in the Administrators Manual.


answered Sep 03 '10 at 08:24

Gunnar%20Wahlstrom's gravatar image

Gunnar Wahlstrom

edited Sep 03 '10 at 19:55

Roman's gravatar image

Roman ♦♦

That -D option should have asterisks around the Mvs. It should be quote, asterisk, M, v, s, asterisk, equals, 1, 6, quote.

(Sep 03 '10 at 08:27) Gunnar Wahlstrom Gunnar%20Wahlstrom's gravatar image

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

Pieter's gravatar image


Hi, can you enter a separate question for this (just click on the Ask Question button) so that answers to your question can be posted?

(Sep 24 '10 at 13:38) Roman ♦♦ Roman's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 21 '10 at 14:40

Seen: 10,040 times

Last updated: Sep 24 '10 at 12:54

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.