pjs.uploadTable()
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
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.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!