30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

activation group level. The system does not process this override until it has<br />

processed all overrides with call levels greater than or equal to the call level of<br />

the oldest procedure in activation group 8. In this example, the call level of<br />

the oldest procedure in activation group 8 is 3. Therefore, the system will<br />

process all call level overrides that are issued at call levels greater than or<br />

equal to 3 before processing the activation group override that is issued at call<br />

level 8.<br />

4. The system searches call level 7 for applicable overrides that were scoped to<br />

the call level. Because the override issued at call level 7 is scoped to the call<br />

level, it is processed. The LPI(9) attribute is assigned to file ZZZ.<br />

5. The system searches call level 6 for applicable overrides that were scoped to<br />

the call level. Notice that call level 6 is in activation group 21. There is an<br />

override for file ZZZ; however, it is scoped to the activation group level of<br />

activation group 21. The system ignores this override altogether because it is<br />

scoped to an activation group other than activation group 8.<br />

6. The system searches call level 5 for applicable overrides that were scoped to<br />

the call level. There are no such overrides. (The override issued in call level 5<br />

is for file YYY and does not apply.)<br />

7. The system searches call level 4 for applicable overrides that were scoped to<br />

the call level. Because the override issued at call level 4 is scoped to the call<br />

level, it is processed. The CPI(12) attribute is assigned to file ZZZ.<br />

8. The system searches call level 3 for applicable overrides that were scoped to<br />

the call level. Because the override issued at call level 3 is scoped to the call<br />

level, it is processed. Notice that the file being opened has been changed to<br />

YYY from ZZZ. The DEV(P1) attribute is assigned to file YYY. The LPI(9)<br />

attribute is changed to LPI(6) and is assigned to file YYY.<br />

Call level 3 is the call level of the oldest procedure in activation group 8.<br />

Therefore, any overrides (for file YYY) that were scoped to the activation<br />

group level of activation group 8 are processed. The override issued at call<br />

level 9 is processed. This changes the LPI(6) attribute to LPI(5).<br />

9. The system searches call level 2 for applicable overrides that were scoped to<br />

the call level. The override issued in call level 2 is processed. This assigns the<br />

FOLD(*YES) attribute to file YYY.<br />

10. The system searches call level 1 for applicable overrides that were scoped to<br />

the call level. There are no such overrides.<br />

11. The system searches the job level for applicable overrides that were scoped to<br />

the job level. Because, the override issued in call level 5 was scoped to the job<br />

level and it is for file YYY, it is processed. This changes the DEV(P1) attribute<br />

to DEV(P2).<br />

How the system processes overrides-scenario 2<br />

When several overrides that override the file type to be used by a program are<br />

applied, only the attributes specified on the overrides of the same type as the final<br />

file are applied. In the following example, assume that program MAKEMASTER<br />

attempts to open the diskette file DKA:<br />

Chapter 3. Using overrides 45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!