gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] mvs cobol namespace


From: Keisuke Nishida
Subject: Re: [open-cobol-list] mvs cobol namespace
Date: Wed Feb 4 21:57:03 2004
User-agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 4 Feb 2004 17:48:26 -0600,
William M. Klein wrote:
> 
> the characters
>    @ # $
> may be used in program names.  However, this is because  these (called
> "national characters" in IBM-ese) are VALID in "file names" (and therefore
> load module names).

Well, these characters may be used as file names on Linux as well,
but some of these are not valid in C.  So, maybe we should encode
them in the C level as follows?

  "address@hidden"  ->  "A$40B"
  "A#B"  ->  "A$23B"
  "A$B"  ->  "A$24B"
  "A-B"  ->  "A$2DB"
  "A_B"      no change

Also, program names that begins with digits are not valid in C.
We need to encode them as well:

  "12A"  ->  $312A

Keisuke


reply via email to

[Prev in Thread] Current Thread [Next in Thread]