Boxing scalars in records

Is there a simple way to wrap a scalar type in a record? For example, I'm generating a column of strings using my own operator and I'd like to WriteDelimitedText, but it only takes a record.

I'm uncertain of whether this would be the job of an operator or some language/configuration element.

Trackback URL for this post:

http://www.pervasivedatarush.com/trackback/54

The language construct you need is called "subport linking". You will need to choose a target field name.

Take a look in the developer's guide chapter on ports, specifically under "Creating Links/Linking Fields of Record Ports". The target field is actually created by linking to it.

The NewFields sample application does a lot of subport linking.

Thank you very much: my issue was that I was viewing the problem as outputting a record/composite port. Instead, I should have been looking to input a scalar value into the appropriate field of a record defined at the target.

The examples and documentation you cited do, indeed, cover this topic.