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.

Add Add new records to the file.<br />

Update<br />

Open a database file for update.<br />

Delete Open a database file for delete.<br />

For files other than database and save files, the execute, the add, update, and<br />

delete authorities are ignored.<br />

Authorities required for file operations<br />

Table 4 lists the file object authority required for file functions. Table 5 on page 11<br />

lists the data authority required for file functions. This is the same information that<br />

was presented in the previous two sections, but it is listed by function rather than<br />

by authority.<br />

Table 4. Object Authority Required for <strong>File</strong> Operations<br />

Function Object Operational Object Existence Object <strong>Management</strong> Object Reference<br />

Open, I/O, close<br />

X<br />

file 1<br />

Compile a program<br />

using the file<br />

description<br />

X<br />

Display file<br />

description<br />

X<br />

Delete file X X<br />

Save/restore X<br />

Transfer ownership X X<br />

Grant/revoke<br />

authority<br />

X X<br />

Change file<br />

description<br />

X X<br />

Move file X X<br />

Rename file X X<br />

Replace file X X X<br />

Refer to another<br />

X X<br />

file 2<br />

Add or remove file<br />

constraints 3<br />

Add or remove<br />

triggers 4<br />

Change attributes 5<br />

:<br />

1<br />

2<br />

3<br />

4<br />

5<br />

Object<br />

Alter<br />

X X<br />

X X<br />

X X<br />

For device files that are not using spooling, you must also have object operational and all data authorities to<br />

the device.<br />

For database files only.<br />

For database files only. Parent files need object management or object reference authority. Dependent files<br />

need object management or object alter authority.<br />

For database files only. <strong>File</strong>s need object management or object alter authority.<br />

For database files and SQL packages only. <strong>File</strong>s need object management or object alter authority.<br />

10 <strong>File</strong> <strong>Management</strong> V4R5

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

Saved successfully!

Ooh no, something went wrong!