For the past four years I have written a little more than sixty systems management commands and utilities that have been published by Dan Riehl in this newsletter. In order to give you an overview of this offering as well as to help you catch up in case you missed one or two of the tools the first time around, I’ve collected links to all the articles and code here.
The Display PTF Information (DSPPTFINF) command shows the program temporary fix (PTF) information for the specified PTF identification number. No product ID is required, the PTF identification number is assumed to be unique for the current
release.
The Rename Hardware Resource (RNMHDWRSC) command changes the name of a hardware resource on the system. Use the Display Hardware Resources (DSPHDWRSC) or the Work with Hardware Resources (WRKHDWRSC) commands to establish the current resource
names.
The Display Language Default CCSID (DSPCCSID) command displays the specified language ID's corresponding default coded character set ID
(CCSID).
The Print Server Authentication Entries (PRTSVRAUTE) command prints a list of server authentication entries for either a specific user profile or all user profiles on the
system.
The Remove ARP Table Entry (RMVARPTBLE) command removes one or all dynamic entries from the ARP (Address Resolution Protocol) table for the specified line. Local interface entries cannot be
removed.
The Process File Locks (PRCFILLCK) command identifies all jobs currently holding a lock for the specified object, and for each job either sends a break message or ends the job. The break message is sent to the job holding the lock or optionally to all jobs currently running under the user profile of the job holding the
lock.
The Process Record Locks (PRCRCDLCK) command identifies all jobs currently holding a record lock for the specified relative record number(s) in the specified physical file, and for each job either sends a break message or ends the job. The break message is sent to the job holding the record lock or optionally to all jobs currently running under the user profile of the job holding the record
lock.
The Change User Status (CHGUSRSTS) command is capable of resetting a user profile password as well as changing a user profile status to *ENABLED. If the system audit journal QAUDJRN exists on the system where this command is run, all usage of the command will be recorded in the system audit journal, regardless of how the command
ends.
You can use the Display Software Inventory command to display your installed keyed licensed programs and features which are orderable. The command can help you decide which keyed licensed programs to order for an upgrade or a new
release.
Displays attribute information for a specific IFS
object.
The Check User Special Authorities (CHKSPCAUT) command provides a verification of whether the user has the specified special
authorities.
The Retrieve Special Authorities (RTVSPCAUT) command provides an indication of whether the user has the specified special
authorities.
The Retrieve User Special Authorities (RTVUSRSPCA) command returns an array of the special authorities that the specified user profile has, either privately, through it's group profile, its supplemental group profiles accumulated, or optionally all aforemented profiles special authorities
accumulated.
The Change Object Authority (GHGOBJAUT) command changes the specified user's authority to the selected objects. Only objects that the user has the specified current authority to, are
changed.
The Start Journal for Library (STRJRNLIB) command will start journaling for all objects of the specified object type in the specified library. Specify a generic object name to further qualify the selection of objects to start journaling changes. Only objects currently not journaled will be
selected.
The End Journal for Library (ENDJRNLIB) command will end journaling for all objects of the specified object type in the specified library. Specify a generic object name to further qualify the selection of objects to end journaling changes. Only objects currently being journaled will be
selected.
The Print Save Information (PRTSAVINF) command produces two lists with save information. One list displays information about when the system save
commands were last run. The other list displays save information for either the
specified libraries or for the objects in the specified
libraries.
The Analyze User Profiles (ANZUSRPRF) command prints a list of all user profiles meeting the specified selection
criteria.
The Print Journal Receivers (PRTJRNRCV) generates a report of journal and journal receiver directory
information.
The Display PTF CUM Level (DSPPTFLVL) command displays the current system PTF cumulative package level as well as the date and time of the most recent system IPL (Initial Program Load). The information is returned in an informational
message.
The Retrieve System Data (RTVSYSDTA) command is used in a CL program to retrieve various system data and attributes. The values are returned (copied) to the specified CL variables in the program running this
command.
The Check Cryptographic Support (CHKCRPSPT) command checks whether the specified cryptographic algorithm is currently supported on the system, or displays a list, in the form of informational messages, of all currently supported cryptographic
algorithms.
The Retrieve Device IP Address (RTVDEVIP) command returns the current IP address of the specified display or printer device in dotted decimal form. If the specified device is not currently varied on, the special value *NONE is returned.
The Display Device IP Address (DSPDEVIP) command displays the current IP address of the specified display or printer device in dotted decimal form. If the specified device is not currently varied on, the special value *NONE is returned.
The Retrieve Directory Entry SMTP Address (RTVDIRSMTP) command is used to retrieve the SMTP address of the specified system distribution directory entry.
The Display Directory Entry SMTP Address (DSPDIRSMTP) command is used to display the SMTP address of the specified system distribution directory entry. The information is returned in an informational message.
http://systeminetwork.com/article/retrieve-and-display-users-e-mail-addr...
The Print Journal Report (PRTJRNRPT) command produces a list of objects whose current journal status corresponds to the specified report
type.
The Process Object Locks (PRCOBJLCK) command identifies all jobs currently holding a lock for the specified object, and for each job either sends a break message or ends the job. The break message is sent to the job holding the lock or optionally to all jobs currently running under the user profile of the job holding the
lock.
The Change Profile Exit Program command (CHGPRFEXIT) activates or deactivates for the specified user profile, the exit program(s) registered for the exit point defined by the format parameter. The current setting is retrieved for the specified user profile if the command is prompted prior
to
execution.
The Check PTF Status command (CHKPTFSTS) locates all PTFs having the specified current status. All installed products are
searched.
The Analyze User Profile Usage (ANZPRFUSG) command prints a list of all all profiles meeting the specified selection criteria. You can specify whether to disable the listed user profiles. However, user profiles created by *IBM will not be disabled, regardless of this
setting.
The Print Registered Exit Programs (PRTREGEXIT) command produces a list of all exit points currently having one or more exit programs registered. For each exit point all registered exit programs and a number of the exit programs' attributes are
listed.
The Add Pseudorandom Number Seed (ADDPRNSEED) command allows the user to add seed into the server's pseudorandom number generator system seed
digest.
The Display Job IFS Object Locks (DSPJOBIFSL) displays Integrated File System (IFS) object access and lock information for the specified job. This information includes the type of lock or access for all IFS objects currently referenced by the
job.
The Print Job Run Attributes (PRTJOBRUNA) command produces a list of jobs being of the specified job type. For each job the job's current run attributes are printed. This information is similar to the information presented when running the command DSPJOB
OPTION(*RUNA).
The Add Group Profile (ADDGRPPRF) command adds the specified group profile to all user profiles that meet the specified selection criteria. The group profile is added as the primary group if the user profile does not already have one. Otherwise the group profile is added as a supplemental group, provided that not all supplemental groups have already been
specified.
The Print User Authorization Lists (PRTUSRAUTL) command prints a list of all authorization list entries for the specified user profile. The list also includes an entry for ownership and primary group if the specified user profile owns the authorization list or is primary group for the authorization
list.
The Remove Group Profile (RMVGRPPRF) command removes the specified group profile from all user profiles that meet the specified selection criteria. The group profile is removed as either primary group profile or supplemental group profile, dependent on it's current
status.
The Change NetServer User (CHGNETUSR) command enables activation of a disabled NetServer user
profile.
The Work with NetServer Users (WRKNETUSR) command allows you to work with NetServer users currently being disabled, and optionally enable these
users.
The Remove Journal Receivers (RMVJRNRCV) command is used to remove the journal receivers matching the specified selection criteria from the system. The command also optionally changes the journal
receiver.
The Add Server Share (ADDSVRSHR) command shares a portion of the integrated file system (IFS) or a system output queue with the network by using the iSeries Support for Windows Network Neighborhood
server.
The Remove Server Share (RMVSVRSHR) command removes a share from thelist of files or printers on the server. When this command removes a share, all connections to the shared resource are
disconnected.
The Change Server Share (CHGSVRSHR) command changes an the information about a shared portion of the Integrated File System (IFS) or a shared system
printer.
The Display Server Share (DSPSVRSHR) command displays information about the specified server share. The type of information varies depending on the actual type of server share, being either a print of file
share.
The Work with Server Shares (WRKSVRSHR) command allows you to work with all currently configured server
shares.
The Display User Jobs (DSPUSRJOB) command allows you to display a list of jobs based on a combination of user name, job status and job
type.
The Display Subsystem Activity (DSPSBSACT) command allows you to monitor the subsystem activity on your
system.
The Display Subsystem Job Queues (DSPSBSJOBQ) command allows you to monitor activity in all job queues currently allocated to the specified subsystem, but only if that subsystem is currently active. For inactive subsystems, no job queues are
listed.
The Display Job Queue Jobs (DSPJOBQJOB) allows you to display all jobs that have been submitted through the specified job queue and that have not yet completed. This implies that only jobs that are currently on the specified job queue, or have been on that job queue and are currently active, will be included in the list of jobs to
display.
The Print Adopting Special Authority (PRTPGMADPS) command produces a list of program and service program objects, that adopt the special authorities specified. The list can be limited to a specific library or a group of libraries, as defined by the program library special
values.
The Work with Job 2 (WRKJOB2) command allows you to work with a list of jobs based on a combination of job name, user name, job status and job type.
in
The Work with Journal 2 (WRKJRN2) command creates a list of journals that match the specified journal name and are located in the specified library. The displayed list allows you to run a number of commands, that let you display, change or delete the selected journal(s) or create a new
journal.
The Work with Output Queue Authorities (WRKOUTQAUT) command displays the selected users' authority to the specified output queue as well as the authority to the spooled files on that output queue. The panel list also specifies the source of authority and provides information about the user profile's special authorities and group
profiles.
The Work with Profile Security Attributes (WRKPRFSECA) command displays or prints a list of user profiles that meet the specified selection criteria. The available selection criteria all relate to user profile security and
authorization.
The Set Default Journal (SETDFTJRN) command defines the settings that apply to automatic journalling for the library
specified.
The Work with Default Journal (WRKDFTJRN) command allows you to work with all currently configured default journal data areas, which are named
QDFTJRN.
The Run Job Command (RUNJOBCMD) allows you to run a command in another job, including batch jobs. If the command generates completion, exception or any other types of messages, these will be visible in the job log of the job where the command is
run.
The Retrieve Job Interrupt Status (RTVJOBITPS) command returns the current job's current interrupt status.
The Change Job Interrupt Status (CHGJOBITPS) command will retrieve and optionally modify the job interrupt status of the current
job.
The Work with Jobs (WRKJOBS) command allows you to work with a list of jobs based on a combination of job name, user name, job status and job
type.
The Retrieve Command Information (RTVCMDINF) command retrieves information for the specified command and returns this information in CL
variables.
If you have an appetite for even more commands and utilities, the System iNetwork Programming Tips Newsletter recently published a similar collection, including systems management related material.
Should you have any ideas or suggestions for new system management tools that you would find useful and like to see in a future issue of the System iNetwork Systems Management Newsletter, please be sure to let me know at flensburg@novasol.dk.
Bookmark/Search this post with: