The batch archive log creation program, ARMBLOG, issues an archive log command and waits until the command is completed, as follows:
In a non-data-sharing subsystem, the program issues an -ARCHIVE LOG command.
In a data sharing subsystem, the SCOPE(OBJECTSET) parameter is added if ARMBLOG is issued with the DATASHARE=OBJECTSET parameter specified.
You can specify the maximum number of times to check the Print Log Map output to determine if the new archive log has been created. You can also specify the maximum number of seconds to wait between Print Log Map invocations.