× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: S/36 F-spec allowed dotted names? was: EXTNAME questions...
  • From: "Dan Bale" <dbale@xxxxxxxxxxx>
  • Date: Tue, 2 Nov 1999 13:19:14 -0500



Doug,

>> Barbara mentioned the fix for EXTNAME that Brad mentions.  Wierd that
>> Hans & company would allow a dotted file name for that but not for
>> F-spec filenames.  I agree that it would make sense to allow any
>> legitimate AS/400 object name to be used on the F-spec.

> I disagree.  The ExtName() should not need to adhere to the language's
> symbolic name restrictions, and I agree a fix was in order for it.  To
> me this is like being able to specify quoted external names in mixed
> case when necessary.  But although you need to be able to resolve an
> external name to the right object, that does not necessarily mean the
> internal symbolic name has to allow the same naming conventions.

Uh, what did you disagree on?  The second sentence or the third?  I'm guessing
the third, so...  I'm not really questioning the reason why ExtName() allows any
valid AS/400 object name as much as I'm wondering why RPG still has restrictions
on the F-spec file name.  If I've got a file named Q#_.$@A (a legit name), why
shouldn't RPG-IV recognize this as a valid file name?  After all, RPG-IV was
expanded to allow 10-character file names.  It's not like we're talking
portability issues here.

BTW everybody, I am _not_ complaining here about RPG F-spec restrictions on the
file name.  I would never use dots or underscores to name an AS/400 file object.
But why would RPG-IV, which will never see the light of day on another platform,
be more restrictive than the OS on file names?

- Dan Bale





+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.