ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

DSPF record format name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Barbara Morris
    replied
    I was going to suggest hard-coding it in the DDS, but ... heh ... I see that's what you're already doing. To me, that seems less error-prone and easier in general than setting a field just before the EXFMT or WRITE.

    Leave a comment:


  • Rocky
    replied
    You could just put a 10 character output field where you want to display it - your program will know what it is or you wouldn't be able to use it, just set that field to the value before you do the WRITE/EXEFMT statement.

    Leave a comment:


  • JonBoy
    replied
    You can retrieve it - the named position is *RECORD - but I don't see how it helps you because the value is only available after you have written/read the format in question - which is too late.

    Leave a comment:


  • gregwga50
    started a topic DSPF record format name

    DSPF record format name

    Is there a way that you know of to retrieve the record format name of a display from the INFDS (or otherwise). Where I work, a lot of our 5250 displays have the record format name on the screen of the dspf record format being displayed. Most of them are hard coded in the DDS. I thought there might be away to make this more generic.
Working...
X