Version Identifiable?
Issue #16
resolved
Is is possible to determine the version installed? I'd like to check for updates to the version periodically.
If not, can this be added somehow?
Would it be possible to install the XMLSERVICE through YUM like newer versions of Node?
Comments (4)
-
-
reporter @kadler Kevin, thanks for the response. I tried the QSH command but was getting
/QOpenSys/usr/bin/-sh: QSH: 0403-006 Execute permission denied.
Do you know how I could integrate a version check into a shell script like bash?
-
Sure, from bash you can use the
/QOpenSys/usr/bin/qsh
shell wrapper:qsh -c '/qsys.lib/qxmlserv.lib/xmlver.pgm'
Just note that it doesn't output a newline. You can add one with an echo if you need:
qsh -c '/qsys.lib/qxmlserv.lib/xmlver.pgm; echo'
-
reporter - changed status to resolved
@kadler Great thanks! :-)
- Log in to comment
You can call XMLVER:
QSH CMD'/qsys.lib/qxmlserv.lib/xmlver.pgm')
Also, a version tag will be returned inside the error report (easily generated by passing no xml):