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

replacing varying statement

Former Member
0 Likes
353

Hi ,i am  upgrading from ecc4.7 to ecc 6

so i need to replace the following varying statment please guide me

   DO 4 TIMES
     VARYING V_FILE FROM V_FILEA NEXT V_FILEB
     VARYING V_PFIL FROM P_DSN1 NEXT P_DSN2.

   DO 4 TIMES
     VARYING V_FILE FROM V_FILEA NEXT V_FILEB
     VARYING V_PFIL FROM P_DSN1 NEXT P_DSN2.

Moderator message: please do more research before posting.

Message was edited by: Thomas Zloch

1 REPLY 1
Read only

SharathYaralkattimath
Contributor
0 Likes
321

Hi,

Check out this Example:

DO 10 TIMES VARYING B FROM A+9(1) NEXT A+8(1). "In 4.6 version.

Will be replaced with

DO 10 TIMES VARYING B FROM A+9(1) NEXT A+8(1) RANGE A+0(1).