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

what is the maximum number of parameters allowed in rpg?

1328


what is the difference between packed decimal and zoned decimal?

2622


how can you specify no duplicate key?

904


How to avoid using indicators in ile ?

954


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

757






what key word is used when screen is re-display?

835


what does check opcode do ?

1412


what does opcode post do ?

1380


explain the use of dftwrt display keyword?

1387


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

2017


where can you specify an indicator in lokup operation?

1432


what are all the contents of subfile?

1247


what are the limitations of cl (compare to rpg) ?

1869


what are necessary keywords to code message subfile?

1297


distinguish between terminating a program through seton lr and return?

780