Dynamic Key Specification in Read Table

lightDynamic Key Specification in Read Table

 

 


  In READ TABLE statement, normally FILED names are specified for key read, but it is quite possible to specify FILED names dynamically. This post steps shows to build up simple dynamic read table key field build up.

 SPFLI table records.

1

Program:

2


Execute and specify the field name and value.

3

O/P:

4


Execute with a different  field name and provide its value.

56


778

 


 

Leave a Reply