you may do another way.
Create a model file in word (.DOT file) with the fixed text.
Export the variable part of your data into a file that will be available for Excel PC importation using Excel ADD-in of better, integrated SQL.
Now modify your .DOT file for mail merge using the created Excel file from I5 data.
And you’ll get probably what you want. (I hope).
To my knowledge, there is no add-in in Word to include data from AS400. This is probably due to the fact that Word is not a tool to handle data.
To initiate a pc command from I5 platform, just use STRPCCMD command.