what are the parameters required for calling ls & get
command(SFTP COMMANDS) from cl progtram....
I want to transfer files(using GET COMMAND) that are
retrieved by LS command ...FROM 1 SYSTEM TO ANOTHER...
STEP 1:LS-list all files...from remote system
STEP 2:GET-actually transfer the files(listed in step 1)
from remote system to local system & get stored in some
Physical file....Plz reply in detail...Thanx



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

Answer / ankur jain

Step 1: use command DIR to list all the files at remote
system.
Step 2: use command GET to get the required file from
remote system to your system.


FTP IP-ADDRESS(REMOTE SYSTEM)
DIR
GET remotefile yourfile (replace
QUITE

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2

1 Answers  


What is data structure in as400? What is the use of data structure?

0 Answers  


what is xfoot opcode ?

1 Answers   IBM,


what is the disadvantage of using global variable?

0 Answers   IBM,


Q.How can more than two program be executed in batch mode through SBMJOB in CL PGM but the condition is that program must be executed one by one?Please wtite the senario? 2. IS it possibe more then two programs can be executed in batch mode and HOw it will be executed in CL program ,please write the senario?

6 Answers   IBM,






WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?

6 Answers   CTS,


the maximum number of subfiles that can be active for a single file is ____ .

1 Answers   IBM,


what is the maximum number of records you can specify in a display file?

1 Answers   IBM,


Write a CL program which will run a batch job at 1 am every night

0 Answers  


which cl command is used to trap error messages during program execution?

0 Answers   IBM,


Using %check we are checking monika in mona what is output? What is %SCAN?

0 Answers  


What is the use of Data Queues?

1 Answers  


Categories