View previous topic :: View next topic |
Author |
Message |
rubenprakash Beginner
Joined: 03 Nov 2006 Posts: 6 Topics: 2 Location: India
|
Posted: Thu Nov 30, 2006 1:57 am Post subject: DL/I program with ABEND U0260 |
|
|
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 |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Nov 30, 2006 10:15 am Post subject: |
|
|
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 |
|
|
rubenprakash Beginner
Joined: 03 Nov 2006 Posts: 6 Topics: 2 Location: India
|
Posted: Thu Nov 30, 2006 11:10 am Post subject: |
|
|
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 |
|
|
|
|