Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

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

 

  • No labels