> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Thompson, Steve > Sent: Monday, January 04, 2010 2:29 PM > To: [email protected] > Subject: Regina REXX under W/XP > > I am attempting to solve a problem I have with some special files that > get used to drive some work under z/OS. > > So I thought the best thing to do is write the REXX code to run under > Windows. So when I execute the code, REXX comes back and says: > > Error 13 running "fully qualified path and file name", line 1: Invalid > character in program > > Error 13.1 Invalid character in program "('ff'X)" > > [Where "fully qualified path and file name" is the actual fully > qualified Window's file name] > > I can not find any doc for "Error 13" (I have the manual for > Regina REXX > printed and as a PDF). And I'm not seeing any odd characters in this > file (editing it with NOTEPAD). > > Can anyone give me a clue as to where these errors are > documented (I've > been to sourceforge, no joy. No joy with > http://www.rexxla.org/ either). > > Even better, what would cause this to think there is an X'FF' byte in > this record (the following is actually the first several records)? <snip> > Regards, > > Steve Thompson
Any chance that the file is UTF? If so, it might have a BOM (Byte Order Mark) as the first two (or 4) bytes of the file. The BOM is 'FFFE'x for a UTF-16 "little endian" UTF file. A BOM of 'FE0000'x is for UTF-32 "Little Endian" files. Windows is "Little Endian". IIRC, normal Windows programs know to look for and ignore BOMs. http://unicode.org/faq/utf_bom.html#BOM -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- 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

