UNLOAD gets DB002263 and DB002252 on SYS002.
UT003020 AREA SWEEP FOR DDLDML IS 0 % COMPLETE
Status = -4 SQLSTATE = 5000B Messages follow:
DB002263 C-4M352: Wrong Length Record. DDname SYS002 - BLKSIZE=7200 LRECL=432
DB002252 C-4M352: Function WRITE DDname SYS002 - I/O error 53
Release : All supported releases.
Component : CA IDMS
The most common cause of this error is including an LRECL on the DCB for SYS002.
Remove the LRECL. It shouldn't be there.
This is documented at Sample UNLOAD JCL.