amt sys batch history
| Column Name | Data Type | Description |
| RECNO | int | A unique record number (ID) for each entry in this table. |
| ENDDATETIME | OffsetDateTime | The date/time the execution of the batch request ended. |
| JOBRETURNCODE | int | The code returned by the job. |
| APPID | int | ID of the application. See amt sys application. |
| QUEUEID | int | ID of the queue assigned to the job. See amt sys job queue |
| JOBID | int | ID of the job. See amt sys available job |
| JOBNAME | string | Name of the job. |
| JOBTYPE | int | Type of the job. Uses the JobType enum. INVALID = 0 PROGRAM = 1 SCRIPT = 2 |
| SUBFOLDER | string | Optional sub-folder in which a script can reside. Should be empty for programs. |
| BATCHID | string | ID of the batch. |
| RUNID | string | ID of the run. |
| STARTEDBYJOB | string | The name of the job that started this job. |
| ERROR | string | The error description of the job when the job failed. |
| STATION | string | the station the job was started from. |
| AMTUSER | string | The user that started the job. |
| TASKVALUE | string | The Taskvalue for this job. |
| CRITICALREPORT | boolean | True if this is a critical report. |
| SCRIPTPARAMETERS | string | The script parameter for this job. |
| REPGLOBALPARAM | string | The report global parameter for this job. |
| REPPARAM | string | The report parameter for this job. |
| LANGUAGE | string | Language to run the job in, if not default. |
| INITIALRESULT | int | Initial result the job should return unless overwritten. |
| RUNAS | string | Specifies a user to impersonate when running this job. |
| RESTARTAT | string | The JCL Step, Step.ProcStep or other restart point in a script. |
| ERROR | string | The error description of the job when the job failed. |
| ERROR | string | The error description of the job when the job failed. |
