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 to pick up the changed records every time in a subfile after the first change made ?
Write a CL program which will run a batch job at 1 am every night
How to reverse a string using RPG?
what is default data type for the fields(sub fields) defined in data structures in rpg?
What Is Ddm ?
name few ibm supplied libraries?
what is the use of data structures?
at what level s,o are defined and what they will do?
Can we debug the MSGW JOBS?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
define the purpose of the *cat function?
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?