PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
In above example,what is content of myfile.txt ...Thanx
Answers were Sorted based on User's Feedback
Answer / carel teijgeler
File contains ssh commands like:
put [file(s)]
get [file(s)]
exit
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / syam
Any Physical file Data. Not CL command or CL Programs
Is This Answer Correct ? | 1 Yes | 2 No |
can we use ASCII ,CDUP,SENDPASV commands in SFTP?
Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.
what is procedure prototype and procedure interface.
what are dds required for subfile?
What is the difference between Interactive & Batch Job?
what is the necessary keyword for non-join logical file?
What is the type, length of a LDA?
What is the difference between array and a multiple occurrence data structure?
What is SDA used for?
What does the keyword UNIQUE mean ?
STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?
when is a tag statement used in rpg?