Your error is the following and this might help you to determine where it is (I didn't know you could use BPXWDYN to write to tape) and if it can, where are you specifying the volume, do you have permission (ESM) to mount and write to tapes?
Meaning: Specified volume or an acceptable volume is not mounted, and user does not have volume mounting authorization through the DYNALLOC request. (dsname allocation).
Application programmer action: Change volume specification, or have the required volume mounted, or change the allocation request to allow volume mounting. Resubmit the request.
Some possible reasons for this error are:
- The dynamic allocation tried to use a VIO-eligible unit, but the data set name was not a temporary dsname (DSN=&&dsname).
- The dynamic allocation tried to put a data set with a non-temporary dsname (DSN=dsname) onto a real DASD volume but
- No volume serial number was supplied, and
- No volumes on the system were mounted with a USE attribute of STORAGE.
------------------------------
Sebastian Welton
------------------------------
Original Message:
Sent: Mon February 10, 2025 02:50 AM
From: Ruben Crespo Lorente
Subject: Issue on ZFILE.BPXBDYN command to allocate a type file
Hi Tommy,
Do you have checked that? https://www.ibm.com/support/pages/apar/PI73764
------------------------------
===
Ruben Crespo Lorente
Mainframe Specialist at BBVA Technology
===
Original Message:
Sent: Fri February 07, 2025 12:33 PM
From: Tommy Zhu
Subject: Issue on ZFILE.BPXBDYN command to allocate a type file
I got 0x218 error when I tried to use java to dynamic allocate this type file. I have no problem use JCL to allocate. so the UNIT and DSN are correct.
tape file cmd:alloc fi(TESTINPT) da('xxx.xxxx.xxxx.BKUP(0)') unit(tapxx) shr msg(2)
BPXWDYN failed; S99ERROR/S99INFO = 0x218/0x0 RC=35127296 (0x2180000)
Could some experts help me?
------------------------------
Tommy Zhu
------------------------------