Page 1 of 1

Length option in CICS

PostPosted: Tue Apr 22, 2014 3:51 pm
by gauthamnagpur18
Hi,

To understand Length option in CICS , I increased the length of VSAM cluster from 5000(existing)to 20000.

But in program , length of the record is defined as 5000.

When i tried to read the record with 5000 record length, program didnt abend .

Actually it should abend as VSAM cluster length is 20000.

Any clues why it is not abending ?

I used SET option during read .

Read syntax which i used:

EXEC CICS READ
DATASET(XYZ)
SET(ADDRESS OF SET-XYZ-REC)
RIDFLD(K-XYZ-KEY)
KEYLENGTH(K-XYZ-KEY-LENGTH)
LENGTH(K-XYZ-REC-LENGTH)
END-EXEC.

K-XYZ-REC-LENGTH is 5000

Thanks,
Gautham

Re: Length option in CICS

PostPosted: Tue Apr 22, 2014 5:54 pm
by Robert Sample
What ABEND did you expect? I would have thought you'd get a length error in EIBRESP on the READ -- which is NOT an ABEND.

Re: Length option in CICS

PostPosted: Tue Apr 22, 2014 6:13 pm
by gauthamnagpur18
Hi Robert Sample ,

You were correct .I was expecting length error in EIBRESP on the READ.

Ya, it is not an abend .

But i didnt get length error .

Thanks,
Gautham