Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Xstring

Former Member
0 Likes
575

Hi all,

what is xstring?where we use it and what values should it carries.

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
426

Hi,

Like String Xstring is also a variable length type.

Only difference is String is Text sequence where as Xstirng is BYTE sequence.

The predefined data types string and xstring describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text and byte strings varies according to their content (the maximum size of a string is determined by profile parameter ztta/max_memreq_MB, see Maximum size of dynamic data objects).

Regards,

Sesh

2 REPLIES 2
Read only

Pawan_Kesari
Active Contributor
0 Likes
426

XSTRING is variable-length byte sequence

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
427

Hi,

Like String Xstring is also a variable length type.

Only difference is String is Text sequence where as Xstirng is BYTE sequence.

The predefined data types string and xstring describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text and byte strings varies according to their content (the maximum size of a string is determined by profile parameter ztta/max_memreq_MB, see Maximum size of dynamic data objects).

Regards,

Sesh