On Thu, Feb 3, 2022 at 5:41 AM Colin Paice <[email protected]> wrote:
> I am having problems comparing two python files from OMVS. I can edit them > both individually ( I can see the blanks are x'20' = ASCII blanks. > I cannot get compare to work.. it looks like compare cannot tell the second > file is ascii. > Is there an easy solution for this? > Colin > > I am a bit dense. By "from OMVS", do you mean in a UNIX file vs. a "legacy" dataset? Also, by "ispf compare", I guess you mean option 3.12 (SuperC) or 3.13 (SuperCE). I looked on a z/OS 2.5 system, but I didn't see any way to do a compare in ISPF using UNIX resident files. In any case, I doubt that any ISPF functions can process ASCII files, regardless of location. I think you'll need to convert them to EBCDIC. "easy" is relative. Personally, being a Linux user who likes to use a z/OS UNIX shell, I would use the UNIX "diff" command. I might be sufficient to "tag" the UNIX files as ASCII using the "chtag" UNIX command to tell the filesystem the file is ASCII (UTF-8 or whatever). If that doesn't work, it gets a bit more difficult, using iconv to do code conversion & temp files. IOW, I don't think there's an easy way. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
