PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM

In above example,what is content of myfile.txt ...Thanx

Answer Posted / carel teijgeler

File contains ssh commands like:
put [file(s)]
get [file(s)]
exit

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you check object lock

372


what are members?

610


What Is The Purpose Of The "n" In The Following Calculation Specification?

674


how can a message from a message file appear as a constant on the screen?

941


what is the use of jdftval in join logical file?

1117






explain the purpose of keep and assume keywords?

1065


how many files, printer files you can describe in a rpg?

632


what is the function of cpysplf command?

980


what is a primary file?

1053


what is the syntax for plist?

651


how can we run a batch job?

732


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

586


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

1783


what is logical file?

604


how can I control the way a remote browser uses its cache?

609