MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASRA Abend

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Tue Jun 20, 2006 10:50 am    Post subject: ASRA Abend Reply with quote

Hi,

I am facing an online ASRA abend in the code below.

PERFORM A000-CALC-LEN THRU
A000-CALC-LEN-EXIT

If I XPED, the message thrown just before the abend is INVALID VALUE IN OCCURS DEPENDING ON FIELD and then it abends in the code below.

CALL 'ZZZZZADR' USING AAAWK0, K7777W-I07-COMMAREA.
CALL 'ZZZZZADR' USING AAAWK1, END-OF-I07-COMM.

The only change I made in the I07 copybook was as follows:

25 X-PMT-CELLS.
30 B-CELLS PIC S9(03) COMP-3.

30 WS-A OCCURS 422 TIMES. ----commented out

30 WS-A OCCURS 0 TO 422 TIMES
DEPENDING ON B-CELLS.

35.....
35.....

Any help is appreciated.
_________________
Cheers!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Tue Jun 20, 2006 11:00 am    Post subject: Reply with quote

abracadabra,

Make sure that you initialize the B-cells value to the max occurance you want. Also check if the table has overflowed.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Sun Jun 25, 2006 11:50 pm    Post subject: Reply with quote

Thanks Kolusu. It worked
_________________
Cheers!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group