- Module - Specifies the Profound.js module name to call (the .js extension can be omitted here)
- Directory - Specifies the subdirectory of modules containing the Profound.js module to call. You can specify *PATHLIST to use the pathlist to search for the module – all directories in the Profound.js pathlist are searched until the first match is found. The pathlist is derived from the IBM i job's library list.
- Parameters - One or more parameters can be specified to pass to the module. Note: Unlike the CALL command, PJSCALL does not modify the data in CL variables that are passed as parameters.
The Node.js module you call may either present an interactive user interface or just perform back-end business logic, in which case control is immediately passed back to Genie after the Node.js script finishes executing.