View previous topic :: View next topic
|
Author |
Message |
rajatbagga
Active User
Joined: 11 Mar 2007 Posts: 199 Location: india
|
|
|
|
Hello,
Would like to know if there is any restriction in creating the number of columns using TBCREATE.
I am using the below code in REXX
Code: |
"ISPEXEC TBCREATE ENTRY KEYS(DATEKEY TIMEKEY)
NAMES(EDATE ADATE REFNO UID AID DDESC DDESC1 DDESC2 DDESC3
DDESC4 DDESC5 DDESC6 DDESC7 DDESC8 DDESC9 DDESC10 DDESC11
DDESC12 DDESC13 DDESC14 DDESC15 DDESC16 DDESC17 DDESC18
DDESC19 DDESC20 DDESC21 DDESC22 DDESC23 DDESC24 DDESC2
DDESC26 DDESC27 DDESC28 DDESC29 DDESC30)
WRITE LIBRARY(ENTRY)"
|
Giving me an error :-
Code: |
IRX0030I Error running LOGTST, line 24: Name or string > 250 characters |
Please assist.
Thank you,
Rajat |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
there is no restriction on the number of columns ( apart those set by db2 )
You just need to use the right rexx syntax when defining/using a string
( read the manual about it, especially the section about CONTINUING a line )
anyway the message is misleading
it is right that a name/identifier cannot be longer than 250 chars
not the same for a string , I used strings up to 32k ! |
|
Back to top |
|
|
|