what are the parameters required for calling ls & get
command(SFTP COMMANDS) from cl progtram....
e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c'

'sftp -b /home/mydir/tmp.txt user@host.com')


Plz reply in detail...



what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram...

Answer / syam

One AS/400 to another AS/400 use STRTCPFTP command on CL
program or Command Line.

SFTP using from PC Prompt.

Write in details? What you want to transfer. Where to Where?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Is it necessary to define all formats ? Which are mandatory and which are Optional ?

1 Answers  


What is the difference between Array and Table?

1 Answers  


Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?

1 Answers  


how can a cgi check whether an ifs object is available?

0 Answers   IBM,


what is arrival sequence?

1 Answers   IBM,






what are the different types of data areas?

1 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  


List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased

1 Answers  


can you specify a display file to be used in the following modes input,output, or combined modes ?

1 Answers   IBM,


How can a data area be locked after being updated?

1 Answers  


What is the maximum length of a variable name in CL?

1 Answers  


when do you explicitly open files and close files in an rpg program?

1 Answers   IBM,


Categories