appendPJSPathlist

  • Available since Profound.js 7.9.0.

  • Applicable to Profound.js running on IBM i machines, including in Genie.

 

By default (when the “Directory” parameter is omitted), a call to PJSCALL results in a search for objects over entries from the library list of the IBM i job in which PJSCALL runs.

 

The appendPJSPathlist configuration option changes the behavior of PJSCALL with respect to searching for modules, files, etc. With appentPJSPathList set to true, then entries in the PJS instance’s pathlist are searched before the search continues to the job’s library list entries. That is, if a module were to be called, and it existed in the PJS pathlist , then the module would be found and called, and no library list entries would be searched.

 

To be able to include pathlist setting when using PJSCALL, add appendPJSPathlist to the config.js and set it to true:

appendPJSPathlist: true

 

For example, with the following config.js