Display information about open files

You can display information about your open files by typing dspjob option(*opnf) on any command line and press Enter, or by typing wrkjob option(*opnf) on any command line and press Enter.

The following screen then displays:

                              Display Open Files
 
 Job . . :  QPADEV0027     User . . :  KELLYMR        Number . . . :  032138
 Number of open data paths . . . . . . . . . . :     2
 
 
                                  Member/
 File       Library    Device     Scope      Activation Group
 QDUI80     QSYS       QPADEV0027 *ACTGRPDFN 0000000002 *DFTACTGRP
 QDDSPOF    QSYS       QPADEV0027 *ACTGRPDFN 0000000002 *DFTACTGRP
 
 
 
 
 
 
 
 
 
 
 Press Enter to continue.
 
 F3=Exit   F5=Refresh   F10=Display I/O details   F12=Cancel   F16=Job menu

The Scope column identifies the level to which the open is scoped. *ACTGRPDFN indicates that the open is scoped to the activation group level. If the file opened in the user default activation group, the open is scoped to the call level number of the calling program. If the file opened in a named activation group, the open is scoped to the activation group level. *JOB indicates that the open is scoped to the job level. You can change the scope of an open operation by using override commands.

The Activation Group column identifies the number and name of the activation group. *DFTACTGRP indicates the default activation group.

Related concepts
Scope of opened files
Use overrides