Error Codes

This appendix describes error codes that may occur during OpenFrame ASM execution and their corresponding actions.

1. Runtime Errors

1.1. VM System Errors

CANNOT FIND LOADABLE PROGRAM. [PROGRAM NAME] (3000)

Description

The program cannot be found or no program has been loaded.

Action

Check whether the program exists in the correct location.

EXTERNAL SYMBOL NOT FOUND. [SYMBOL NAME] (3001)

Description

The external symbol cannot be found or the target symbol could not be loaded.

Action

Check whether the symbol referenced within the program exists in another program.

OPCODE NOT SUPPORTED. [HEX] (3004)

Description

The OPCODE is not supported.

Action

This error can have various causes, but it is usually caused by branching to an incorrect address.

ODD REGISTER FOUND. MUST USE EVEN REGISTER. (3007)

Description

The format of the machine instruction using the EVEN-ODD register is incorrect.

Action

Only even-numbered registers can be used in this machine instruction.

DIVIDE WITH ZERO ERROR. (3008)

Description

Cannot be divided by 0.

Action

Check the divisor value.

INVAILD STOW OPTION. (3009)

Description

Invalid STOW option.

Action

STOW (SVC21) allows only five combinations depending on whether the values in registers 1 and 0 are positive, negative, or 0. Check whether the values stored in each register are valid.

DATA EXCEPTION: INVALID PACKED DATA. [MESSAGE] (3010)

Description

Invalid PACK data format.

Action

This error occurs when the input value format is incorrect during packed decimal operations. Check the format of the input value.

ENTRY NOT FOUND IN THE PROGRAM. [ENTRY NAME] (3013)

Description

Unable to find the program’s entry.

Action

Check whether the program path, entry, and compilation status are correct.

OFASM VM LAUNCH FAILED. AT LEAST [VM MEMORY SIZE]MB OF MEMORY SHOULD BE AVAILABLE TO LANUNCH OFASM VM. (3014)

Description

Failed to start the VM.

Action

Secure the memory size specified by VM_MEMORY_SIZE in the config file and restart the VM.

FIXED-POINT-DIVIDE EXCEPTION. (3015)

Description

A fixed-point divide exception occurred during a packed decimal operation.

Action

Check whether the input value of the machine instruction is correct.

SVC40: FIELDS NOT SUPPORTED. [SVC40 FIELDS FLAG] (3016)

Description

An unsupported field was requested in SVC40[EXTRACT].

Action

Check whether the request fields for EXTRACT are valid. Contact TmaxSoft Technical Support.

SPECIFICATION EXCEPTION. (3017)

Description

An SRST specification error. It occurs when bits 0 to 23 of the first register (32 bits) are not 0.

Action

Check whether the input value of the SRST machine instruction is correct.

TESTCB: FIELDS NOT SUPPORTED. [TESTCB FIELDS FLAG] (3018)

Description

An unsupported TESTCB ACB specification was found.

Action

Check the specifications supported by TEST ACB. For more information, contact TmaxSoft Technical Support.

SHOWCB: VSAM DATASET IS NOT OPENED. (3019)

Description

The target dataset of the SHOWCB ACB is not OPEN.

Action

Check whether the target ACB is in the OPEN state.

SVC27: TDCB_ERROR, [MESSAGE]. ERROR_CODE: [OPENFRAME ERROR CODE] (3020)

Description

A DCB-related error occurs while running SVC27.

Action

Since a DCB-related error occurred while performing CAMLST(SVC27), refer to the [MESSAGE]. The ERRCODE displayed indicates the OpenFrame error code.

PARAMETER HAVE NULL VALUE. (3021)

Description

A parameter has a NULL value.

Action

This occurs when there is a parameter with a NULL value among those passed to the OFASM interface. Check whether the interface has been written correctly and verify that the parameters are valid.

INVALID PCB MASK ADDRESS. (3028)

Description

Incorrect PCB mask address.

Action

