This method is used for passing parameters by value with pjs.call().
Parameters
1. Value - The value to pass.
2. Config - A configuration object of the format used by pjs.define().
Return Value
An object that can be passed to pjs.call() to pass by value.
Example
Call an IBM i Program with By-Value Parameter
const input = 123; pjs.call('mypgm', pjs.parm(input, { type: 'packed decimal', length: 7, decimals: 2 }));
RPG Equivalent
PARM