Entry points > Module Supervisor > Standard script PATCH 

PATCH

The INTEGOBJ entry point is used to prevent the integration of an object of a "Vertical" or "Specific" patch.

This entry point is inserted into the read loop of the sequential file that contains the patch.

If the GPE variable is set to 1, the object is not integrated and the next object is dealt with.

Context and operating mode

In the context of the entry point :

  • There is no current transaction
  • A trace file is open

The following tables are on line :

Table

Significant content

Table description

ADOVAL [ADW]

No

Parameter values

The principal variables available are :

  • TYPOBJ contains the object type to be integrated (AMK screen, ATB table, etc.)
  • NOMOBJ contains the code of the object to be integrated.
  • TYPPTC contains the type of patch (local menu 7804).

The class [F:ADS] contains the record of the ADOSSIER table of the current folder.

The class [M:DIA] contains the integration parameters.

INTEGOBJ

The entry point PATCH is used to not integrate a patch in a folder for example if the level of the list is less than that of the folder.

The entry point is located in the folder loop defined in the patch integration screen.

By setting the variable GPE to 1 in this entry point, the patch is not integrated in the current folder and the process moves to the next folder.

This entry point is only executed if the INTEG variable is equal to 2.

Context and operating mode

In the context of the entry point :

  • There is no current transaction
  • A trace file is open

The following tables are on line :

Table

Significant content

Table description

ADOVAL [ADW]

No

Parameter values

The principal variables available are :

  • D = Current number of the processed Folder
  • NBDOS = Total number of of folders to be processed
  • DOSSIER(D) = Name of the currently processed folder
  • INTEG = Value of the "Integration" checkbox (Yes/No)

The class [F:ADS] contains the record of the ADOSSIER table of the current folder.

The class [M:DIA] contains the integration parameters.

PATCHVERIF

The PATCHVERIF entry point is used not to integrate a patch list

Context and operating mode

In the context of the entry point :

  • There is no current transaction
  • A trace file is open

The following tables are on line :

Table

Significant content

Table description

ADOVAL [ADW]

No

Parameter values

The entry point is called before the PATCH entry point and it is used during the checking of the patches of a list, inside a folder loop defined in the patch integration screen and in the patch loop.

The principal variables available are :

D = Number of the checked folder
NBDOS = Total number of folders to be checked
DOSSIER(D) = Name of the checked current folder
P = Number of the checked patch
NBTRAIT = Total number of patches to be checked
TRAIT(P) = Name of the checked patch
INTEG = Value of the "Integration" checkbox (Yes/No)
ERR = integrated patch list (ERR=0) patch list not integrated (ERR=1)

This entry point is only executed if the INTEG variable is equal to 2.

The class [F:ADS] contains the entry in the ADOSSIER table of the current folder
The class [M:DIA] contains the integration parameters.