Manipulating null-terminated strings

You can construct and manipulate null-terminated strings (for example, strings that are passed to or from a C program) by various mechanisms.

For example, you can:

Example: null-terminated strings

related references
Null-terminated nonnumeric literals (ILE COBOL Language Reference)