login about faq

I am getting a RC=1536 or error (6) trying to send a file to my vendor. They get the file but I cannot implement this job due to the error 1536. Can I set the exit value if this occurs?

Here is my command:

cd inbound
sput /ftadv:X=text,f=line///DD:DATA FDI_CONFIRM.txt
ls

Here is my error:

sftp> cd inbound
/inbound
sftp> sput /ftadv:X=text,f=line///DD:DATA FDI_CONFIRM.txt
Error (6): chmod_dest: /inbound/FDI_CONFIRM.txt (dst): no such file (server msg
sftp> ls

asked Dec 30 '10 at 21:07

Ann%20Concepcion's gravatar image

Ann Concepcion
1112

edited Jan 05 '11 at 08:52

Roman's gravatar image

Roman ♦♦
7735817


Hi,

What version of Tectia Client on z/OS are you using? I believe in the latest version of Tectia Client chmod failures are treated as warnings instead of errors.

I'm not sure what is it that you're trying to do. Are you trying to catch this error and set a specific exit value if this happens? If so, then an option might be to use the exit-value=VALUE command as documented here

exit-value=VALUE

Defines the exit value of sftpg3 in batch mode in case an error occured. The value must be between 0 and 255. If exit-value is set to something else than 0, batch execution terminates when the first error occurs. The default value is 0.

link

answered Jan 05 '11 at 09:03

Roman's gravatar image

Roman ♦♦
7735817

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×31
×2

Asked: Dec 30 '10 at 21:07

Seen: 3,484 times

Last updated: Mar 30 '11 at 11:22

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