Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Profound.js instances can be set up at installation time to start automatically when the PROFOUNDJS subsystem TCP/IP is started.

 

To start all Profound.js instances, simply start the PROFOUNDJS subsystemuse this command:

Code Block
STRSBS SBSD(PROFOUNDJS)

 

STRTCPSVR SERVER(*PJS) INSTANCE(*ALL)


To start an individual Profound.js instance, use the following command:

Code Block
SBMJOBSTRTCPSVR JOBSERVER(PROFOUNDJS*PJS) JOBDINSTANCE(PJS_BASE/PROFOUNDJS) USER(*JOBD) RQSDTA(*JOBD) SYSLIBL(*SYSVAL) CURLIB(*USRPRF) INLLIBL(*JOBD) CCSID(*USRPRF)

If the instance name is something other than PROFOUNDJS, substitute the instance name for PROFOUNDJS in the above command.

Ending Instances

Ending the PROFOUNDJS subsystem will automatically To end all Profound.js instances:

Code Block
ENDSBSENDTCPSVR SBSSERVER(SDSD*PJS) DELAYINSTANCE(5*ALL)

 


To end an individual instance manually, first use the following command to locate all running instancesnamed PROFOUNDJS manually:

Code Block
WRKACTJOBENDTCPSVR SBSSERVER(PROFOUNDJS)

And then use option number 4 (ENDJOB) on the entry for the job that corresponds to the instance you'd like to end:

Image Removed

 

*PJS) INSTANCE(PROFOUNDJS)

On your local PC or another server

To start Profound.js on your local PC or a non-IBM i server using Node, or if you have opted not to control the instance using the STRTCPSVR/ENDTCPSVR commands, use the following command from your Profound.js installation directory:

...