79342478

Date: 2025-01-09 11:55:56
Score: 0.5
Natty:
Report link

Use DSPATR(PC) in the DDS source for the options field in your red area.

DSPATR(PC) means "place cursor", and can optionally be conditioned with indicators. Together with an appropriate RTNCSRLOC definition in the record format for the red area, you can place the cursor e. g. into the field it was before the user pressed enter.

See my GitHub project for examples, especially v_lodpag*. I'm using the described facility to place the cursor to the position-to field initially, and when the user presses the "home" key, to quickly jump from the subfile to the pos-to field.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PoC