What is INFDS file information data structure

  1. Registered since
    Nov 2007
    Contributions
    368

    INFDS, INDDS, INDARA, CAnn, CFnn ?????

    Hello everybody,

    can someone explain to me the difference between INFDS and INDDS?
    have already searched here but I don't get it because sometimes it says infds and sometimes indds depending on your mood.

    So I always use infds.
    I've put together a copy of all the f-keys that I can query in the program.

    But I still don't understand the exact difference between the two (((.

    second question:
    difference between CAnn and CFnn ??

    third question:
    indara ???


    Thanks in advance.

  2. Registered since
    Jan 2003
    Contributions
    91
    When using CA, in contrast to CF, no data entry is returned to the program, only the information that the Fnn key was pressed. The difference between INFDS and INDDS is that INDDS provides information about reference numbers. INDARA stands for Indicator Area (switch area) IBM manuals are very helpful!
    Uwe Bolte
    Tel .: 0171-1958266

  3. Registered since
    Aug 2001
    Contributions
    2.719
    Hello,

    INFDS
    is the fileInfOrmations data structure from which you can find information such as the function key pressed (position 369 in hex format) or row / column of the cursor position (position 370-371).

    I assume that you determine the pressed function keys via position 369 and check them against the hex values ​​that are stored somewhere as constants.

    In this case, the INDDS and the key word INDDA are irrelevant to you.

    INDDS
    is a Indikator data structure that returns the reference numbers used in the DDS. These indicators are independent of * IN01- * IN99, i.e. there is no risk of multiple use of * IN01 - * IN99. (You should avoid * IN01 - * IN99 as well and use named indicators, data type N)

    If the indicator data structure is used, the individual reference numbers must be renamed and the new names used in the program.

    For example, every programmer can use his preferred reference number for SFLNXTCHG. In the program, the colleague sees e.g. SFLNXTCHG = * ON, but whether this is * IN53 or * IN77 is of secondary importance at this moment.

    In addition, all reference numbers used in the display file are renamed in a central location (and thus also documented!)

    Of course, those who give names like IN33 for reference number 33 should be beaten
    I've seen it all!

    INDARA
    The key word INDARA must be used in the DDS when working with the INDDS so that the data structure is correctly initialized and filled.

    Birgitta
    Birgitta Hauser

    Application modernization, consulting, training, programming in the field of RPG, SQL and database
    IBM Champion 2021
    Virtual SQL and RPG training

  4. Registered since
    Nov 2007
    Contributions
    368
    Thank you for your answers.
    Yes, I solve that through the position
    369 and against the hex values ​​that are stored somewhere as constants.

    Hope this is the right one ...

  5. Registered since
    Nov 2007
    Contributions
    368
    Thank you for your answers.
    Yes, I solve that through the position
    369 and against the hex values ​​that are stored somewhere as constants.

    Hope this is the right one ...

Similar topics

  1. Answers: 8
    Last Post: 02-02-07, 12:27

Permissions

  • Create new topics: No
  • Answer topics: No
  • Upload attachments: No
  • Edit posts: No
  •  

Forum rules

Advanced forum search

Google forums search

Forum & Articles
Update email


AS / 400 / IBM i

Server Expert groups

Corporate IT