40 pts.
 Hex representation for position cursor
Does anyone know the hex representation for the display attribute Position Cursor (dspatr(PC))?

Software/Hardware used:
ASKED: June 7, 2006  9:04 AM
UPDATED: December 8, 2009  5:18 PM

Answer Wiki:
The Position Cursor is not a displayable attribute thus there is no hex code for it.
Last Wiki Answer Submitted:  June 8, 2006  7:48 am  by  Ayahel1   0 pts.
All Answer Wiki Contributors:  Ayahel1   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You can make use of the DDS keyword CSRLOC and define fields for row and column to allow the program to control the position of the cursor without the use of an indicator.

 0 pts.

 

Position Cursor isn’t a field display attribute. It’s an instruction to the display about an action to take.

There is indeed a hex representation, but that means there is a hex sequence that you can send in the data stream to instruct the display where to position the cursor. I’m pretty sure you’re not trying to program the 5250 data stream itself (otherwise you’d probably already know how to determine the hex representation.) So, you’re probably thinking it might be a field display attribute.

Sorry. It’s not.

Tom

 107,695 pts.

 

To me, RTNCSRLOC is far more user friendly and easier to work with than CSRLOC.

 5,830 pts.