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 are the important factors in error message subfile ?
define a output queue?
what is *iso date format?
Please give me the code for A=A+1 in cl program?
Q. 1.What are the in build functions in CL program and what are uses of thes in build functions? 2.How we can create own command in CL program? 3.What is use of STRSRVJOB?
How do you read a subfile record which is in output mode?
can I copy content of Physican file in some source Member of type TXT? Thanx..
Define an Interactive Job?
Hi All, Can any one give me a suggestion for below prob One job is in MSGW due to decimal dara error and I find out stmt error and Value in DMUP. but my file has millions of records.So how can i find out on which record the error was occured....?
define what a data queue is along with a brief example of what it may be used for?
What is array in as400? What are the types of array?
How to convert a spool file to PDF file in AS400?