Using KSAM XL has the intrinsics.
> -----Original Message-----
> From: Boris Kortiak [mailto:[log in to unmask]]
> Sent: Monday, October 25, 1999 10:52 AM
> To: [log in to unmask]
> Subject: Re: COBOL implementor defined FILE STATUS
>
>
> Dave,
>
> Which book would have the description of the API for CKERROR?
>
> >>> David Gale <[log in to unmask]> 10/25/99 11:09AM >>>
> Boris,
>
> The 9 in the first byte means the second byte is an integer
> representing a
> FSERR. The nicest way (IIRC) is to call CKERROR (I know it's
> not a CM ksam
> call, but this hook works for these errors) and it will
> return the integer
> into a 4 character numeric field.
> <snip>
>