Skip to main content
Skip table of contents

Job Management - SYJM

This guide outlines the purpose and usage of key SYJM masks used to manage COBOL job execution and cleanup during system maintenance or software updates.

SYJMAJ – Abort Jobs

Script Launched: Job-AbortExec
Function: Aborts all COBOL jobs currently in the EXEC state.

Example Usage

Run SYJMAJ after executing SYJBLJ to ensure no COBOL jobs are actively running prior to applying software updates.
After the update, execute SYJMLR to restore job limits.

SYJMCF – Cleanup Job Files

Script Launched: Job-CleanupJFiles
Function: Deletes COBOL job-related files from the .spool directory on the APP server for defunct jobs.
Skips files associated with jobs in EXEC, SCHED, or WAIT states.

Example Usage

Run SYJMCF before software updates to clean up residual job files.
Can also be scheduled monthly for routine maintenance.

SYJMLR – Restore Queues Job Limit

Script Launched: Job-LimitRestore
Function: Restores job queue limits for COBOL jobs using backup created by SYJMLJ.

Example Usage

After a software update where SYJMLJ was used to set job limits to 0, run SYJMLR to restore original job limits.

SYJMLJ – Set Job Queues to Limit Zero

Script Launched: Job-SetLimitZero
Function:

  • Sets limit to 0 for all COBOL job queues.

  • Creates a new queue SYSTEM-UTIL with a limit of 1 to allow SYJM job processing.

  • Prevents new COBOL jobs from launching until SYJMLR is run.

  • Automatically skips execution if a backup file already exists (unless delete option is checked).

Example Usage

Run SYJMLJ before applying a BusinessPlus update to block COBOL job execution.
After the update, run SYJMLR to restore job limits.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.