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

unicode error : do varying

Former Member
0 Likes
539

DO VARYING bhdgi-hf FROM bhdgi-t10 NEXT bhdgi-t11.

1 ACCEPTED SOLUTION
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
396

As the documentation states :

1.In Unicode programs, dobj, dobj1, and dobj2 must be compatible. Also in Unicode programs, dobj1 and dobj2 must either be structure components that belong to the same structure, or subareas of the same data object specified by offset/length specifications.

2. Instead of the addition VARYING, the statement ASSIGN should be used in the loop with the addition INCREMENT.

1 REPLY 1
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
397

As the documentation states :

1.In Unicode programs, dobj, dobj1, and dobj2 must be compatible. Also in Unicode programs, dobj1 and dobj2 must either be structure components that belong to the same structure, or subareas of the same data object specified by offset/length specifications.

2. Instead of the addition VARYING, the statement ASSIGN should be used in the loop with the addition INCREMENT.