I want to run ls *.csv (sftp command) from CL Program...
Can u plz tell me when SFTP command will start running?
i.e.which command should I use in CL Program to run ls
command?
Answers were Sorted based on User's Feedback
Answer / syam
Hi Patel
You can use SFTP thru Qshell
PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / syam
SFTP is Interactive command you can't use in CL program
Use STRTCPFTP command
| Is This Answer Correct ? | 0 Yes | 2 No |
how do you use exceptional write in c specs?
what does opcode post do ?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
What is the purpose of USROPN keyword?
Difference Between Call & Sbmjob?
what is sflinz and sflrna?
how to handle job errors in as400 what is the command and where can we find out whether the job has any errors
What is array in as400? What are the types of array?
in conjunction with what other keyword must ovrdta and ovrata be used?
How do I release jobs in queue and change a job destination to a different printer. I know wrkjobq but I have not worked with As/400 for a while,so_can someone help me?
what are necessary keywords to code message subfile?
What is Folder?