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



PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') E..

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

PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') E..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

How to retrieve data from data area?

1 Answers  


What are the types of Signature validation?

1 Answers  


what are members?

0 Answers   IBM,


Hello friends, i am having 1 year experience in AS/400. Can any one send me the as400 interview questions to my email id:nagaraju20087@gmail.com

1 Answers  


difference between sflrcdnbr and sflnxtchg?

0 Answers   IBM,






What is a Member?

1 Answers  


What is the maximum number of elements in an array?

1 Answers  


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

0 Answers   HCL,


How to add 99 menu (page down) option in menu creation..

0 Answers  


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

0 Answers  


Where would you use Override Data Base File?

4 Answers  


what does the opcode free do?

1 Answers   IBM,


Categories