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

Case OK_CODE

Former Member
0 Likes
795

OK_CODE in debug equals %_GC 131 25.

How can I define this?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
499

You can define like :

data : ok_code(20) type c.

Case ok_code.

when '%_GC 131 25'.

do what ever.

endcase.

Thanks

Seshu

2 REPLIES 2
Read only

Former Member
0 Likes
500

You can define like :

data : ok_code(20) type c.

Case ok_code.

when '%_GC 131 25'.

do what ever.

endcase.

Thanks

Seshu

Read only

former_member156446
Active Contributor
0 Likes
499

Hi Tom..

If you want to eliminate hard coding..


constant: c_ok(11) value '%_GC 131 25'.

case ok_code.
when c_ok.
............             "<<<<< ur code......
endcase.