ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Using DSPF in CL

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

  • Using DSPF in CL

    Hi,

    when using a DSPF within a CL Program, how is it possible to read fields and then pass them back to the DSPF?

    Thanks

  • #2
    Re: Using DSPF in CL

    Command === > SNDRCVF


    you must declare the file with DCLF


    Then all the fields from the display will be profixed with the "&" character

    for example if your screen files if S1Customer

    then in the CLLE program it would be referenced as &S1Customer


    Take care
    Jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Using DSPF in CL

      Thanks. That simple but very helpful

      Comment

      Working...
      X