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

Calling PROVIDE ..... ENDPROVIDE

Former Member
0 Likes
382

Hi guru,

My script below is not working :

sort l_T_POS_TXT_1 by OBJID BEGDA ENDDA.

sort l_T_POS_TXT_2 by OBJID BEGDA ENDDA.

PROVIDE FIELDS * FROM l_T_POS_TXT_1 INTO l_t_POS_WA1

VALID flag1

BOUNDS begda AND endda

FIELDS * FROM l_T_POS_TXT_2 INTO l_t_POS_WA2

VALID flag2

BOUNDS begda AND endda

BETWEEN '20090101' and '99991231'.

ENDPROVIDE.

I have the following error msg when activating the program (user exit) : "Old and new exception can not be used at the same time"

Please what is wrong in the script ?

Thanks for your help.

Hi guru,

My script below is not working :

sort l_T_POS_TXT_1 by OBJID BEGDA ENDDA.

sort l_T_POS_TXT_2 by OBJID BEGDA ENDDA.

PROVIDE FIELDS * FROM l_T_POS_TXT_1 INTO l_t_POS_WA1

VALID flag1

BOUNDS begda AND endda

FIELDS * FROM l_T_POS_TXT_2 INTO l_t_POS_WA2

VALID flag2

BOUNDS begda AND endda

BETWEEN '20090101' and '99991231'.

ENDPROVIDE.

I have the following error msg when activating the program (user exit) : "Old and new exception can not be used at the same time"

Please what is wrong in the script ?

Thanks for your help.

1 REPLY 1
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
349

Which user exit ?