Hex representation for position cursor

40 pts.
Tags:
Application development
AS/400
RPGLE
Does anyone know the hex representation for the display attribute Position Cursor (dspatr(PC))?
ASKED: June 7, 2006  9:04 AM
UPDATED: December 8, 2009  5:18 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The Position Cursor is not a displayable attribute thus there is no hex code for it.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MTharp
    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 pointsBadges:
    report
  • TomLiotta
    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
    125,585 pointsBadges:
    report
  • Teandy
    To me, RTNCSRLOC is far more user friendly and easier to work with than CSRLOC.
    5,860 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following