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 |
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....?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
under given circumstances, my cgi should link to another site. How to implement this?
What is field reference file?
how can i get the cursor position in display screen to to display my window?
HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?
What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?
What is the Function of PDM?
how many triggers can be associated with a file?
What is difference between fully procedural file and primary file?
Difference between NOPASS & OMIT?
How to inner join more than 2 PFs in a CL program using OPNQRYF command?