Sam has a great feature. It has a log tool that will create a log file. Once you start SAM, go to Options. --> View Sam Log.
You can also go to vi /var/sam/log/samlog.
This will capture everything that is done by SAM. You will need to set the verbose option in SAM to get everything. There will be much more in there than just the syntax but it will show you all the commands that were executed.
I would also suggest you go to
www.docs.hp.com to find HPUX documentation for everything from LVM to Ignite and anything else you need. It will be very helpful for you.
Hope this is what you needed.