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
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
Comment