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

I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

0 Answers   CSC,


how will you find a string using pdm?

0 Answers   IBM,


Hey, What is the difference between SCAN,CHECK,XLATE OPCODES? please give me the answeres with example in real time senario?

1 Answers  


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

0 Answers  


what are different record spacing keywords in rlu ?

1 Answers   IBM,






What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error

5 Answers  


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


What are the different types of keywords in display files?

1 Answers  


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

0 Answers   IBM,


1.what are the builtin funtions in cl pgg?Explain with example 2.what is meant by left outer join?where we can use this?

2 Answers  


how can we view the entire objects and its types in a pgm?

7 Answers   Mind Tree,


1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?

4 Answers   Cognizant,


Categories