On Wed, 30 Dec 2009 16:19:25 -0500, Shmuel Metz (Seymour J.) wrote: >In <[email protected]>, on >12/27/2009 > at 08:56 AM, Sam Siegel said: > >>A C/C++ program will recieve parms as passed (subject to the >>PLIST(OS|HOST) setting) and will not change the case of the passed >>parameters. > >What about argv[0]? The OP poster wrote > > The C/C++ Language Reference on p. 207 says "Under z/OS batch . > argv[0] Returns the program name in uppercase > >which, if true, is disastrous, since Unix file names are case dependent; >.\foo and .\Foo are different programs. > If by z/OS batch it refers to "// EXEC PGM=program-name", it must be in upper case: I believe (not testing) that JCL won't even permit quoting the name, and "in uppercase" should be regarded as noise words.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

