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 is the symbol used for defining a new field in SDA?
what is subfile?
What is FCFO, FIFO, LIFO in Database environment ?
can u plz tell me is there any difference between SHELL SCRIPT & SFTP SCRIPT? I want to run LS & GET(automatically) command from CL program....which script can be used?
which of the cl command can be used to determine which logical files are dependent on a specific file?
How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?
1 Answers IBM, Ignis Technologies, SSR,
how to change job priority when it is running in sub system ?
how do you read changed records backward in subfile?
When does the DFT keyword in PF be used?
CAN WE INSERT FIELD IN PHYSICAL FILE BY USING OPNQRYF?
what are the limitations of cl (compare to rpg) ?
how to run other job when one job is active?