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 

How to enlarge page limitation ?

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


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Thu Dec 22, 2005 4:11 am    Post subject: How to enlarge page limitation ? Reply with quote

CREATE TABLE DBSSMSHR."ADCP_#ITT_UPF_R"
(CTRYNUM CHAR(3) FOR SBCS DATA NOT NULL ,
ACTION_CODE CHAR(6) FOR SBCS DATA NOT NULL ,
IUPF_START_YR CHAR(4) FOR SBCS DATA NOT NULL ,
IUPF_START_MTH CHAR(522) FOR SBCS DATA NOT NULL ,
.....

get the following error message:

[url]DSNT408I SQLCODE = -670, ERROR: THE RECORD LENGTH OF THE TABLE EXCEEDS THE PAGE SIZE LIMIT
DSNT418I SQLSTATE = 54010 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXICB3 SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 270 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'0000010E' X'00000000' X'00000000' X'FFFFFFFF' X'00
INFORMATION [/url]

How can I enlarge page limitation?
_________________
cheers,
Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Dec 22, 2005 8:36 am    Post subject: Reply with quote

Andy,

Did you look up the sqlcode of -670 ?

Check this link for a detailed explanation of -670

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNMCH11/2.1.6.307?SHELF=&DT=20010718150520&CASE=

Hope this helps...

Cheers

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


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Thu Dec 22, 2005 8:59 am    Post subject: Reply with quote

CREATE TABLE DBSSMSHR."ADCP_#ITT_UPF_R"
(CTRYNUM CHAR(3) FOR SBCS DATA NOT NULL ,
ACTION_CODE CHAR(6) FOR SBCS DATA NOT NULL ,
IUPF_START_YR CHAR(4) FOR SBCS DATA NOT NULL ,
IUPF_START_MTH CHAR(522) FOR SBCS DATA NOT NULL ,


I doubt, can we have more than 255 bytes in CHAR data type? I guess the column IUPF_START_MTH should be defined as VARCHAR data type to accommodate 522 bytes. What do you think?
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Sat Dec 24, 2005 11:22 am    Post subject: Reply with quote

create a tablespace with large page size first (using 8k/16k/32k bufferpool)
then create your table in that tablespace
Back to top
View user's profile Send private message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Sat Dec 31, 2005 11:41 pm    Post subject: Reply with quote

Hello videlord,

Thank you for your idea. This is correct way.
_________________
cheers,
Andy
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 -> Database 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