1These patches and supplemental programs should allow porting to MVS or MVS/XA 2in an EBCDIC envrionment, using SAS C V4.00C. 3 4Included are: 5 -rw-r--r-- 1 swl26 1573 Jul 17 14:32 README 6 -rw-rw-r-- 1 swl26 20861 Jul 17 13:41 diffs 7 -rw-rw-r-- 1 swl26 5022 Jul 17 14:00 fixit.l 8 -rw-rw-r-- 1 swl26 97644 Jul 17 13:42 initscan.mvs.c 9 -rw-rw-r-- 1 swl26 4898 Jul 17 14:08 unfixit.l 10 11The file "diffs" contains context diffs for changes to flex 2.3. 12 13The file "fixit.l" contains flex sources for a program to shorten external 14variable and function names to 8 characters or less. This is required for the 15"dumb" compiler linker used. 16 17The file "unfixit.l" reverses the changes in "fixit.l", to restore long names. 18This is useful when trying to build diff files as created here. 19 20The file "initscan.mvs.c" is an already "flexed" version of scan.l, in an 21EBCDIC environment. 22 23To install in an MVS environment, use patch to apply the diffs to flex 2.3, 24then run "fixit" on all .c, .h, .l, .y, and .skel files. Move the files 25to the MVS machine, and compile each of the .c files. (You will need a 26"yacc" functional equivalent under MVS to expand parse.y in that 27environment.) Link together, and the resulting flex should be ready to 28go. To test, run the MVSflex -is8 -Ce on the scan.l, and you should get 29back a file which is identical to initscan.mvs.c. 30 31Enjoy. 32 33Steven W. Layten 34Senior Engineer 35Chemical Abstracts Service 36PO Box 3012 372540 Olentangy River Road 38Columbus, Ohio 43210 39 40+1 614 421 3600 extension 3451 41 42INET: swl26%cas.BITNET@CUNYVM.CUNY.Edu 43UUCP: osu-cis!chemabs!swl26 44BITNET: swl26@cas.bitnet 45