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 maximum number of subfiles that can be specified in a display file?

1 Answers   IBM,


What is file information data structure(infds) in as400?

0 Answers  


I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining

1 Answers   CTS,


How do you check object lock

0 Answers  


How do you combine two record formats in RLU ?

1 Answers  






What is the as400 called now?

0 Answers  


I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?

2 Answers  


What are Control level indicators?

1 Answers  


what are indicators?

0 Answers   IBM,


What is %CHECK?

0 Answers  


how can I control from my cgis the cache of a remote browser?

0 Answers   IBM,


Q. 1.What are the in build functions in CL program and what are uses of thes in build functions? 2.How we can create own command in CL program? 3.What is use of STRSRVJOB?

3 Answers   CTS,


Categories