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 you will know whether you are in sfldrop or sflfold mode?
What is the difference between array and a multiple occurrence data structure?
is it possible to create a physical file without dds?
how will you search an array?
When will you use OPEN and CLOSE opcodes in RPG program?
What is journaling & Commitment Control?
What is the purpose of FRCDTA (Force Data) keyword?
what opcode will be used to test the zone of a character field?
i have recently moved to hyd. i would like to know which is the best institue to learn AS400. are there any in ameerpet? thanks.
if we tried to move year part of *iso date into a field of length 3, what will happen ?
Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?
what is RCLRSC?