Page tree
Skip to end of metadata
Go to start of metadata

This API uploads data from a jsonDB table that has been previously downloaded from IBM i back to the physical database file on IBM i.

The data records are appended to the file. Existing records are not replaced.

Parameters

  1. Table name - the name can be qualified; if the name is not qualified, the pathlist is used to locate the jsonDB table

Example

Download Order Data
function putorders() {
  pjs.uploadTable("ORDERSHP");  // upload Order Header data
  pjs.uploadTable("ORDERSDP");  // upload Order Detail data
}
 
exports.run = putorders;

Requirements

This API requires the Profound.js Connector module.