RESET for Systems

The syntax for this command is as follows:

RESET nn
RESET nn [RETAINDB {+/-}] [COMPILEALL {+/-}] [MIGRATE - ] [REORGS n ] [COMPILES N] 
RESET nn REPORT <report name>
RESET nn REPORT ALL*
RESET SYSTEM ALL

For all Developer defined systems, Application Builder maintains a table of the status of each system. Some states only allow certain actions to be selected for that system by the Developer Builder. For obscure terminations or system failures there might be cases when these states require manual changing.

This command allows for cases where the system state is incorrect and requires clearing to allow further generates. For example, if network failure while transferring files leaves system or Report requestor state as FTP in progress.

Use this command to set the system status of System nn to enabled, generate status to 'default' (0), and migrated to true.

Use RETAINDB-/+ to alter the RETAINDB setting. This setting must match the associated DASDL source with respect to the UPDATE/INITIALIZE entry.

Use MIGRATE- to override the MIGRATED setting to false. By default, the MIGRATED setting is set to true.

Use COMPILEALL+/- to override the COMPILE ALL system setting. This must match the associated GENINFO file so that if COMPILEALL+ is selected then the GENINFO file must be created for a full system generate.

Use COMPILES N to set the number of compile tasks to N.

Use REORGS n to set the number of reorg tasks to n.

Note: These settings are overridden by the next Client initiated generate for this system.

Refer to the GENERATESYS command for more information on manually generating a full or partial generated system.

Use the INDEX command to determine the appropriate nn index.