Modifying FRM – AWRKFRMCHG

The AWRKFRMCHG command allows you to work with the flags and automatic modification propositions generated by the following commands:

  • Automatic modification in PF sources – ACVTDBFFLD
  • Propagation and automatic modification in the programs – ACVTPGMFLD
  • Automatic modification in the DDS of the PRTF/DSPF – ACVTDDSFLD

These flags and modifications are stored in the propagated source line file. You gain access to the management of all the impacted components by the automatic transformation and analysis tools of these modifications. One line is displayed per impacted source.

Certain components are in warning (with WTG W in the status field) which means their processing caused at least one anomaly detected by the propagation.

Note

Once a line is displayed here for a component, it is no longer possible to check it out in another version (for modification). In this case you must delete the lines from AWRKFRMCHG for this component (to release it).

Here are the different parameters of the AWRKFRMCHG command.

Environment (ENV)
You can specify here, the environment on which you wish to run the command. It corresponds to the destination environment indicated at the execution of the engines.
Modify (PGMR)

Allows you to pre-select the components to display in relation to the specified modifier.

*ALL: All the impacted components of the application will be displayed, whoever the author of the change request may be.

*: Only the components relative to the modifications requested by the profile will be displayed.

Name: You can specify the profile name for which you want the list of components concerned.

Type of modification (CHGTYP)

Allows you to select the items in the list according to the type of status that characterizes them.

*WTG: The selected items will be those waiting on the modification application process by the AAPYFRMCHG command.

*ALL: All the items of the list will be displayed.

Here are the options available for each impacted source.

Option 4=Undo Change

The deletion of all the modification propositions for the component. By F17=Delete all, the option 4 is placed next to all the components and by confirming, you will delete all the flags and modification propositions (necessary if you want to restart the propagation).

This option is only authorized for the source modifications allocated to your user profile.

Option 5=Source
Allows you to visualize the source of the component before modification.
Option 6=Print FRM Modifs.
Starts the printing of flagged or modified lines for the component. (See: APRTFRMCHG.)
Option 8=New source

Allows you to visualize the new source as it will be after the modifications are applied. (See: APRTFRMCHG)

Option 10=Line details

Displays all the flagged code lines, added, or modified for the component.

In the screen displayed, two options are available at this level:

4=Delete: On a line modification (can only be used if *WTG is in the CHGTYP parameter of the command AWRKFRMCHG).

6=Message Warning: On the lines in warning (with a W before the source type, you can obtain the corresponding warning message).

Option 11=Derived fields
With this option, you will reach the screen displaying the derived fields (ADSPDRVFLD).
Option 23=References

Useful for interrogating the component cross-references.