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 |
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.
WHAT IS AS/400 SYNORIO?
how you will find an error which is not in the first page of the subfile without using rolldown key?
I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?
how can send report to user through cl program in as400
what are different record spacing keywords in rlu ?
how do we know batch job aborted after we submitting it
How to see all members of a file?
Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?
how to write code for singlepage in sqlrpgle with update ?
why is the declare cursor statement is used for?