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
    35
    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
    "Just as a bell that has been rung cannot be "unrung", the annoying problem with the Truth is that, once you learn it, you can not "unlearn" it."

  2. #2
    Driver of cars, eater of food jamief's Avatar
    Join Date
    Jan 2004
    Location
    Plano,Texas, United States
    Age
    47
    Posts
    9,245
    Blog Entries
    4
    Rep Power
    12262

    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

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

    Re: Using DSPF in CL

    Thanks. That simple but very helpful
    "Just as a bell that has been rung cannot be "unrung", the annoying problem with the Truth is that, once you learn it, you can not "unlearn" it."

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
  •