PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM
In above example,what is content of myfile.txt ...Thanx
Answers were Sorted based on User's Feedback
Answer / carel teijgeler
File contains ssh commands like:
put [file(s)]
get [file(s)]
exit
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / syam
Any Physical file Data. Not CL command or CL Programs
| Is This Answer Correct ? | 1 Yes | 2 No |
What are the different definition levels in Data Description Specifications?
what is a primary file?
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
How can we create subsystem in as400?
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.
In which specification can a report layout be defined ?
what does the ovrdbf command do?
what are two types of record are used in subfile?
can we creat a member logical file
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
which are control break logic indicators?
How to avoid using indicators in ile ?