Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

[Solved]Easytrieve error A046 and an internal SQL error 9048

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
kitts

New User


Joined: 29 Jan 2006
Posts: 19

PostPosted: Tue Apr 03, 2007 1:51 pm    Post subject: Easytrieve error A046 and an internal SQL error 9048
Reply with quote

Hi,

I am facing a problem with a job which executes an Easytrieve program and it is trying to open a cursor which is failing with an error A046 and an internal SQL error 9048.

Can anyone help me with it.
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Apr 03, 2007 3:18 pm    Post subject:
Reply with quote

Hi there,

Would u please paste the code as well as spool message
Back to top
View user's profile Send private message
kitts

New User


Joined: 29 Jan 2006
Posts: 19

PostPosted: Tue Apr 03, 2007 3:55 pm    Post subject:
Reply with quote

Hi Ekta,

Below is the code:

320 SQL OPEN HAKOM
321 DO UNTIL SQLCODE NE 0

And here is the spool message.
for the job


320 *******A046 SQL - INTRNL ERR 9048
*******A014 PREMATURE TERMINATION DUE TO PREVIOUS ERROR(S)

Hope this helps you and in turn me!
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Apr 03, 2007 6:02 pm    Post subject:
Reply with quote

Hi there,

Have u define the cursor HAKOM befor opning this?
Back to top
View user's profile Send private message
kitts

New User


Joined: 29 Jan 2006
Posts: 19

PostPosted: Tue Apr 03, 2007 6:29 pm    Post subject:
Reply with quote

I have defined it earlier.

It was working fine till today and suddenly there happened some problem and the DBA has confirmed that there is no problem with the tables on which the cursor was defined.
Back to top
View user's profile Send private message
gbkyadav

New User


Joined: 05 May 2005
Posts: 3

PostPosted: Wed May 23, 2007 5:28 am    Post subject:
Reply with quote

I am also having similar error. If anyone has a solution, pls share
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed May 23, 2007 6:51 am    Post subject:
Reply with quote

Sorry, Ekta has quit chasing the problem and kitts is no longer concerned....
I'll look into it in the (my) morning....
In the mean time, feel free to post any additional information you can provide.
Back to top
View user's profile Send private message
gbkyadav

New User


Joined: 05 May 2005
Posts: 3

PostPosted: Fri May 25, 2007 5:13 am    Post subject:
Reply with quote

William, Dir you get through this?
It is failing while opening a cursor. We dont have any sqlcode's returned other than the error.
Back to top
View user's profile Send private message
kitts

New User


Joined: 29 Jan 2006
Posts: 19

PostPosted: Wed May 30, 2007 9:22 am    Post subject:
Reply with quote

Sorry William, I wasnt concerned as I was able to later find out the problem with the code, it was due to overflow of the internal arrays defined.

For gbkyadav my only advice would be to check if the array size is reached if you are receiving similar error.
Back to top
View user's profile Send private message
petwir

New User


Joined: 09 Jul 2007
Posts: 1
Location: Salem Oregon

PostPosted: Sat Feb 20, 2010 2:46 am    Post subject: Solved it for me!
Reply with quote

Had the same problem here on 02/19/2010, and ours was also caused by an overflow'd table. This thread helped me to diagnose it very quickly.

Thanks! Pete icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 22, 2010 4:51 pm    Post subject:
Reply with quote

Glad to hear and nice to know that people are searching before posting now...icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us