Length option in CICS



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Length option in CICS

Postby gauthamnagpur18 » Tue Apr 22, 2014 3:51 pm

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
gauthamnagpur18
 
Posts: 93
Joined: Sat Oct 23, 2010 1:28 pm
Location: Chennai, India
Has thanked: 3 times
Been thanked: 2 times

Re: Length option in CICS

 

Re: Length option in CICS

Postby Robert Sample » Tue Apr 22, 2014 5:54 pm

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.
Robert Sample
Global moderator
 
Posts: 3123
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 182 times

Re: Length option in CICS

Postby gauthamnagpur18 » Tue Apr 22, 2014 6:13 pm

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
gauthamnagpur18
 
Posts: 93
Joined: Sat Oct 23, 2010 1:28 pm
Location: Chennai, India
Has thanked: 3 times
Been thanked: 2 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post