CASD203E WRONG LENGTH RECORD trying to sort an archive journal
search cancel

CASD203E WRONG LENGTH RECORD trying to sort an archive journal

book

Article ID: 22448

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

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

Environment

Release: All supported releases.

Cause

For some SORT packages, the SORT FIELDS= parameter alone is not sufficient.

Resolution

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.