Académique Documents
Professionnel Documents
Culture Documents
To ensure correct results use the QSECOFR profile for the following operations.
The user profile used will be locked while the DSPPGMADP command below is running. If
this profile owns a lot of objects, the profile could be locked for an extended period of time
Refer to IBM Technical APAR#: SA54337 for further information. We recommend that
command DSPPGMADP is run during off-peak hours.
CRTLIB LIB(SEKCHEK)
From the AS/400 command line enter (e.g. see notes below):
This (optional) step will dump a list of all programs that adopt the authorities of the
QSECOFR & QSYS profiles.
This command will append the output to file PGMADP created by the previous command.
This (optional) step will dump a list of object authorities for the object STRDFU (a
powerful data manipulation utility).
You can dump the object authorities for as many objects as you wish. The ‘OUTMBR’
parameter ensures that the data is appended (added) to file OBJAUT. From the AS/400
command line enter:
DSPOBJAUT OBJ(QSYS/ObjectName) OBJTYPE(*ObjectType)
OUTPUT(*OUTFILE) OUTFILE(SEKCHEK/OBJAUT) OUTMBR(*FIRST *ADD)
This command will append the output to file OBJAUT created by the previous command.
ANZDFTPWD ACTION(*NONE)
10. Copy the Spooled File to the Physical File created in Step 9 (optional
step)
From the AS/400 command line enter (e.g. see notes below):
12. Create a Physical File to contain the Spooled File created in Step 11
(optional step)
13. Copy the Spooled File to the Physical File created in Step 12 (optional
step)
From the AS/400 command line enter (e.g. see notes below):
**IMPORTANT**
Specify binary in your copy utility or ftp software when downloading the PROFBAS file to
a PC.
For all other files, specify fixed-length records and ASCII/text format.
get sekchek/profbas local_filename (copy the profbas file from the remote machine to the
default directory on the local machine. The local_filename in this case would be Profbas.txt
in a specified directory on the PC)
RMVLIBLE SEKCHEK
DLTLIB LIB(SEKCHEK)
This will delete library SEKCHEK and its contents (i.e. all files/objects created during the
Scan process).
Should you encounter difficulties with the process, call us with details of the problem and
we will help guide you through the process.