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 

DL/I program with ABEND U0260

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
rubenprakash
Beginner


Joined: 03 Nov 2006
Posts: 6
Topics: 2
Location: India

PostPosted: Thu Nov 30, 2006 1:57 am    Post subject: DL/I program with ABEND U0260 Reply with quote

All,

I coded a simple IMS program which will read the database and writes to output file.

The function will be like,

Read DB in GN until EOF
if success
call a sub-routine to reformat the output
write the reformated records to O/p file
end
**

This logic worked fine for all the records when the SUB-routine was not there. When the subroutine is introduced it is issuing U0260. There was no code change other than introducing the call routine.

When I referred the QW i got 3 reasons for this.

1. o The number of parameters in the application program call to IMS
exceeded the allowable limit of 18 or is equal to 0.
2. o The checkpoint call was used and one of the following applies:
3. o The application program overlaid the DL/I function code so that the
first character was not alphanumeric. This causes the field to be
treated as a count field.

1 and 2 are invalid for my condition. But about 3 I am confused.

Because the program reads the DB successfully and reformats the data read from the DB, then writes also in the output file. When it tries for next call its having probelm. Issuing this abend. Any idea what will be the reason for this?
_________________
Regards, Ruben
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Nov 30, 2006 10:15 am    Post subject: Reply with quote

The variable that contains the GN literal has proabaly been overlaid. Look for a table overflow or database record area that is defined as smaller than the actual segment size.
Back to top
View user's profile Send private message
rubenprakash
Beginner


Joined: 03 Nov 2006
Posts: 6
Topics: 2
Location: India

PostPosted: Thu Nov 30, 2006 11:10 am    Post subject: Reply with quote

Bithead wrote:
The variable that contains the GN literal has proabaly been overlaid. Look for a table overflow or database record area that is defined as smaller than the actual segment size.


Thanks.

In the call subroutine there was mismatch in declaration. So it overlaid the function codes. After correcting that the abend rectified.
_________________
Regards, Ruben
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS 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