Entry points > Module Supervisor > Standard script GEXPOBJ 

CTR_EXPORT : Modification of the export file name

Entry point CTR_EXPORT is used to limit the export counter as the end of the export.

Context and operating method

The EXPORT counter is increased at each export.
But, after 9999, this counter goes back to 1 in order to avoid errors such as 'capacity overload'.

To push this limit further, the user needs to (for instance, in entry point CTR_EXPORT):
- Position the GPE variable in order to avoid the end of the standard process.
- Add the following formula [C]EXPORT = mod([C]EXPORT,MAXI)+1 ('MAXI' represents the new limit.

Warning: do not choose a limit that is too great and so, in order not to go beyond the limit of the reserved fields in the tables (EXPNUM field) and the screens (EXPOBJ2 screen)

This entry point is in a transaction: