pjs.getDSValue()
This API returns a data structure value. All data structure subfields are combined into the character-based return value.
Parameter
Data structure
Return value
Character string
pjs.define("nameDS", { type: 'data structure', elements: {
"firstName": { type: 'char', length: 10 },
"lastName": { type: 'char', length: 10 },
}});
pjs.define("fullName", { type: 'char', length: 20 });
Â
firstName = "John";
lastName = "Doe";
Â
fullName = pjs.getDSValue(nameDS); // fullName is now "John Doe"
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!