ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CMD prompt within a DSPF record's field

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

  • CMD prompt within a DSPF record's field

    Hello,

    I have a DSPF with one record having one field which will contain a command (like: "runsqlstmt.." or whatever).

    I know how to prompt a command, by just putting an '?' before in the qcmdexec but, in this particular case, I don't want the cmd to be run, just saved into the field so, when the value returns to the program, I can save it into a table.

    Any ideas?

    Thanks
    Dom

  • #2
    Use QCMDCHK.

    Comment


    • #3
      Thanks a lot Ted, exactly what I was looking for ;-)

      Comment

      Working...
      X