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 |
What is difference between fully procedural file and primary file?
What is an ICF file?
difference between sflrcdnbr and sflnxtchg?
List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased
what is message subfile?
What Is Ddm ?
Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?
what is the maximum number of records you can specify in a display file?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
268 How many parameters can be defined in a RPG program. ?
how do you read changed records backward in subfile?
How do you grant authority?