From: René J. <rvj...@xs...> - 2021-09-14 15:49:33
|
Good idea, but I think that gets complicated quickly - we have z/OS, z/OS USS (EBCDIC), WAS on Z (Unicode), but also Linux on Z (Unicode). And which EBCDIC codepage? We would need JZOS to figure that out, and then still. But I am going to investigate it. René. > On 14 Sep 2021, at 16:27, J Leslie Turriff <jlt...@ma...> wrote: > > Can NetRexx pipe not query the platform, and if it is zSeries, emit EBCDIC, or if not, > Unicode? > > Leslie > >> On 2021-09-13 16:51:44 René Jansen wrote: >> Hi Jeff, >> >> this was left untouched for longer than I wanted. Current state is, DIGEST >> does what I needed it for and can do different cryptohashes with >> demonstrable correctness when e.g. comparing to the wikipedia reference >> examples: >> >> ➜ netrexx-code git:(master) ✗ pipe "literal The quick brown fox jumps over >> the lazy dog | digest md5 | cons" 9e107d9d372bb6826bd81d3542a419d6 >> ➜ netrexx-code git:(master) ✗ pipe "literal The quick brown fox jumps over >> the lazy dog. | digest md5 | cons" e4d909c290d0fb1ca068ffaddf22cbd0 >> >> But: CMS returns characters and we return a hex string. Problem is that the >> characters on CMS are always EBCDIC and we do Unicode. For compatibility, >> are we expected to output EBCDIC on all platforms? Also, the trailing space >> is tricky on CMS, we have no real answer to that at the moment but it has >> never bitten. >> >> Things being as they are - like the amount of time I can invest - I am >> inclined to just document the difference and leaving it like this. I am >> convinced most people want a hex string anyway, because that is how digests >> are used. >> >> p.s. I did a small change to the SQLSELECT stage - if it is DB2, you can’t >> override set properties with the url. Also, the name of the jdbc driver was >> seriously out of date. >> >> best regards, >> >> René. >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines > > > Distribution: openSUSE Leap 15.3 x86_64 > > -- > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |