Closed johnottogood closed 6 years ago
Thanks @johnottogood. You are correct. We'll get the page updated. Thanks for raising this issue!
@johnottogood, https://www.ibm.com/support/knowledgecenter/SSTRRS_6.0.0/com.ibm.nodejs.zos.v6.doc/install.htm has now been updated with the correct PATH. Many thanks again for pointing this out.
On the Installing and configuring page:(https://www.ibm.com/support/knowledgecenter/SSTRRS_6.0.0/com.ibm.nodejs.zos.v6.doc/install.htm) -under environment variables, it has this for the suggested PATH:
export PATH=$PATH:$PathPrefix/usr/lpp/nodejs/usr/lpp/IBM/cnj/IBM /node-latest-os390-s390x/bin:$PathPrefix/usr/lpp/nodejs/usr/lpp/IBM/cnj/njsc/bin: /rsusr/rocket/bin
It seems the "/usr/lpp/nodejs" substring for both PATH components should not be there. The suggested PATH should be
export PATH=$PATH:$PathPrefix/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin:$PathPrefix/usr/lpp/IBM/cnj/njsc/bin:/rsusr/rocket/bin.
Checking the Program Directory document for NodeJS for z/OS confirms my finding: (page 23 of GI13-4703-00)
PathPrefix/usr/lpp/IBM/cnj