Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Why Open Member Maincampus in AIR02_02 ?

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

  • Why Open Member Maincampus in AIR02_02 ?

    Hi
    I understand how AIR02_02 uses the procedure AiropenFiles('MAINCAMPUS') to do an override to the maincampus member. Indeed, the Display Open Files screen shows that was done sucessfully.
    ------
    File Library Device Scope Activation Group
    QDUI132 QSYS QPADEV000F *ACTGRPDFN *DFTACTGRP 0000000000000002
    QDUODSPF QPDA QPADEV000F *ACTGRPDFN *DFTACTGRP 0000000000000002
    STUDENTS AIRLIB STUDENTS *ACTGRPDFN AIR02_02 0000000000000011
    STUDENTS AIRLIB MAINCAMPUS *ACTGRPDFN SVAIRSAMP 0000000000000012
    GRADES AIRLIB MAINCAMPUS *ACTGRPDFN SVAIRSAMP 0000000000000012
    -------
    But why bother?
    STUDENTS is opened in 2 different Activation Groups, but a different member is opened in each group. It is the STUDENTS member that is read by AIR02_02, even though the override was issued and service program SVAIRSAMP uses the SVAIRSAMP activation group.
    -------
    Am I misunderstanding something?
    Program AIR02_02 reads STUDENTS(STUDENTS).
    Service program SVAIRSAMP reads GRADES(MAINCAMPUS)
    -------
    Was that the point? To demonstrate how easy it is to mix up which member is processed?
    -
    Thank you

  • #2
    You are absolutely correct! I must have created the STUDENTS file with the first member being MAINCAMPUS and so it was using that member in the main program, even though I didn't override it.

    I apologize for the confusion that it caused you. I will make sure to make a note of it in the Errata.

    Thank you very much for reporting this.

    Comment

    Working...
    X