Override the scope of an open file

The open scope (OPNSCOPE) parameter on the appropriate override command enables you to change the scope of a file open operation. The values for the OPNSCOPE parameter can be either *JOB or *ACTGRPDFN (default).

You can use this parameter to change the scope of an open operation from the call level number or activation group level to the job level.

For example, the following override command scopes the open operation of the BILLING file to the job level:
 OVRDBF FILE(BILLING) OPNSCOPE(*JOB)