How do I handle RA (Auto Record Advance) fields?

RAMP-NL

How do I handle RA (Auto Record Advance) fields?


 Some 5250 applications may use fields with an RA input attribute (Auto Record Advance). Programs that display these fields automatically press Enter when the last digit or character is entered by the user.

 The RAMP choreographer cannot automatically generate a script for this situation based on your keystrokes. Instead, it will generate lines like:

  

/* Set up data fields on form xxx */

 

SETVALUE("utxtMenuOption","");

 

/* Send the key required to navigate to xxx */

 

You will need to edit the generated script, and specify both the value and the Enter key press, like this:

 

/* Set up data fields on form xxx */

 

SETVALUE("utxtMenuOption","2");

 

/* Send the key required to navigate to xxx */

 

SENDKEY(KeyEnter);