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 diff between EVAL & MOVE?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?
function of DSPPGMREF?
How can you check the existence of object in a system?
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 would be the effect on the field where reverse image, underline and highlight display attributes are active ?
what is scan and xlate?
What is the difference between Physical and Logical files ?
what is the rpg and cl life cycle?Please tell me any body
how may a cgi control duplicate inputs?