IBMiAccess




Results 1 to 3 of 3

Thread: Using DSPF in CL

  1. #1
    Code400 Newbie Geee's Avatar
    Join Date
    Oct 2005
    Location
    Malta
    Age
    37
    Posts
    3
    Rep Power
    0

    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. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Age
    21
    Posts
    1,000,000
     

  3. #2
    Driver of cars, eater of food jamief's Avatar
    Join Date
    Jan 2004
    Location
    Belvidere, IL - United States of America
    Age
    49
    Posts
    9,417
    Rep Power
    12612

    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

  4. #3
    Code400 Newbie Geee's Avatar
    Join Date
    Oct 2005
    Location
    Malta
    Age
    37
    Posts
    3
    Rep Power
    0

    Re: Using DSPF in CL

    Thanks. That simple but very helpful

  5. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Age
    21
    Posts
    1,000,000
     

Facebook Comments


Similar Threads

  1. DSPF with Overlapping Fields
    By albertncyriac in forum DDS
    Replies: 8
    Last Post: May 2nd, 2011, 12:38 PM
  2. Replies: 5
    Last Post: January 1st, 2006, 10:20 AM
  3. Multiple fields at a time in DSPF
    By ranjini in forum RPG/RPGLE
    Replies: 3
    Last Post: December 2nd, 2005, 07:50 AM
  4. Populating a DSPF
    By Thalhayasir in forum RPG/RPGLE
    Replies: 2
    Last Post: February 21st, 2005, 11:16 AM
  5. help please! dspf files stuff
    By afcjack in forum RPG/RPGLE
    Replies: 1
    Last Post: March 26th, 2004, 01:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •