Re: File Permission change
On Wed, 7 Jul 2021 12:28:35 -0500, Vinoth wrote abour File Permission change: > we are in situation to change the owner for the path /SYSG/prod/cft36/, > we have tons of files/directories residing on this path and i tried to > change using a batch job and only the filepath specified on the job gets > change and rest remains the old owner name and this is stopping me on the > upgrade. chown -R : /SYSG/prod/cft36 You might need to be suoeruser (i.e. root) to do this. The key is the -R option, as it recurses through the subdirectories. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Copy DSNTYPE=BASIC to DSNTYPE=EXTREQ with LRECL=X
On Thu, 6 Aug 2020 21:47:26 +, Dymoke-bradshaw, Lennie wrote abour Re: Copy DSNTYPE=BASIC to DSNTYPE=EXTREQ with LRECL=X: > Matthew, > > Each of those will ensure the output data set is extended format. That is not > the issue. > The issue is what program do I use to copy the data when LRECL=X. Have you tried SORT FIELDS=COPY or the like? DF/SORT or Syncsort. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Enterprise COBOL 6.3 and IBM Programmer Tools
On Thu, 9 Jan 2020 17:23:51 +1100, Attila Fogarasi wrote abour Re: Enterprise COBOL 6.3 and IBM Programmer Tools: > There is a 64-bit ODBC driver so Db2 does provide a 64 bit API today, just > not for embedded SQL :) The ODBC driver runs on the client machine, not the host. The host interface is almost certainly accessing DB2 in 31-bit AMODE. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: VSAM record length 0
On Sat, 28 Dec 2019 00:31:57 +, Frank Swarbrick wrote abour Re: VSAM record length 0: > I understand that. I thought the CRLF would be "in the clear", which > would make the record (in the sequential file, sent from an ASCII > system) 0 length. But that was an invalid assumption. The "field" > that includes the CRLF is base64 encoded rather than containing an > actual CRLF. Base64 swallows everything in the input stream, without assuming any record or field delimiters. It is treated as a pure byte stream. You need to decode it the same way and then find any delimiters in the decoded stream. All the encoded characters are from the 6-bit collating sequence defined by Base64, but widened to ASCII or EBCDIC. > I'm not sure how INSPECT...REPLACING can be used since there is not a > 1-byte to 1-byte correspondence... You'll need to use at least 2 INSPECT verbs and then meld the pieces. The issue is to take 3 bytes and convert it to 4 to encode, and 4 bytes to 3 to decode. I implemented Base64 in PL/I about 25 years ago, using the TRANSLATE() builtin function. That largely corresponds to INSPECT ... REPLACING in COBOL. I think I still have that code on a tape cartridge, but I don't think the tape drive I used to back it up still works. ... :-( -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: VSAM record length 0
On Fri, 27 Dec 2019 23:46:12 +, Frank Swarbrick wrote abour Re: VSAM record length 0: > It turns out I was not quite on the right track. The 'record format' > of the file does allow for a CRLF sequence embedded in it, but it does > it by Base64 encoding the data, rather than including an "additional" > CRLF as I had assumed. A CR/LF pair is normally just a line terminator, especially when the record is Base64 encoded. Normally you just drop the line terminator. If you plan on keeping the data encoded as Base64, there should be no zero-length records. Since Base64 data are a byte stream, the only record boundaries are going to be by some kind of convention: CR/LF on Microsoft platforms; CR on Apple; and LF on UNIX. > So now the question is, does z/OS have a Base64 decoding routine? > I see that Enterprise PL/I has one, but I don't see anything for > Enterprise COBOL. I can probably call a function from the C Runtime > if there is one. (And no, I am probably not going to call a Java > routine...) You can implement Base64 encoding/decoding in COBOL, typically by using one or two INSPECT ... REPLACING verbs. Take a look at RFC 3548 to see the standard algorithm: <https://tools.ietf.org/html/rfc3548.html> HTH. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: VSAM record length 0
On Fri, 27 Dec 2019 22:55:35 +, Frank Swarbrick wrote abour VSAM record length 0: > So I am trying to copy sequential file to a VSAM ESDS. One of the > lines in the source file has a record length of zero. Apparently > VSAM does not support zero-length records? Can this be true? It is true. The Record Descriptor Field at the high address end of the Control Interval cannot be zero. > This blank line has "meaning". What are my options? Append a CRC (or similar checksum) to each record -- you can pretend it's for data integrity checking -- and for the zero-length record just write the CRC. Just remember to strip the CRC when you read the dataset back again. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: SYNCSORT question: Why error INCOMPATIBLE LRECL usint TRAILER1 but not without?
On Wed, 18 Dec 2019 22:28:12 +, Farley, Peter X23353 wrote abour SYNCSORT question: Why error INCOMPATIBLE LRECL usint TRAILER1 but not without?: [snip] > //SORTOUT DD DISP=(,CATLG,CATLG), > // DSN=output-VB-file, > // UNIT=SYSDA,SPACE=(CYL,(010,010),RLSE), > // DSORG=PS,RECFM=VBA,LRECL=045,BLKSIZE=0 Your SORTOUT has a 4-byte RDW, an ASA control character and up to 40 print positions in any given logical record. [snip] > TRAILER1=(6:C'TOTALS',4X,TOT=(5,11,ZD),23X), 6 + 4 + 11 + 23 = 44, which is > 40. I would ditch the 23 trailing spaces. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Adding a PARM to a PROCSTEP where no PARM is coded
On Tue, 17 Dec 2019 22:42:45 +, Farley, Peter X23353 wrote abour Adding a PARM to a PROCSTEP where no PARM is coded: > I thought I know this stuff, but my employer's z/OS V2.2 system is saying I > don't. > > I have a simple one-step PROC which executes a COBOL program but has no > keyword parameters on the EXEC statement, like this: > > //MYPROC PROC OUT=* > //MYPGM EXEC PGM=MYPGM > //SYSOUT DD SYSOUT= > // PEND > > MYPGM is compiled with COBOL V5.2 and has a LINKAGE SECTION like this: > >LINKAGE SECTION. >01 PARM-FIELDS. >05 PARM-LENGTH PIC S9(04) COMP. >05 PARM-AREA PIC X(25). > Did your PROCEDURE DIVISION statement include USING PARM-FIELDS ? -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@gmail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: VTOC reading
On Thu, 13 Jun 2019 11:44:24 -0400, Bill Ogden wrote abour VTOC reading: > My old memory is failing in too many areas. Long ago, I seem to recall, > there was an easy way to read a VTOC with simple JCL using a "magic" > DSNAME - obviously not 040404... for JCL, but some other name. Is my > memory correct? What is the DSNAME? While playing with google I cannot > find anything, but I might be using the wrong search words. DSN=FORMAT4.DSCB -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Using DFSORT to generate data
On Thu, 28 Mar 2019 14:14:46 -0500, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote abour Re: Using DFSORT to generate data: > On Thu, 28 Mar 2019 11:38:24 -0700, Sri h Kolusu wrote: > >>> I'm astonished; I'd expect data bases to log times of transactions. Or is >>> that left the responsibility of the UI/API? >> >> When I say DB2 gives a static timestamp is when you are trying to get >> EXISTING records from a DB2 table and append a time stamp. ... >> > OK. I RTFM. The term it uses in a few places is "time of the run". I'm > happy that means the time of the SELECT rather than time of the FETCH. The CURRENT TIMESTAMP special register is evaluated at the time of the first query in a transaction; likewise CURRENT TIME and CURRENT DATE. This is not necessarily the same as the time of the SELECT. The special registers get re-evaluated after any subsequent COMMIT or ROLLBACK the terminates a transaction, when the next transaction begins. > May I assume, since neither you nor Bernd said otherwise, that insertion > of a row will use the instantaneous timestamp? No, the INSERT will use the special register, as evaluated at the start of its transaction. This is why TIMESTAMP data attributes are not ideal "tie breakers" for key collisions: there are other ways to do that. > And disappointed, that the format has a granularity of at best µsec, > sacrificing the uniqueness of the (E)TOD clock. Not an issue > unless/until processors are fast enough to perform more than one > transaction in that time. The format was decided decades ago by a committee. The purpose of TIMESTAMP is just its face value: to provide a temporal log of when a database event occurred. It is a measure of external times, rather than of the internal clock of the CPU. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: VM (Subject clip volume with JCL)
On Wed, 14 Nov 2018 14:49:42 -0500, Tony Harminc (t...@harminc.net) wrote about "Re: VM (Subject clip volume with JCL)" (in ): > On 14 November 2018 at 14:34, Paul Gilmartin > <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > >> And, all, please trim the superfluous footers, disclaimers, etc. >> (It's the malign consequence of top-posting.) > > Better yet, don't top-post! Selectively quote, insert your comments > where they belong, and trim with care. +1000 -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Why are sophisticated system-level coding examples not available? [was: RE: Recommended method for accessing secondary access spaces]
On Mon, 12 Nov 2018 18:13:30 +, Farley, Peter X23353 (peter.far...@broadridge.com) wrote about "Why are sophisticated system-level coding examples not available? [was: RE: Recommended method for accessing secondary access spaces]" (in ): > Not jumping on Ed Jaffe or Peter Relson or any of the other thoughtful > and helpful responders in this email chain, but it still rankles me > that there are no good examples anywhere (not at IBM and not at CBT) > for programmers to review that show exactly how to set up and use "SRB > to the other address space and PC-ss back to the requesting address > space" or any similarly sophisticated system-level application coding > technique. > > Why is system-level application coding made an obscure mystery to which > only IBM and (some) ISV's have access? Good examples that show how to > "do the right thing" would avoid an awful lot of dangerous experimentation. > "Security through obscurity" is, I think all here would agree. NOT a good > thing. I can offer an opinion based on my years as a developer for various ISVs. Each ISV considers its more sophisticated code to be some kind of magic joojoo that it wants to keep private as a competitive advantage. The curious part is, most developers have worked for a variety of ISVs and have spread the magic as they went, so the slick code tended to be fairly similar in all the ISV companies. I think most of the low-level techniques were derived from code seen on the IBM-supplied microfiche (remember that?) that arrived with MVS installation media. It would benefit the mainframe industry if microfiche (or a more modern medium) were reinstated. There are no longer any other platform-level vendors in mainframes any more, so nobody is going to bootleg z/OS as their own operating system. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: COBOL 64bit
On Thu, 18 Oct 2018 15:01:33 -0400, Steve Thompson (ste...@copper.net) wrote about "Re: COBOL 64bit" (in ): [snip] > Assume that this data set is a VSAM KSDS. And assume that we do random > access of the records, and that those records contain pricing and rules > for same. Why not use a big LSR pool for that dataset? That should speed up random processing a treat and not use anywhere near as much memory as a full dataset load. The BLSR subsystem is just the ticket for situations like that. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Is there an API to a "storage dump line" formatting routine?
On Fri, 21 Sep 2018 15:34:29 -0400, Tom Conley (pinnc...@rochester.rr.com) wrote about "Re: Is there an API to a "storage dump line" formatting routine?" (in <21fc8189-7c87-a2a3-31ea-3b5acb769...@rochester.rr.com>): > On 9/21/2018 2:15 PM, Farley, Peter x23353 wrote: [snip]>> Standard system storage dumps (SYSUDUMP, SNAP/SNAPX, etc.) format >> storage displays like this in a 121-character line: >> >> 36B219C0 >> ** [snip] > You could call IPCS to display the storage you want. Under the covers, IPCS is really just AMDPRDMP. There is likely a subroutine inside AMDPRDMP that formats the print line. Whether that subroutine is callable from another program is an open question: it might have an external symbol in the link map of AMDPRDMP that one can alias, but then again it might not. I am not sure what Peter's original message was about, in terms of objective. I assume he wants to be able to format a dump of storage from inside a program. If such a program is written in PL/I, one can use the HEXIMAGE() and TRANSLATE() built-in functions to build the hexadecimal digits and dots/characters, with the the asterisks and spaces easily inserted. There is even a PLIDUMP() built-in subroutine that can dump areas directly, just like a SNAP macro. If for some reason one cannot use PL/I, that is not of much use. Since PL/I uses LE for much of its run-time support, there is likely a CEEDUMP() subroutine one can use from other languages: RTFM! -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: SUSE splits from Microfocus
On Tue, 3 Jul 2018 21:02:41 -0400, Phil Smith Iii (li...@akphs.com) wrote about "Re: SUSE splits from Microfocus" (in <00a201d41332$b65763a0$23062ae0$@akphs.com>): > David W Noon wrote: [snip] >> A lot of the old EDS mainframers were made redundant because HP felt the >> mainframe was dead. The mainframe now helps to keep HPE alive. > > How's that? HPE NonStop isn't a mainframe. x86 servers aren't mainframes. I > don't understand. Last I heard, HPE was still running some big iron to support "legacy" applications. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: SUSE splits from Microfocus
On Tue, 3 Jul 2018 17:56:08 -0400, Phil Smith Iii (li...@akphs.com) wrote about "Re: SUSE splits from Microfocus" (in <007801d41318$a68872d0$f3995870$@akphs.com>): > So some folks went: HP==>HPE==>DXC; some went HP==>HPE==>Micro Focus; some > went just HP==>HPE; and some even stayed as HP the whole time. Some of my old work-mates went: EDS==>HP==>out-the-door. A lot of the old EDS mainframers were made redundant because HP felt the mainframe was dead. The mainframe now helps to keep HPE alive. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: RECFM=VBS,LRECL=X
On Wed, 2 May 2018 16:43:02 -0500, Paul Gilmartin (000433f07816-dmarc-requ...@listserv.ua.edu) wrote about "Re: RECFM=VBS,LRECL=X" (in <1556897214786710.wa.paulgboulderaim@listserv.ua.edu>): > On Wed, 2 May 2018 22:30:00 +0100, David W Noon wrote: [snip] >> If you are using QSAM, the access method should do it. With RECFM=VBS >> you are required to use move mode processing and QSAM should do the >> buffer management, including reassembling each logical record as it move >> the data to you work area. >> > Suppose there is no guarantee that every logical record fit in available > virtual memory? How do you process such a logical record in a finite address space? The only way I can think of is to segment the record and process it piecewise. That would require BSAM, since the buffer pool will fit into memory, and the record segments will be limited in size to fit into a buffer. You then have an issue of related fields not being in the same segment or not being in segments close enough to have the related fields accessed concurrently. I would then feel that the data stream design is flawed. I would want it normalized, when possible. The problem with that is that many "small platform" people know little or nothing about normal forms. [Indeed, it is mainly DB2 and IMS people who understand it on the mainframe.] The problem remains if the record layout is already in at least 1NF. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: RECFM=VBS,LRECL=X
On Wed, 2 May 2018 14:39:57 -0500, Paul Gilmartin (000433f07816-dmarc-requ...@listserv.ua.edu) wrote about "Re: RECFM=VBS,LRECL=X" (in <7993773034062407.wa.paulgboulderaim@listserv.ua.edu>): > On Wed, 2 May 2018 13:23:21 -0500, Kirk Wolf wrote: > >> Does anyone use this with your z/OS data sets? >> > I've experimented with it. I was semi-pleased to discover that while > BPXWYN rejects LRECL(X) as a syntax error it accepts LRECL(32768) instead. > > I don't recall whether Rexx reassembles spanned records or whether I > needed to override with RECFM(U) and process the streams myself. If you are using QSAM, the access method should do it. With RECFM=VBS you are required to use move mode processing and QSAM should do the buffer management, including reassembling each logical record as it move the data to you work area. AFAIAA, REXX EXECIO uses QSAM. I have processed VBS records using BSAM. It is a bit of a chore ensuring that the spanning indicator bits in the RDWs are set correctly. > I don't know which utilities are sensitive to which BFTEK values. I have not seen BFTEK do anything particularly useful. > RECFM=VBS,LRECL=X would seem natural for processing UNIX files. UNIX files for input? No, these lack BDW and RDW fields and cannot be processed by QSAM as anything other than RECFM=U (or perhaps RECFM=F[B]). If they are text files, you still need to scan the buffer to find the '\n' character that terminates each text record. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: IEFA107I when pointing to dataset alias
On Mon, 30 Apr 2018 16:34:43 +, Sankaranarayanan, Vignesh (vignesh.v.sankaranaraya...@marks-and-spencer.com) wrote about "IEFA107I when pointing to dataset alias" (in <db3pr02mb038035cc3845ab536c629cf7da...@db3pr02mb0380.eurprd02.prod.outlook.com>): > Let's say I have A.DATA.SET in APF and LNK. > I then create B.DATA.SET as an alias to A.DATA.SET Are the A and B HLQs aliased to the same catalogue? The alias will be in the catalogue for A, and if DSN lookups for B.* don't go to the same catalogue then the lookup for your alias will not be found. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: SUBSYS= ?
On Thu, 9 Nov 2017 23:39:28 +, Farley, Peter X23353 (peter.far...@broadridge.com) wrote about "Re: SUBSYS= ?" (in <0cfc6aa1608c478fbfa1133fa3491...@clipswexmaa4.bsg.ad.adp.com>): > You are totally correct about that. I forgot for a minute > that when using SUBSYS=BLSR the actual file name is moved off > to a separate DD, and I should have remembered that because I > have coded an awful lot of them. > > Thanks for reminding me. > > So I guess that restriction may still be real: Don't use > SUBSYS and DSN=(SMS managed DSN) on the same DD statement. Just to add to this melee: when using an RLS subsystem the SUBSYS= is coded on the DD statement, thus: //CLUSTER DD DSN=PROD.CLUSTER,SUBSYS='RCIC',DISP=SHR where RCIC is the subsystem name of a CICS FOR that has been configured for RLS. This is how it is coded even when the cluster is SMS-managed. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: SUBSYS= ?
On Tue, 7 Nov 2017 00:07:13 +, Jesse 1 Robinson (jesse1.robin...@sce.com) wrote about "Re: SUBSYS= ?" (in <cy1pr0101mb08589f91be8150c372714704bf...@cy1pr0101mb0858.prod.exchangelabs.com>): > My comment about deprecation was limited to the SUBSYS= keyword. I saw > from other replies that Panvalet and Librarian use the keyword. More than that, the SUBSYS keyword is used for RLS and BLSR processing of VSAM clusters -- and those are IBM subsystems. Deprecating that would cause wholesale breakage at sites that do a lot of VSAM processing. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: What cryptographic algorithm is not supported?
On Mon, 6 Nov 2017 14:32:01 -0800, Charles Mills (charl...@mcn.org) wrote about "What cryptographic algorithm is not supported?" (in <210a01d3574f$11063a10$3312ae30$@mcn.org>): > I am trying to load a certificate and key into a FIPS-140 GSK database. I am > getting Status 0x03353003 - Cryptographic algorithm is not supported. How > would I know exactly what algorithm it is complaining about? Here's an > extract from the certificate and key: You have 2 lines that mention algorithms: > Signature Algorithm: sha512WithRSAEncryption > Public Key Algorithm: rsaEncryption (There is actually a 3rd one, but it is the same as the first.) Now, SHA512 is a hashing algorithm, so that leaves RSA as your crypto algorithm. I don't know why RSA would be unsupported, as it has been around since the late 1970's. I can only infer that it has been dropped. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: too true: Vulture Central on "the next big thing".
On Fri, 20 Oct 2017 18:30:25 +, Allan Staller (allan.stal...@hcl.com) wrote about "Re: too true: Vulture Central on "the next big thing"." (in <sg2pr04mb0959a12157a5c714e7bf8e47e3...@sg2pr04mb0959.apcprd04.prod.outlook.com>): > My understanding (albeit limited) is that O-O is modular programming with the > concept of "inheritance" added. There is considerably more than that. As a moron's guide to Object Oriented Programming (OOP) here is a simple, layered approach: The first part is encapsulation. This consists of laying out a data structure, called a class, that will be instantiated whenever it is needed. This data structure then has methods (an up-market term for subroutines and functions) associated with it, but most of these methods can only be invoked using an instance of the class. Thus, the methods are encapsulated by the class. The second part is polymorphism. This allows a single method name to be used with different semantics, based on the class through which it is invoked and its argument signature. This is identical to the PL/I GENERIC declaration, except the rules for monomorphic selection on a polymorphic name have to be coded explicitly in PL/I but are inferred by the compiler in more modern languages. The third part is inheritance. This permits new classes to be declared based on existing classes, with the new classes inheriting the data items in the structure and the methods encapsulated in the earlier classes. These are called subclasses. The methods can be overridden in the subclasses if necessary. Additional data items can be added to the structure too. Actually laying out a class requires a great deal of analysis. This is why people who can b.s. their way into senior analyst positions rattle on about Object Oriented Design (OOD) as if it were some kind of magic. There is no moron's guide to OOD, as it can be exceedingly complex. > I am not sure if SP caused modular or vice-versa. Modular programming came in with FORTRAN II in the late 1950s, when it started allowing FUNCTION and SUBROUTINE definitions. This is long before Structured Programming. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: BPXWDYN from CLIST
On Wed, 18 Oct 2017 17:52:16 +, Pinion, Richard W. (rpin...@firsttennessee.com) wrote about "Re: BPXWDYN from CLIST" (in <9100e2e5ca18c64885a04cd21a78be9b27ff7...@feprexmbx03.ftbco.ftn.com>): > I want to know what data set is allocated to a DDNAME, and the data set is on > tape so LISTDSI won't work. In that case you want to examine the TIOT/SIOT/DSABQ. At one of my previous employers, we had a CP called dtiot that would do just that. One could its output and extract the DD one wanted. Such CP's were ubiquitous back in the 1980s. Perhaps your site has one. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: BPXWDYN from CLIST
On Wed, 18 Oct 2017 17:04:14 +, Pinion, Richard W. (rpin...@firsttennessee.com) wrote about "BPXWDYN from CLIST" (in <9100e2e5ca18c64885a04cd21a78be9b27ff7...@feprexmbx03.ftbco.ftn.com>): > Does anybody have an example of calling BPXWDYN from > a CLIST? And no I can't use REXX. Won't the ALLOC command work? -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Where is the "z/OS V2R3 Elements and Features" web site?
On Tue, 17 Oct 2017 19:48:54 +, Pew, Curtis G (curtis@austin.utexas.edu) wrote about "Re: Where is the "z/OS V2R3 Elements and Features" web site?" (in <ce19c403-d209-46a5-a362-e93477365...@austin.utexas.edu>): [snip] > At least three of the documents in the z/OS 2.3 collection have blank > titles in their PDF information. The problem is not developing a script > to create links from the information, the problem is missing information. More than that, some of the IBM documents have a Title: field with the same name as the PDF filename or basename. I'm not sure what type of documentation software IBM uses to prepare these, but I guess it isn't fussy about the Title: not matching the text on the title page. I expect it's an Adobe product for Windows (Distiller?). -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Where is the "z/OS V2R3 Elements and Features" web site?
On Mon, 16 Oct 2017 20:17:01 +, Pew, Curtis G (curtis@austin.utexas.edu) wrote about "Re: Where is the "z/OS V2R3 Elements and Features" web site?" (in <bb96fb07-0d7a-4af6-8bae-ceaec1909...@austin.utexas.edu>): > On Oct 16, 2017, at 1:39 PM, John McKown <john.archie.mck...@gmail.com> wrote: >> [snip] >> for i in *.pdf ; do pdfinfo "${i}" | ln -s "${i}" "$(awk '/^Title: / {print >> substr($0,17);} | sed -r 's/ *.*? *//')" ; done One can avoid the use of sed here. Moreover, we need to do more manipulation of the generated filename for the symlink. > Yes, please. I tried doing something like this once, but the PDF > information sections are inconsistent or incomplete. Everything’s > easier to manage when you have consistent, reliable metadata. I have attached a shell script for zsh that might do what you want. It is another "pretend text" attachment, so rename it with the ,txt suffix removed. Also remember to "chmod +x" to make it executable. Note also that this script will probably not work under Windows, even if you have zsh installed as a shell. This is because it translates the forward slashes IBM uses for z/OS, OS/390, OS/400, PL/I, etc. into backward slashes, because UNIX filesystem drivers use the forward slash as a directory separator. I have released it under the Berkeley License, so it is fully open source. Use at your own risk. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN #!/bin/zsh # Script to scan PDF documents and add a symlink to those whose # filename differs from their title fields. # Copyright (C) 2017, David W Noon. All rights reserved. # This code is released under the Berkeley License. # Set default values. DOC_DIR="." let PRETEND_MODE=0 let VERBOSE_MODE=0 # Parse the command line. while getopts 'pd:hv' OPTNAME do case "$OPTNAME" in p) let PRETEND_MODE=1 ;; d) DOC_DIR="$OPTARG" ;; h) echo 'Usage:' echo "\tPDF_symlinks.zsh -h -p -d " echo '' echo 'Where:' echo "\t-p\t\tPretend mode." echo "\t-d \tDirectory to scan. Default: current directory." echo "\t-h\t\tThis help text." exit 0 ;; v) let VERBOSE_MODE=1 ;; *) echo "Invalid option $OPTNAME" exit 12 esac done # Change directory if it's not current. [[ "$DOC_DIR" == "." ]] || pushd "$DOC_DIR" # Loop through all plain files ending in .pdf for fn in *.pdf(N.) do # Extract the Title: field, massage to fit UNIX filename conventions. sn=$(pdfinfo "${fn}" | gawk '/^Title:/ { s=$2; for(n=3;n<=NF;++n) s=s"_"$n; gsub("/","\\",s); print s".pdf"; }') if [[ -e "$sn" ]]; then # Skip if name already exists. [[ $VERBOSE_MODE -eq 1 ]] && echo "$sn already exists." elif [[ "$sn" != "$fn" ]]; then if [[ $PRETEND_MODE -eq 0 ]]; then # Hit the tit! ln -s "$fn" "$sn" [[ $? -eq 0 && $VERBOSE_MODE -eq 1 ]] && echo "Symlink $sn was created for $fn" else echo "Symlink $sn would be added to document $fn" fi fi done # Revert directory if we changed. [[ "$DOC_DIR" == "." ]] || popd exit 0 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: ShopZ order response
On Fri, 13 Oct 2017 20:46:36 -0400, Tony Harminc (t...@harminc.net) wrote about "Re: ShopZ order response" (in <caarmm9s8ygkewkfedrrdtaz+81e28_ej2uolygc24c0jv2b...@mail.gmail.com>): > On 13 October 2017 at 18:47, Phil Smith III <li...@akphs.com> wrote: > >> Anyone know if Sterling Forest still has 3420s? Last time I was there >> (2004?) they did, and even a 7-track drive IIRC. > > Also in 2004 I was surprised to see a short string of 3420 drives, all > powered up and lights on, at one of our UK banking customers. I asked, > and it seems they were used only for data exchange. A nightly courier > would arrive from each of the other big banks with tapes, and be > dispatched with the ones from this bank. I had a vision, perhaps not > inaccurate, of each bank having such a dusty set of drives used only > for the same purpose. > > Maybe someone at a UK bank can tell us if that scheme survives today... I can't vouch for today, but the use of 9-track, reel-to-reel tapes was the standard back in the late 1990's. >From 1996 to 1999 I was working at Lloyd's Bank in London. I was working in a section called Autoclearings and our batch jobs wrote and read these tapes. The Bank of England ran a clearing house through which all financial transfers were made between clearing banks. The concrete bunker was in Uxbridge. All the clearing banks would write their pending transactions to 9-track tape (with ANSI labels and RECFM=DB ASCII records). These tapes would then be put into an armoured car and sent off to Uxbridge. Tapes containing completed transactions would be sent back to the banks so they could reconcile their accounts. In 1998 the Bank of England announced that they had a new system called High Speed Transfer (HST). This consisted of custom terminals with hardware cryptography connected to leased lines ... that went to Uxbridge. The data transmissions were made up of ANSI format HDR1 and HDR2 records, a stream of ASCII data records in RECFM=DB format, followed by ANSI format TLR1 and TLR2 records. This was not warmly received by the clearing banks as state-of-the-art technology. I find it a little surprising that reel-to-reel tape was still being used in 2004 but, given that the HST alternative was really no better, I guess we should not be really surprised. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Sort Question
On Mon, 2 Oct 2017 13:02:24 -0500, Elardus Engelbrecht (elardus.engelbre...@sita.co.za) wrote about "Re: Sort Question" (in <4916708819685726.wa.elardus.engelbrechtsita.co...@listserv.ua.edu>): [snip] > AFAIK, COBOL has its own internal SORT functions, It does not. Both PL/I and COBOL use the SORT or ICEMAN module from the linklist for their sort interfaces. > but if I want to sort something big or complex, I would terminate my > COBOL program, let sort it with DFSORT or SyncSort and do same or > other COBOL program to process the sorted data. > > If it is not too big or complex to sort, I can let COBOL call DFSORT > and wait for sorted data to come back. Unless your COBOL code is huge, it makes little difference to the performance of the sort. Just use the SORT verb in COBOL or the PLISRTx() subroutines in PL/I; they will perform just the same as a separate sort step. You need to remember to set the appropriate memory parameters in PLSIRTx() or set the COBOL special registers so that the sort can use as much memory as it needs. These compiler language interfaces have all the facilities of DF/SORT available, including the SORTPARM DD card stream. >> Does DFSORT rely on QSAM or on idiosyncratic EXCP? I'd expect > that in the era of oscillating merge it relied on EXCP. > > AFAIK, DFSORT has its own OCO access method(s) just like RACF has > its own OCO way to access the RACF database. DF/SORT has used EXCP since it was called SORT/360. Note that if SORTIN or SORTOUT is a VSAM cluster, it will use normal VSAM for reading or writing, but SORTWKxx spill files are accessed by raw channel programs (at least when the default BLOCKSET algorithm is used). -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Dynamic Steplib and z/OS 2.3?
On Fri, 22 Sep 2017 15:43:18 -0500, Walt Farrell (walt.farr...@gmail.com) wrote about "Re: Dynamic Steplib and z/OS 2.3?" (in <1942473900671448.wa.walt.farrellgmail@listserv.ua.edu>): > On Fri, 22 Sep 2017 20:53:10 +0100, David W Noon > <david.w.n...@googlemail.com> wrote: > >> It is up to the site's programmers to ensure that the load libraries in >> use in a job step are mutually compatible. > > Unfortunately, the site's programmers are not in control of the libraries > used in a jobstep. The creator of the JCL has that control, or in the case of > something like a dynamic STEPLIB command, the TSO user who runs the command > has it. When I was a lad, the JCL was written by programmers. I certainly had to write the JCL for my programs to run; sometimes I even had to punch the cards myself. The use of dynamic STEPLIB is something of a corner case in program execution. I'm not suggesting that an ALLOC command, SVC 99 or IKJDAIR should allow STEPLIB/JOBLIB as a target. It should be managed by a well controlled facility that is custom built for this and with associated security rules. As part of this, if JSCBAUTH is already set, the dynamic STEPLIB should also be checked for presence in the current APF list.-- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Dynamic Steplib and z/OS 2.3?
On Fri, 22 Sep 2017 13:14:52 -0500, Walt Farrell (walt.farr...@gmail.com) wrote about "Re: Dynamic Steplib and z/OS 2.3?" (in <4974758334821366.wa.walt.farrellgmail@listserv.ua.edu>): > On Fri, 22 Sep 2017 10:40:59 -0500, Paul Gilmartin <paulgboul...@aim.com> > wrote: > >> Dynamic STEPLIB has been discussed in these fora so often that I suspect >> it's the subject of numerous RFEs. I suspect there are technical reasons >> that IBM has not rushed to provide the function. Is the design of OS/360 >> such that any dynamic STEPLIB would be incomplete or have unintended >> consequences? > > Any dynamic STEPLIB functionality introduces potential System Integrity> > exposures, because some parts (modules) of a program may have been loaded> from one library and others from a different, incompatible library. Such an exposure can just as easily occur from a static concatenation for STEPLIB/JOBLIB, so allowing dynamic allocation is not a significant increase in such exposure. It is up to the site's programmers to ensure that the load libraries in use in a job step are mutually compatible. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
D-flat (was: LPAR to LPAR access
On Wed, 20 Sep 2017 19:56:25 +0200, Peter Hunkeler (p...@gmx.ch) wrote about "LPAR to LPAR access" (in <ez-819528767.1353907...@gmx.ch>): > OT: Did IBM marketing morons rebrand DB2 into Db2 to make it easier to type > it without errors on smartphone and tablet virtual keyboards? I looked at it and thought of the musical notation for the note D-flat, which is enharmonic with C-sharp. Since C# is now Microsoft's favourite programming language, I expect the IBM marketing people had their instructions. ... :-) -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: More musings about Unicode, UTF-8, etc.
On Mon, 11 Sep 2017 11:49:29 -0500, Paul Gilmartin (000433f07816-dmarc-requ...@listserv.ua.edu) wrote about "Re: More musings about Unicode, UTF-8, etc." (in <0662287305026690.wa.paulgboulderaim@listserv.ua.edu>): > On Mon, 11 Sep 2017 16:41:18 +0100, David W Noon wrote: >> >> I have added these strings to my code and the results are the same as >> yours. I suspect the rendering software does not handle CJK characters >> very well in Indo-European locales. >> > I'm calling it a font problem: The CJK characters display double-width, You are correct. I am using a fixed pitch font, but it uses 2 character cells for the CJK characters. [snip] >> There is a Makefile included that can build the source code using either >> GCC or CLANG using gmake. Those who use other C/C++ compilers will have >> to work out their own build sequence. >> > Fails for me with: > > 525 $ make > make: gcc-config: Command not found > make: gcc-config: Command not found Which operating system are you using? You should have received the gcc-config command as part of your GCC toolchain(s). This command allows you to select from multiple versions of GCC installed. I developed the code on Gentoo Linux. Such a system can have 5 or 6 GCC toolchains installed concurrently, so gcc-config is a must have. > make: Warning: File 'Unicode_test.cpp' has modification time 19042 s in the > future I'm in the BST timezone, so I'm 5 hours ahead of NYC and 8 hours ahead of LA/SF (and Redmond, WA, for that matter). > /g++ -o Unicode_test -pipe -std=gnu++14 -Wall -Wextra -O2 > -fomit-frame-pointer Unicode_test.cpp -Wl,--as-needed,--strip-all > make: /g++: Command not found > Makefile:13: recipe for target 'Unicode_test' failed > make: *** [Unicode_test] Error 127 If you edit the Makefile to remove the shell subcommands that invoke gcc-config and remove the slash separator, you should then access gcc and g++ through your PATH environment variable. > o I'm surprised that the fake text file survived network newline conversions. I concluded that Listserv was pretty dumb, so I felt that an attachment with a filename ending in .txt would survive. > o .zip is timezone-ignorant. Yes, it's derived from an old MS-DOS/PC-DOS command and those systems did not know for timezones when PKZIP was written. The archive file format does not permit timezone data. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: More musings about Unicode, UTF-8, etc.
On Sun, 10 Sep 2017 22:57:18 -0500, Paul Gilmartin (000433f07816-dmarc-requ...@listserv.ua.edu) wrote about "Re: More musings about Unicode, UTF-8, etc." (in <6975604789454628.wa.paulgboulderaim@listserv.ua.edu>): [snip] > = zsh > Привет мир. +++ > Emmanuel Macron +++ > 문재인 +++ > Enrique Peña Nieto+++ > Владимир Путин+++ > Donald Trump +++ > 习近平 +++ > > = bash > Привет мир. +++ > Emmanuel Macron +++ > 문재인 +++ > Enrique Peña Nieto +++ > Владимир Путин+++ > Donald Trump +++ > 习近平 +++ > ... > zsh is not ideal, but still the best. I have added these strings to my code and the results are the same as yours. I suspect the rendering software does not handle CJK characters very well in Indo-European locales. I am attaching the zip archive to this message as a fake text file. Rename it from Unicode_test.zip.txt to Unicode_test.zip and it should unzip in the usual manner. It contains a directory to hold all its files, so you can unzip it safely, without polluting another directory. There is a Makefile included that can build the source code using either GCC or CLANG using gmake. Those who use other C/C++ compilers will have to work out their own build sequence. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* david.w.n...@googlemail.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN PK 0+K Unicode_test/UT 몶Y½}°Yux è è PK d+K?$8± ! Unicode_test/Unicode_test.cppUT »¤¶Y¦¶Yux è è ¥VÍnÛF>[O1pF9q$° µ¶ I ¤ì(`¬Éµ ÅU¤ £¤OÐÞûó 9ôpÐ=ôäwhÍCtfEÇrÚظÜùæo;\] ÑÇFL ÔPÊ¢a®J(ªéTTîÊJ§ÑX] x¬ Ö $$z2ULAdùàC ÿðNUA®q¡ÍËó¤ Ha2% <õÛdR"p\==3êx\BÓmÁÚýÛÐ'* ýøZç q¬MFÒÈ´Ó»sò65E'®ò9c ]iàîx*y!ÉüBª¢4ê¨*Î-ݪ¤K¡+H»s¤raÎ`¤Í¤hc.åÓSW%¡LtªF*Ña$L¥¨²D¨(¦r,JËe¤³Lªü ç©"§,,×kjo+@.YÙLm,²%\q¤Oè¨V0DÇÛhÂdG(qóô-R3ÉPYþ[PäæVHí yü7tþ9Vgªj"óR\l«¡ñÄÀºI¬¸ÝçÔéùRY_ÎÅD-Z#á«M+¾*ˤò96Æ<£/¥¢ÃïLæ)îJêä0Ñ¥¹4Ø²Ø ;Fx0G²bzTR×Ô-ÅT&ÔP詨ӵR>oª¢¨©Û¶ïó¢`;ÞwB¸Áï±tð B¾Ó¡x=Fàø=ÜõãwqF³ìDè¼lÏÿ ØGE!ðÝÇsµû®7ìq§ ~Çwyqж¡ÿí Á6ì²Ðíã«ÓålÈmûn; ÈÆÜzNa8"_G®çð]ÖÃÈǸÀöCÔw<ïzºìû,¤Ó .C¦N×cÎfÛã!scJëjå¢HÒkP4`.Ç5êÂ0)'<h×°{<D;<³ëì`ÍÛÕÁ"¹Ãíw$v£ÇÃÁNô¬ì÷¸Ë¢ ðÈ 7%ÓsbÇG-pÝFÜJÈý ápóÀoaÍ÷Q!dê wÏjøó¼wX4éa«Ñý>Ãý䵪9$Gê¹ñ¢D1mbWùÏv<¾Ã|A@@û<b-,ÈÛàØvhs§¢!7[®íëíܶվ NoÿÚû!âuûXùÜ~>}«Æ{*O² oÈM¥ñsb²µ°G@~¼¸s"üw2L.îÐ[ÊKüæUÞ<Ñ*m5>m,eº¾>Ù´ëÓ:ÌÂq¶QÖxHSÎ=jøê=Ú<MÆÂ[° ÊáÑY)Ñg£ÑXÂáú¸Þ6SÀIp5Ï-¤½ñö½Ö:ì*vgZãÃ#<izË},ìk¥åÖÆ ³¯/ÏÎgßÏ~ºx³_fçÏoñ`È+Á®HÎo6þûåùë¯^¾þòüÌܨ§ó@þþ _ÉRßBûÙϳog?"uË0Ï.^àë¯7;öt.²bSM¦7[þñê¿~ûüÏW?ÜlÖÕù'T§ §5N:iÕ³eô´âíotu<¶£¯zl,)q]Í6à´ em ¨/D#®Àúâð &6RÞ'?X¿ÖsÆöçRÝb³¹¹ØRz]4ñ¥µÈËw%¤NzlnDTÞÅdI:ÌËq³h±mðëÑíËbqîÁ¢_îÀtéY·¯§rTeÙYÛâiVá¸TÇø»`)EkÐóÿ"1Ræ·ó]^YYù8_FTÅÿ¥Êäp£ñ¬ñPK -¢(KHÎ - Unicode_test/MakefileUT Æì²Y¦¶Yux è è AKÄ0 ÏͯضÔéRñ ÅZY/+.¸Ë%¦ÓLFñç;+=¸ê%¼¼ùf2¸/ÔhCÐ8mÇ.Õv»Þ\Ý>%öº'À!Ôek_Ó4?<Hcø¤÷à%àý)`ã:°ñ²#춼¨~$äùë77à`N娦õ¼î)¢ª2^ÏÄÄV)TÎ6º¼NVl?ÿqü=MÅb^oÌ[÷À'mkí2Ò¶~I2Tð`ìV®¦Ç@Cýn}>*!æ÷E4wê{ÅKn :/a4ã/Ø~-%ѸÎ0q3nIÕ ôF¶Qê»cà PK \+KJÑzj Ä Unicode_test/Unicode_test.geanyUT @«¶YCª¶Yux è è ¥QÁNÃ0½ç+vá Ý80©Ê¡MBNK5E^ëm6¿Ç¡Ä Ujûü^^í[ËÖª³Í ëvz]ı¶!WÓønè ö[7 émÒi¦ª·¶C·q¶ÖAgÌ·]Áqd# çÎÄ Í" ð9ªkÑ1°õnF`¶å½¾:B~¨§G´jEVÍU ξ?jY92¹ÔûåUò/"]+=ê'ga cdµ( 9Zì}E{pEÇâTYÈ}±¾SZL;ïv4Iôi9R1ã6poÖ$-}Wóv®gy2ûf JQìPjyw¿07S겺=?¯Êjñ´Z^Ì«©<eu6[¦ò ò>FßÓ°¿àe¾:ñ&ÿ¸¯ólýi¬êçÕB&