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

 


 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s