pjs.getDSValue()



This API returns a data structure value. All data structure subfields are combined into the character-based return value.

Parameter

  1. 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"