I want to run ls *.csv (sftp command) from CL Program...
Can u plz tell me when SFTP command will start running?
i.e.which command should I use in CL Program to run ls
command?
Answers were Sorted based on User's Feedback
Answer / syam
Hi Patel
You can use SFTP thru Qshell
PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / syam
SFTP is Interactive command you can't use in CL program
Use STRTCPFTP command
| Is This Answer Correct ? | 0 Yes | 2 No |
I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will start running? i.e.which command should I use in CL Program to run ls command?
what are various techniques to pass parameters from one program to another?
how do you read changed records backward in subfile?
what is the maximum number of parameters allowed in rpg?
what are different record spacing keywords in rlu ?
I have a display file with mandatory fields. Is there anyway that i can highlight those fields to bring attention to the user? The same behavior that AS400 makes when we attempt to execute a command without completing all the required parameters. Note: I have used DSPATR(HI) or DPSATR(RI) and they have different behaviors. Thanks.
how can see logical file based on which physical file and vice versa
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
268 How many parameters can be defined in a RPG program. ?
How to add 99 menu (page down) option in menu creation..
What is the difference between array and a multiple occurrence data structure?
Is qgpl a user library or system library?