PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
Can u plz tell me what the above code do exactly?
Answers were Sorted based on User's Feedback
Answer / syam
-b = Batch file
/home/test/myfile.txt = path of input file
serverUserID@server' = ip address
then
PUT or Get command
Bye command = Quit
SFTP is a Linux Unix command
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravi
I believe, it gets the details of the file mentioned in the path like created/changed date etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of OVRPRTF ?
What is the purpose of SFLNXTCHG keyword in a subfile?
how do you turn off indicators 50 through 59 in only one operation
Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?
writing an sql statement from selecting records from two files using single statement and nested select statement.
1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?
What are the two main attributes, which govern the execution of a job?
What is a library list ?
What is keyword PFILE specifies ?
how can you detect and handle a record lock situation?
difference between view and index ?
how can we view the entire objects and its types in a pgm?