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.

|<br />

|<br />

Table 3. High-Level Languages and Their OS/400 Operations (continued)<br />

High-Level Languages<br />

Operation<br />

PASCAL PL/I<br />

ILE RPG/400 Programming<br />

Language<br />

By key REWRITE KEY UPDATE<br />

DELETE<br />

By relative record number DELETE DELETE<br />

By key DELETE KEY DELETE<br />

ACQUIRE ACQ<br />

RELEASE REL<br />

COMMIT use CL COMMIT PLICOMMIT subroutine COMMIT<br />

ROLLBACK use CL ROLLBACK PLIROLLBACK subroutine ROLBK<br />

CLOSE CLOSE, END CLOSE, STOP CLOSE, RETURN<br />

<strong>File</strong> security considerations<br />

8 <strong>File</strong> <strong>Management</strong> V4R5<br />

This section describes some of the file security functions. The topics covered<br />

include the authorizations needed to use files and considerations for specifying<br />

these authorities when creating a file. For more information about using the<br />

security function on the system, see the Security - Reference or the Tips and Tools for<br />

Securing Your AS/400, SC41-5300-04<br />

Object authority<br />

The following topics describe the types of authority that can be granted to a user<br />

for a file. Also, you can use the SQL GRANT and REVOKE statements to assign<br />

and remove these AS/400 authorities to SQL tables, including individual columns<br />

within those tables. You can find information about these statements in the SQL<br />

Reference book.<br />

Object operational authority<br />

Allows you to look at an object description and use the object as determined by<br />

your data authorities to the object. Object operational authority is required to:<br />

v Open the file for processing. You must also have read authority to the file. For<br />

device files that are not using spooling, you must have object operational and<br />

also all data authorities to the device.<br />

v Compile a program which uses the file description.<br />

v Display the file description.<br />

v Delete the file.<br />

v Transfer ownership of the file.

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

Saved successfully!

Ooh no, something went wrong!