When trying to run a ROLLBACK with ROLLBACK3490, it is possible to get an error message from the sort utility such as:
CASD203E WRONG LENGTH RECORD 00000
Release: All supported releases.
For some SORT packages, the SORT FIELDS= parameter alone is not sufficient.
The IDMS Utilities manual, in the section on ROLLBACK, indicates that when using the ROLLBACK3490 option, the archive journal must first be sorted with the following input parameter:
SORT FIELDS=(13,16,BI,D)
This may not be specific enough. For some sort utilities, it may be necessary to add this:
SORT FIELDS=(13,16,BI,D)
RECORD TYPE=F,LENGTH=32000
INPFIL BLKSIZE=32000
OUTFIL BLKSIZE=32000
In the above example, 32000 is the blocksize of the archive journal file.