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