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 |
Hi, My Customer created "Entry-form" like follows. This Entry-form create Index file (logical name MY_FILE) at Remote node. He used "LOGICAL" function to specify filename and "CREATE" function to make Index file at remote node. The problem is that if he define LOGICAL name over 107 characters, "CREATE" function caused error. I tested this operation ALL-IN-1 V3.0 and VMS V5.5-2. The error also occurred at my system. Is there any restriction about logical name length in ALL-IN-1 ? I think logical name can define 255 characters at VMS operation. Thanks in advance, Atsushi Minakuchi (TSC/CSC Japan) (Entry form Named Data) ;;.TYPE;; ENTRY /MODE=(entry form mode) /HARD='Your Entry Form Title' ;;.FILE;; MY_FILE, FIELD_1 ;;FIELD_1;; /HARD="Description of field 1 (Key)" Check logical definition using "LOGICAL" function. <LOGICAL MY_FILE %OA-I-LASTLINE, TKTV25"MINAKUCHI xxxxxxxxxxxxxxxx"::[MINAKUCHI.WORK.WORK000 01.WORK00002.WORK00003]1234567890123456789012.DAT Create Index file at Remote node using "CREATE" function. <CREATE Entry_form_name %OA-E-DBEOR, Error opening NTT_TEST - File TKTV25"MINAKUCHI password"::[MIN AKUCHI.WORK.WORK00001.WORK00002.WORK00003] � -RMS-F-ESS, expanded string area too small
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2966.1 | BUSHIE::SETHI | Ahhhh (-: an upside down smile from OZ | Tue Jul 06 1993 08:50 | 20 | |
Hi Atsushi, >%OA-E-DBEOR, Error opening NTT_TEST - File TKTV25"MINAKUCHI password"::[MIN >AKUCHI.WORK.WORK00001.WORK00002.WORK00003] � >-RMS-F-ESS, expanded string area too small I think that the problem has been caused by the expanded string being too long ie TKTV25"MINAKUCHI password"etc. is far too long when the logical is translated. It's not an ALL-IN-1 restriction but an RMS or OpenVMS is my guess and has nothing to do with the length of the logical name in this case. I can't remember but there is a restriction on the logical name length within ALL-IN-1. I am sure that someone in IOSGland will come back with the full answer. Regards, Sunil | |||||
2966.2 | 100 is the nice round number | IOSG::CHINNICK | gone walkabout | Tue Jul 06 1993 10:58 | 18 |
Actually, this error is an RMS error which tells you that too small an ESA buffer has been provided. With RMS you specify in the NAM block the size and address of a buffer for the expanded string and possibly for the resultant string. These are used for $PARSE and $SEARCH operations to return the filespec and filename respectively. Some RMS operations such as $OPEN and $CREATE perform an implicit $PARSE and/or $SEARCH operation. In this case, the filename RMS is trying to return is larger than the ESA buffer. The OARMS code sets up a maximum buffer length of 100 so this is the limitation. Filenames can be up to 255 characters. So, I suggest submitting an SPR if this is a real problem for you. Otherwise, keep to less than 100 characters. Paul. |