IBM Support

DFU Audit Report from Temporary Program

Troubleshooting


Problem

This document describes what determines whether updating a file in DFU using a temporary program generates an audit report.

Resolving The Problem

This document describes what determines whether updating a file in DFU using a temporary program generates an audit report.

Using a temporary program in DFU to update a file is a quick and easy way to make changes to a file. However, DFU does not allow users to make any changes to preferences when running temporary programs. The temporary program will only use the default settings. The default settings, according to the DFU manual, are as follows:

Define General Information display
o Job title: WORK WITH DATA IN A FILE
o Display format: Multiple column
o Audit report: Yes
o S/36 style: No
o Suppress errors: No
o Allow updates on roll: Yes
o Record numbers heading: *RECNBR (nonindexed files only)
o Processing: Sequential (nonindexed files only)
o Keys-Generate: No (indexed files only)
o Keys-Changes allowed: Yes (indexed files only)
o Generate record numbers: No (nonindexed files only)
o Store record number in a field: No (nonindexed files only)

Specify Audit Control display
o Print additions: Yes
o Print changes: Yes
o Print deletions: Yes
o Printer line width: 132
o Printer column spacing: 1

Work with Record Formats display:
o All available record formats

Select and Sequence Fields display
o Select and Sequence fields: Select all
o Field headings: The externally described headings if they exist; otherwise, the field names specified in the file specification.

Specify Extended Field Definition display (alphanumeric fields)
o Auto duplicate: No
o Allow lowercase: Yes
o Heading location: *BEFORE
o Edit code and Edit word: As specified in the DDS file description

Specify Extended Field Definition display (numeric fields)
o Auto duplicate: No
o Accumulate: No
o Heading location: *BEFORE

Any validity specified in the DDS file description

These settings are stored in the user profile for any user that uses DFU. If a user creates or changes a regular (non-temporary) DFU program, the last set of settings that the user specified become the new default settings in the user profile. So, if temporary programs are not generating audit reports, this means that the user running the temporary program created or changed a regular DFU program and specified N on the Audit Report parameter. To restore audit reporting for temporary programs, that user must create or change a DFU program and specify Y for the Audit Report parameter.

This holds true for all DFU settings and Temporary Programs.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming (Languages- compilers- tools)","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

585888365

Document Information

Modified date:
18 December 2019

UID

nas8N1011796