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 |
Q.1.What is differences in STRDBG and STRISDB debugging commands? 2.Where we should use STRDBG and STRISDB Debugging commands?
How can we arrange duplicate records in a file?
what is the purpose of indicators in rpg?
Can you use multi format LF in CL program?
What is Group Job?
What is the default access path of a file?
Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.
when would you use or not use this approach?
What is the maximum number of subfiles that can be specified in a display file?
What does the keyword UNIQUE mean ?
where can you specify an indicator in lokup operation?
Apart from opening of a file do we have any other use of USROPN?