Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to delete large data.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Mounika Nemani

New User


Joined: 25 May 2018
Posts: 4
Location: India

PostPosted: Wed Jun 13, 2018 1:58 pm    Post subject: How to delete large data.
Reply with quote

Hi All,

I tried to run a delete query in SPUFI.

Code:
DELETE                               
FROM     HIST_QUANTITY         
WHERE    TERMINAL_ID = 'SPRLOD' 


the above query was suppose to delete 1574180 rows from the table.

but I am getting a -904 error with the following reason.
Code:
SQLCODE = -904, ERROR:  UNSUCCESSFUL EXECUTION CAUSED BY AN         
UNAVAILABLE RESOURCE. REASON 00C90096, TYPE OF RESOURCE 00000302, AND
RESOURCE NAME TCPUD1PK.PK000070.X'00004E8A'


need help on how to increase the page locks. or is there any optimization needed for the query to be executed so, that the table doesn't throw -904.

Thanks in Advance
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2020
Location: UK

PostPosted: Wed Jun 13, 2018 3:49 pm    Post subject: Reply to: How to delete large data.
Reply with quote

The table did not 'throw' anything. Nothing gets thrown on the mainframe. Your query abended.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Ways to share data between Cobol and ... Benchwarmer Java & MQSeries 3 Thu May 10, 2018 9:16 pm
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 10 Thu Apr 12, 2018 11:33 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 4 Thu Mar 08, 2018 12:38 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us