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 |
How to know the number of records in a pf through clp program?
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)
what is *inzsr used for?
How are the objects stored on AS/400?
What is the use of L specs in RPG?
what is the difference between seton lr and retrn?
what is the use of jdftval in join logical file?
what are the necessary keywords for the join logical file?
What Is The Error If We Don't Get Login Screen?
how to declare a constant variable in the freeformat?
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
can you display a empty subfile?