Check whether the target parameter is a PCB and whether the interface is correctly written.

NULL PTR DETECTED: [MESSAGE] (3029)

Description

The target of OPEN (SVC19) is not a DCB/ACB.

Action

Check whether the code is written correctly.

NOT SUPPORT AMODE 64: [INSTRUCTION NAME] (3030)

Description

The target machine instruction does not support 64-bit AMODE.

Action

Switching to 64-bit AMODE is not supported by OFASM.

HFP exponent underflow: (3031)

Description

An underflow exception occurred during a floating-point operation.

Action

Check the operand values of the floating-point operation.

HFP exponent overflow: (3032)

Description

An overflow exception occurred during a floating-point operation.

Action

Check the operand values of the floating-point operation.

HFP significance. (3033)

Description

A significance exception occurred during a floating-point operation.

Action

Check the operand values of the floating-point operation.

Invalid access occurred. [MESSAGE] (3036)

Description

Invalid value is passed to the target machine instruction.

Action

Check the operand value of the machine instruction displayed in the [MESSAGE].

Target [MESSAGE] addr is over 16MB: [HEX] (3038)

Description

The address in the [MESSAGE] exceeds the 16MB area.

Action

This function does not operate on data located in the 31-bit area. Adjust the location of the target data to the 24-bit area.

REQUESTED GETMAIN SIZE IS TOO BIG: [HEX] (3039)

Description

The size of the GETMAIN request is too large.

Action

Reduce the size of the requested memory.

STACK CORRUPTED. 24 BIT HEAP AREA OVERFLOWED STACK AREA (3040)

Description

Insufficient space in the 24-bit memory area.

Action

Reduce the size of the requested memory or free previously allocated memory.

MEMORY CORRUPTED. 31 BIT HEAP AREA OVERFLOWED VM AREA (3041)

Description

Insufficient space in the 31-bit memory area.

Action

Reduce the size of the requested memory or free previously allocated memory.

TRYING TO ACCESS PROTECTED ADDRESS = [Addr: [HEX], Size: [NUMBER]] (3042)

Description

An attempt was made to reference a memory area outside the VM memory.

Action

Memory areas outside the VM cannot be referenced by OFASM. Check whether the memory address to be referenced is correct.

1.2. Dataset I/O Errors

DDNAME SHOULDN’T HAVE NULL CHARACTER (4000)

Description

DDNAME starts with a null character.

Action

Check whether the DDNAME or target DCB is correct.

DSORG NOT FOUND (4001)

Description

No DSORG value found within the target DCB.

Action

If the DSORG value in DCB is omitted or unsupported, contact TmaxSoft Technical Support.

RECFM NOT FOUND (4002)

Description

No RECFM value found within the target DCB.

Action

If the RECFM value in DCB is omitted or unsupported, contact TmaxSoft Technical Support.

RECFM_STRING IS NOT IMPLEMENTED (4003)

Description

An unsupported RECFM value was found by OFASM during OPEN.

Action

It may be a specification not supported by OFASM. Contact TmaxSoft Technical Support.

DD NOT FOUND IN SVC [NUMBER]. DDNAME([STRING]) (4005)

Description

The DD pointed to by the specified DDNAME could not be found while executing the target SVC.

Action

Check whether the target DDNAME is correctly specified in the JCL.

DSIO ERROR IN SVC [NUMBER]. DSIO([NUMBER]), DDNAME([STRING]), DSNAME([STRING]), ERRCODE([NUMBER]) (4006)

Description

An error occurred while executing SVC[NUMBER].

Action

This is an OpenFrame error that occurred for the dataset pointed to by [DDNAME] or [DSNAME]. Refer to the OpenFrame error codes for detailed information.

DATASET IS CLOSED WITH LOCK ERROR IN SVC 19. DDNAME([STRING]), DSNAME([STRING]) (4007)

Description

The dataset pointed to by DDNAME/DSNAME was CLOSE in a LOCK state.

Action

