30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

When control is transferred to another program (TFRCTL command), the overrides<br />

in the call level of the transferring program are not deleted.<br />

You can also explicitly delete overrides on your system by using the Delete<br />

Override (DLTOVR) command. The DLTOVR command can delete overrides that<br />

are scoped to the call level, activation group level, or the job level. To delete<br />

overrides that are scoped to the activation group level, you do not need to specify<br />

a value for the OVRSCOPE parameter because OVRSCOPE(*ACTGRPDFN) is the<br />

default. To delete overrides that are scoped to the job level, you must specify<br />

OVRSCOPE(*JOB) on the DLTOVR command.<br />

To identify an override, use the file name that is specified on the FILE parameter<br />

of the override command. You can delete all overrides at the current level (call<br />

level, activation group level, or job level) by specifying value *ALL for the FILE<br />

parameter.<br />

See the following topics for additional information on deleting overrides:<br />

v “Deleting overrides: scenario 1”<br />

v “Deleting overrides: scenario 2”<br />

Deleting overrides: scenario 1<br />

In the following example, assume that all the commands are entered at the same<br />

call level:<br />

Override 1 OVRDBF FILE(DBA) +<br />

TOFILE(DBB)<br />

Override 2 OVRPRTF FILE(PRTC) +<br />

COPIES(2)<br />

Override 3 OVRDKTF FILE(DKT) +<br />

EXCHTYPE(*BASIC)<br />

Delete Override 1 DLTOVR FILE(DBA)<br />

Delete Override 2 DLTOVR FILE(*ALL)<br />

Delete override 1 causes override 1 to be deleted. Delete override 2 causes the<br />

remaining overrides (overrides 2 and 3) to be deleted.<br />

Deleting overrides: scenario 2<br />

In the following example, assume that commands 1, 2, and 14 are entered<br />

interactively, at call level 1:<br />

Chapter 3. Using overrides 55

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

Saved successfully!

Ooh no, something went wrong!