AMBU2010
Unable to allocate to the data definition name %s, the file %s, RC=%d (%.8X hex).

Explanation

Dynamic allocation or concatenation failed for the specified data definition name (DDname) and the specified file. The file can be either a path name or a data set name. This error can be caused by incorrect spelling or formatting of the file name. This messages is usually preceded by an IKJ-prefixed message from dynamic allocation.

If the file is a data set, it must be preceded by the characters. Unless single quotation marks surround the name, the data set name will be prefixed by the login userid.

When entering a data set name in the shell, it might be necessary to use escape characters (such as double quotation marks) surrounding the whole name. An example of an MVS™ data set specification is:
"//'sys1.linklib'"

User response

According to the preceding IKJ-prefixed messages, enter the amblist command with the correctly specified file.
  • If there are no IKJ-prefixed messages or the reason is not obvious, decode the dynamic allocation return code shown in this message both in decimal and hexadecimal.
  • Otherwise, decode the hexadecimal return code into the dynamic allocation error reason code and information reason code, and see the reason code information in z/OS MVS Programming: Authorized Assembler Services Guide.

To decode the return code shown in this message, see the Return Codes section in the BPXWDYN chapter in z/OS Using REXX and z/OS UNIX System Services.

Export the environment variable _BPKX_JOBLOG to ensure that all messages, including those from the binder, are written. For example:
export _BPXK_JOBLOG=2

Source

AMBLIST

Module

HMBUCMD