Check whether the dataset pointed to by DDNAME/DSNAME is in a LOCK state. If it is, release the LOCK and try OPEN again.

NOT SUPPORT VSAM TYPE IN INIT ([NUMBER]) (4008)

Description

Unsupported VSAM dataset.

Action

Check whether the VSAM dataset is in the correct format.

dsio_batch_write() ERROR. DDNAME([STRING]), HANDLE([NUMBER]), ERRCODE([NUMBER]) (4009)

Description

An error occurred in the PUT macro.

Action

Refer to OpenFrame error codes for the ERRCODE.

dsio_batch_read2() ERROR. DDNAME([STRING]), HANDLE([NUMBER]), ERRCODE([NUMBER]) (4010)

Description

An error occurred in the GET macro.

Action

Refer to OpenFrame error codes for the ERRCODE.

LRECL IS NOT SPECIFIED IN DCB OR IN CATALOG (4011)

Description

The record length is not specified anywhere in the assembler code, JCL, or catalog information.

Action

Check whether the record length is correct for the dataset referenced by DCB.

INVALID ACCESS MODE ERROR IN SVC 19. DDNAME([STRING]), DSNAME([STRING]) (4013)

Description

This access mode is not supported by OPEN (SVC19).

Action

Check whether the OPEN mode is correct. For unsupported specifications, contact TmaxSoft Technical Support.

I/O SIZE NOT SET WHILE WRITING PS DATASET (4014)

Description

No length specified when performing WRITE to the PS dataset.

Action

Check whether the length is specified correctly for WRITE on a DSORG=PS dataset.

NOT SUPPORTED TYPE FOR WRITE: ([NUMBER]) (4016)

Description

Unsupported WRITE macro option.

Action

Unsupported option used with the WRITE macro. For more information, contact TmaxSoft Technical Support.

I/O REQUEST SIZE FOR DA DATASET IS NOT EQUAL TO BLKSIZE (4017)

Description

The LRECL size is not equal to the BLKSIZE during READ/WRITE of a DSORG=DA dataset.

Action

Check whether the LRECL value and BLKSIZE of the DSORG=DA dataset are the same.

dsio_batch_write() ERROR IN WRITE. DDNAME([STRING]), HANDLE([NUMBER]), ERRCODE([NUMBER]) (4018)

Description

An error occurred in the WRITE macro.

Action

Refer to OpenFrame error codes for the ERRCODE.

WRITE: PO DATASET I/O REQUEST SIZE MUST BE MULTIPLES OF LRECL (I/O REQUEST SIZE = N*LRECL) (4019)

Description

The BLKSIZE of the PO dataset is not an integer multiple of the LRECL.

Action

Adjust the BLKSIZE to be an integer multiple of the LRECL.

dsio_batch_read2() ERROR IN READ. DDNAME([STRING]), HANDLE([NUMBER]), ERRCODE([NUMBER]) (4020)

Description

An error occurred in the READ macro.

Action

Refer to OpenFrame error codes for the ERRCODE.

DATASET READ EOF. DDNAME([STRING]) (4021)

Description

EOF was read in the READ macro, but the EODAD routine is not defined.

Action

Specify the EODAD routine, detect EOF using the CHECK macro, or ignore it.

NOT SUPPORT I/O OPERATION (4025)

Description

Unsupported I/O operation.

Action

This occurs when the target dataset does not support the macro.

KEY IS NOT SPECIFIED IN DELETE OPERATION. (4026)

Description

The KEY value was omitted in a record deletion request for a VSAM KSDS dataset using the ERASE macro.

Action

Check the KEY value used in the ERASE macro.

THE LAST I/O STATEMENT WAS NOT A READ STATEMENT. (4027)

Description

A record deletion request using the ERASE macro was made, but the previous I/O request was not a GET.

Action

When using the ERASE macro, a GET must be executed first. Verify that the logic is correct.

DELETE OPERATION IS NOT ALLOWED. (4028)

Description

