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 the difference between Physical and Logical files ?
In RPG How to read a records from a file without using read opcodes?
How many secondary files allowed in a program?
what is library?
what is a keyed physical file?
How many record formats can you have in a Physical file and in a Logical file ?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
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?
How do you read a subfile record which is in output mode?
how to get the particular field's records in CL without using OVRDBF,OPNQRY? tell me the concept?
What is the difference between crtdupobj and copyf?
what is overlay?