I have a document in ms word 2010 which we use for documentation purposes on installing some software on our servers.
The document uses <SID>
text which indicates to the viewer the text needs to be changed to match whichever server you are working on.
For example:
SQL> !mkdir /oracle/<SID>/mirrlogA/cntrl
SQL> !mv /oracle/<SID>/sapdata1/cntrl/cntrl<SID>.dbf /oracle/<SID>/mirrlogA/cntrl/
SQL> !rm /oracle/<SID>/112_64/dbs/spfile<SID>.ora
SQL> create spfile='/oracle/<SID>/112_64/dbs/spfile<SID>.ora' from pfile='$ORACLE_HOME/dbs/init<SID>.ora';
We have to manually edit each of these or use a Find + Replace for <SID>
-> SRS
.. Is there a way i can define a document property in place of each of these entries, and then use a macro to prompt the viewer for the SID and it will update all of this automatically?