The target VSAM for the ERASE macro is opened in OUTPUT mode.

Action

The target VSAM for the ERASE macro must be opened in IN mode. Check the OPEN mode of the target ACB.

INVALID TARGET DSORG.DDNAME([STRING]), [STRING] (4029)

Description

The DSORG of the dataset for the SETL macro is not defined as IS.

Action

Set the DSORG of the dataset for the SETL macro to IS.

SETL OPTION IS NOT SUPPORTED: [HEX] (4030)

Description

Unsupported SETL option.

Action

Contact TmaxSoft Technical Support.

NOT SUPPORT MACRF FLAG ([HEX]). DDNAME([STRING]) (4031)

Description

Unsupported MACRF option for the DD.

Action

Contact TmaxSoft Technical Support.

INVALID KEY. DDNAME([STRING]), ERRCODE([NUMBER]). (4032)

Description

Unable to find the record corresponding to the input KEY value during ISAM READ.

Action

Check whether the requested KEY value exists in the dataset.

NOT SUPPORTED FEATURE RECOGNIZED IN DATASET I/O. [MESSAGE] (4033)

Description

[MESSAGE] is not supported.

Action

This is unsupported dataset I/O option. For more information, contact TmaxSoft Technical Support.

BLKSIZE MUST BE EQUAL TO MULTIPLES OF LRECL. DDNAME([STRING]) (4034)

Description

The BLKSIZE of the dataset corresponding to [DDNAME] is not a multiple of LRECL.

Action

This can occur during READ/WRITE operations for ISAM datasets. Adjust BLKSIZE to be a multiple of LRECL.

TRYING TO OPEN DATASET AGAIN. DDNAME([STRING]) IS ALREADY OPENED. (4035)

Description

An attempt is being made to open a dataset that is already open. The second attempt will be ignored.

Action

This is a duplicate attempt to open the same dataset. Verify if it is intended.

FAILED GETTING DCB INFO WITH ERRCODE([NUMBER]) (4036)

Description

Unable to retrieve RECFM and DSORG information from the NVSAM file.

Action

Check whether the NVSAM file is correctly defined.

NOT SUPPORTED RECFM ([DSNAME]:[RECFM]) (4037)

Description

The RECFM catalog information of the NVSAM file was retrieved from RDJCFB, but it is not supported in OFASM.

Action

This RECFM is supported in OpenFrame, but not in OFASM. Contact TmaxSoft Technical Support.

NOT SUPPORTED DSORG ([DSNAME]:[DSORG]) (4038)

Description

The DSORG catalog information of the NVSAM file was retrieved, but it is not supported by OFASM.

Action

This DSORG is supported in OpenFrame, but not in OFASM. Contact TmaxSoft Technical Support.

BAD REQUEST WHEN FETCHING DISP INFORMATION (4039)

Description

Failed to retrieve the DISP information of dataset from RDJCFB.

Action

Check whether the target dataset in RDJFCB is correct.

INPUT RECORD LENGTH FOR V RECFM MUST BE GREATER THAN 4. CURRENT: [LENGTH] (4040)

Description

This error occurs when the RDW value is less than 4 during a PUT operation for a variable-length record.

Action

When using the PUT macro for variable-length records, the RDW value must be greater than 4. Check the value.

LERAD NOT DEFINED WITH ERRCODE([NUMBER]). (4500)

Description

A logical error occurred during VSAM I/O processing, but the error was ignored because the LERAD routine was not defined.

Action

Define a LERAD routine using the EXLST macro.

SYNAD NOT DEFINED WITH ERRCODE([NUMBER]). (4501)

Description

A system error occurred during VSAM I/O processing, but the error was ignored because the SYNAD routine was not defined.

Action

Define the SYNAD routine using the EXLST macro.

VSAM I/O ERR OCCURED WITH ERRCODE([NUMBER]). (4502)

Description

An unclassified error occurred during VSAM I/O processing.

Action

Refer to the OpenFrame error codes.