Its something like

Static void installUdt(){

U_MAXFILENAME = random(254);

....


}

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Bill Haskett
Sent: 22 July 2011 18:52
To: U2 Users List
Subject: Re: [U2] udt dir file max key length

Really!  My machine looks like:

5 Dev (0)-> LIMIT
U_MAXFNAME:  File name limit =                       118.

Windows 2008 R2 and UD v7.2.7

If this isn't configurable, as Wally says, I wonder what accounts for 
the difference between our two environments?

Bill

------------------------------------------------------------------------
----- Original Message -----
*From:* [email protected]
*To:* 'U2 Users List' <[email protected]>
*Date:* 7/22/2011 9:13 AM
*Subject:* Re: [U2] udt dir file max key length
> Maybe you should go windows.... :)
>
> Even 6.0.12
> :LIMIT
> U_MAXFNAME:  File name limit =                       198
>
> Hth
> Colin Alfke
> Calgary, Canada
>
> -----Original Message-----
> From: Symeon Breen
>
> Thanks - ud just has DIR type files no type 1 or 19.
>
> We have got round it anyway...
>
> -----Original Message-----
> From: Robert Porter
>
> I did a little experimenting with UV under HP-UX as I was curious...
>
> I first tried a Type 19 file, and it worked fine.
> Then tried a Type 1, and it truncated the IDs.
>
> <SNIP>
> :LIMIT
> Current Limits are:
>
> PROGRAMSIZE: UNLIMITED
>
> As you can see, HP-UX has no issue with the long filenames, but UV did
when
> it was a Type 1 file. But Type 19 worked fine...
> Not sure if this helps or no considering the different platforms both on
the
> U@ and OS side, but I thought it was "interesting" none-the-less.
>
>
> Robert
>
>
>>>> "Symeon Breen" 7/22/2011 8:54 AM>>>
> Which is odd, as linux has the files in the directory no problem and i can
> work with those files using shell commands, awk, python and php.
>
>
>
> -----Original Message-----
> From: Martin Braid
>
> Hi Symeon, LIMIT is giving you the configured operating system limits.
> Linux is 255 bytes normally. Looks like you have an override. Martin
>
> -----Original Message-----
> From: Symeon Breen
>
> MORE -It is U_MAXFNAME that is stopping it.
>
> :LIMIT
> U_MAXFNAME:  Unix file name limit =                  46.
> U_NAMESZ:    Record id(key) size =                   126.
> U_SELEMAX:   Number of select list =                 10.
> U_MAXDATA:   Number of DATA statement =              500.
> U_HEADSZ:    HEADER/FOOTER length =                  2120.
> U_MAXHASHTYPES:     Number of hash functions =       3.
> U_MAXSORT:   Number of sort fields(BY...) in LIST =  20.
> U_MAXWITH:   WITH stack size =                       256.
> U_MAXWHEN:   WHEN stack size =                       60.
> U_MAXCAL:    Number of SUM+AVG+PCT+CAL in LIST =     54.
> U_MAXBREAK:  Number of BREAK.ON+BREAK.SUP in LIST =  15.
> U_MAXLIST:   Number of attribute names in LIST =     999.
> U_LINESZ:    Page width in printing =                272.
> U_PARASIZE:  Paragraph name and its parameter size = 256.
> U_LPCMD:     System spooler name =                   lp -c .
> U_MAXPROMPT: Number of prompts allowed in paragraph =      60.
> U_FSIZE:     Dictionary field name size =            31.
> U_MAXVALUE:  Number of values WHEN can handle =      10240.
> U_MAXBYEXPVAL:  Number of values BY.EXP can handle =      10240.
> U_SENTLEN:   Maximum sentence length =               9247.
> U_PROCBUFSZ:  Proc buffer size =                     8191.
> U_NIDES: Maximum number of virtual fields in query=  256.
>
> How can i change this - i see it sattes they are not configurable - 46
> Is pretty small tho ...
>
> -----Original Message-----
> From: Symeon Breen
>
> These are 54 characters long - no funny characters whatsoever
>
>
> Output of ls :-
>
> [symeon@advertisers UPLOAD]$ ls
> bentley-continental-gtc-convertible-petrol_3510704.jpg
> bentley-continental-gtc-convertible-petrol_3510705.jpg
> bentley-continental-gtc-convertible-petrol_3510719.jpg
> bentley-continental-gtc-convertible-petrol_3510723.jpg
> fileslist
> bentley-continental-gt-petrol_3510699.jpg
>
> Voc entry
> :CT VOC UPLOAD
> VOC:
>
> UPLOAD:
> DIR
> UPLOAD
> D_UPLOAD
>
>
> LIST UPLOAD 10:55:08 22 Jul 2011 1
> UPLOAD............................................
>
> Fileslist
> bentley-continental-gt-petrol_3510699.jpg
> 2 records listed
> Enter<CR>  to print non exist record ids
> bentley-continental-gtc-convertible-petrol_35107
> bentley-continental-gtc-convertible-petrol_35107
> bentley-continental-gtc-convertible-petrol_35107
> bentley-continental-gtc-convertible-petrol_35107
> :
>
>
>
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1390 / Virus Database: 1518/3781 - Release Date: 07/22/11

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to