I have a SFTP process from iSeries to other system. If I run the CL with command sftp -b script.txt user@server in on-line mode I get the log of process, like:
Connecting to Server... sftp> chdir /home/xxxxxx/copyfile sftp> put testsftp01 Uploading testsftp01 to /home/xxxxxx/copyfie/testsftp01
But if I run in batch mode , in SBMJOB inside a CL I can't see the log I only know if everything was fine or bad, by use of RCVMSG command.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 1  Reply