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
Answer Posted / 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 View All Answers
what is the maximum number of record formats in dspf?
what is the command to know key fields of file?
Difference Between Call & Sbmjob?
What is the difference between non-join logical files and join logical files?
Write a CL program which will run a batch job at 1 am every night
how does union file maintains record formats?
is it possible to create a physical file without dds?
how many types of display are available on as/400 for user interaction?
what is the purpose of dynslt keyword?
Difference Between Ca & Cf?
how to declare a constant variable in the freeformat?
can you display a empty subfile?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
how to write *pssr ?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.