[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

574.0. "Is 256 still the ND limit?" by IRONIC::MINTZ (Mall Rat) Sun Apr 26 1992 19:35

    Quick question...
    
    Is the limit of 256 characters on the total length of one named data
    entry still true in V3.0?  
    
    Thanks in advance for your help.
    
    Audrey
T.RTitleUserPersonal
Name
DateLines
574.1I don't think so, but...WPOPTH::BEESONDown Under in the bottom left cornerMon Apr 27 1992 03:2950
    Audrey, hi,
    
    I'm just a humble programmer, by no means a guru, my comments come from
    an empirical understanding so if someone else wishes to correct me I
    hope they do.
    
    I believe that there is no unreasonable limit to the length of a named
    data segment as long as no individual line exceeds 80 characters. There
    is a limit to the size of the string passed to a /PRE_FUNCTION or
    /POST_FUNCTION qualifier. To get around this I use code like that in
    the following segment:
    
    ----------------------------------------------------------------------------
	;;.TYPE;;

	ARG
	/OVERLAY
	/PRE='XOP "~~PRE_FUNCTION~~"' 
	/POST='XOP "~~POST_FUNCTION~~"' 
	/HARD=OA$_TM_HRD_ENTER_ATTENDEE 
 
	;;~~PRE_FUNCTION~~;; 
 
	DECIMAL I \ 
	GET LOG$SCROLL = "" \ 
	FOR SCROLL DO WRITE DELETE SCROLL NUMBER = .NUMBER \ 
	.IF #FREESCAN_EDIT NES "" 
	 THEN FOR CAL$SCROLL_ATTENDEES 
	       DO WRITE ADD SCROLL NUMBER=.NUMBER, TEXT=.TEXT 
	 
	;;~~POST_FUNCTION~~;; 
 
	IFEXIT \ 
	FOR CAL$SCROLL_ATTENDEES 
	 DO WRITE DELETE FREESCAN$ATTENDEES NUMBER=.NUMBER \
	 COMPUTE #KEY = 1 \
	 FOR SCROLL
	  DO GET #USER=.TEXT:30 \\
	     .IF PROFIL.USER[#USER] NES ""
	      THEN WRITE ADD CAL$SCROLL_ATTENDEES NUMBER=#KEY, TEXT=#USER
	      ELSE FOR GROUP$:#USER
	            DO WRITE ADD CAL$SCROLL_ATTENDEES NUMBER=#KEY,
                                           TEXT=PROFIL:VMSUSR.USER[.VMSUSR] \\
	           .IF #USER NES "" THEN COMPUTE #KEY = #KEY + 1
    ---------------------------------------------------------------------------
    
    Note the ;;~~POST_FUNCTION~~;; code is longer than 256 characters.
    
    regards,
    ajb
574.2Only a superficial limitationSHALOT::NICODEMWho told you I'm paranoid???Mon Apr 27 1992 15:1316
	.1 is correct; there are only two restrictions to keep in mind.

	o  The length of a single Data element in Named Data is controlled by
FMS, not ALL-IN-1, and is one 80-character line.  This is the reason ALL-IN-1
created "overflow" lines in the first place, however, so the "restriction" is
purely a "readability" one.

	o  Literal character strings that need to be passed through internal
string routines are often ASCIC strings, meaning that their "count" cannot
exceed 255 characters.  Hence the limitation on some of the literals mentioned
in .1.  However, as any good programmer knows, if the only restriction on
something like a /PRE or /POST is the length of the string, you can always get
around that by either using the XOP function within the same Named Data, or
executing a script using the DO function.

	F
574.3Tie me up!BRUMMY::MARTIN::BELLMartin Bell, TCC, Birmingham UKMon Apr 27 1992 16:2213
I too am interested in this limit.

Sometimes within named data you have to perform a complex BIND function, whose
RSE may be quite long.

Now does the 255 character limitation apply here too? I am using a BIND with
around 600 characters and it _appears_ to work. Some of the standard ALL-IN-1
code also has quite long BIND expressions.

Obviously you can't split an RSE into multiple XOPs!!!!!


mb
574.4Only qualifier strings are limited to 256SHALOT::WARFORDRichard Warford @OPA DTN 393-7495Mon Apr 27 1992 17:086
    The 256 limit applies only to the string that goes with a qualifier.
    So /POST, /PRE.... have limits. These can use an XOP as said a couple
    of times before. If it is not a qualifier string then there is a limit
    of 64K or so.... ie no real limit.
    
    Rick
574.564K is one big chunk of ND!BRUMMY::MARTIN::BELLMartin Bell, TCC, Birmingham UKMon Apr 27 1992 18:088
Rick,


	Thats great news, thanks for clarifying the limit,

	cheers,

	mb
574.6May be difficult to enter thoughWAYLND::HOWARDBen. It should do what people expect it to doTue Apr 28 1992 18:366
    There used to be an artificial limit on the number of named data items
    if you use the E ND option, due to a limit in the executable that
    converts the text to named data.  Is that still around; I know it was
    increased in a previous version.
    
    Ben
574.73000 lines?SIOG::T_REDMONDThoughts of an Idle MindWed Apr 29 1992 09:235
    I believe that the limit was raised a little higher in V3.0, probably
    due to the expansion in the named data on some of the EM/WP index
    forms.  I seem to recall seeing a figure of 3000 lines somewhere.
    
    Tony
574.8Correct - 3000 lines it is!IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeWed Apr 29 1992 09:490