you could use a series of commands like
You need the first one to enter the second.
read more about STRPCCMD , it uses a DOS session to enter commands in you’re windows enviroment.
you can start a word editor using this.
when you’re done editing , you can save it in a folder on you’re iseries IFS. and from there copy it using CPYFRMPCD
You should read more, this is just a guidline !
STRPCCMD can make it possible in general. But “<i>…return data back to DB2 file?</i>” doesn’t make sense. How would you expect a Word document to reside in a “DB2 file” and still retain its meaning? And note that CPYFRMPCD probably <i>should not</i> be used. It implies use of the /QDLS file system which should be avoided as much as possible. Far better (though still less than smart) would be to use a streamfile in the /root file system and then use CPYFRMSTMF to get content into a “DB2 file.”
As for how to define the “DB2 file”, I have no idea what any useful definition would be. A DB2 file wouldn’t make sense for storing a Word document. (It could be done, but it doesn’t make sense.)