Re: Crosshair cursor

2019-01-03 Thread David Crayford
On 3/01/2019 1:58 am, Seymour J Metz wrote: Bah! I did 62x160 on a 17" plasma screen. Of course, these day I would not consider buying 17", 23" or even the larger screen I have now; I'd go for the biggest screen that had a reasonable price. 39" 4K TVs are cheap as chips these days. The bigge

Re: Zowe?

2019-01-07 Thread David Crayford
I think there's a lot more to it then just a new GUI. The engine behind Zowe is an API layer which will enable vendors and customers to integrate tools. The Zowe GUI is modern web tech using Angular/React and other cutting edge technologies so everything will run in a browser or mobile devices.

Re: Zowe?

2019-01-07 Thread David Crayford
I can't speak for Matt but... On 7/01/2019 2:06 pm, Farley, Peter x23353 wrote: Matt, Thanks for the extended and detailed response. There are many of us out here who are still wondering what this project really is. First, a caution: Please, please define your acronyms the first time you use

Re: Concurrent Server Task Dispatch issue multitasking issue

2019-01-08 Thread David Crayford
I'm wondering why anybody would choose to write a TCP server using EZASMI macros as opposed to the UNIX callable assembler services? It's so much easier and no need to deal with all those tricky ECBs. In fact why not just use a high level language? On 8/01/2019 4:32 am, Tony Harminc wrote: On

Re: Concurrent Server Task Dispatch issue multitasking issue

2019-01-08 Thread David Crayford
ssing was killing the performance. The GIVESOCKET/TAKESOCKET process was also hurting. (The TLS overhead of a CONNECT/ACCEPT was already high and the GIVE/TAKE just made it worse.) It boils down to: For simple though, the HLL interface is 'OK', but just like the AT&T commercials, are yo

Re: Concurrent Server Task Dispatch issue multitasking issue

2019-01-08 Thread David Crayford
ss.  But yet again it's easy to abstract into a class or a function. But I suppose so is EZASMI although I don't need to. And, I am happy to agree to disagree on what is 'easiest'. We all have our own unique experiences and skill-sets. And I'm happy to agree to disa

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-10 Thread David Crayford
On 11/01/2019 10:27 am, Paul Gilmartin wrote: Semicolons, yes, but: do <=> { end<=> } switch <=> SELECT ... I think Rexx got much of its lexical flavor from PL/I. But that's easy for me to say becase I don't know PL/I. From Wiki "Rexx was also intended by its creato

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-11 Thread David Crayford
. Rexx was easy to learn and have up and running . This was a g pus at least for me. The PL/1 likeness is the “ if then do” , I wrote a bunch of PL/1 on OS/VS2/HASP, back to n the dark ages. On Thu, Jan 10, 2019 at 10:18 PM David Crayford wrote: On 11/01/2019 10:27 am, Paul Gilmartin wrote:

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-11 Thread David Crayford
On 12/01/2019 4:08 am, Seymour J Metz wrote: despite being used frequently for the purpose, it's really not particularly suited for writing operating systems LOL! That's absurd! C has been ported to just about every architecture worth mentioning and is well suited to low-level programming. It

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-13 Thread David Crayford
2019 at 2:17 AM David Crayford wrote: On 12/01/2019 4:08 am, Seymour J Metz wrote: despite being used frequently for the purpose, it's really not particularly suited for writing operating systems LOL! That's absurd! C has been ported to just about every architecture worth mentioning

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-13 Thread David Crayford
On 14/01/2019 6:06 am, Ed Jaffe wrote: On 1/13/2019 4:08 AM, David Crayford wrote: On 13/01/2019 7:06 pm, Tony Thigpen wrote: I have seen some reports that current C compilers, which understand the z-hardware pipeline, can actually produce object that is faster running than an assembler

Re: Cobol and Hiperspace (was 64-bit C code fetching IGGCSI00)

2019-01-14 Thread David Crayford
You can access hiperspaces in COBOL using the MVS Callable Services for HLLs Window Services https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieac100/ws.htm. There are code examples. On 15/01/2019 2:58 am, scott Ford wrote: Peter: My typos ..sorry the question was

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-15 Thread David Crayford
On 15/01/2019 2:55 am, Ed Jaffe wrote: In my experienced the two optimizations that make the most difference are function inlining and loop unrolling. I've taken to defining functions in header files to take advantage of both (we don't use IPA). Yes. both are important. In HLASM one would use

Re: Is there a C or LE service to retrieve ISPF statistics?

2019-01-16 Thread David Crayford
Why don't you just read the directory and write a mapping for the user data area? On 16/01/2019 5:52 am, Charles Mills wrote: I'm looking for a C-callable subroutine that would give me the ISPF statistics for a PDS(E) member (if available). I'm particularly interested in the "changed" timestamp

Re: Where's the fire? | Computerworld Shark Tank

2019-01-16 Thread David Crayford
On 17/01/2019 9:51 am, Wayne Bickerdike wrote: When we went to 2 Meg it flew (like a turkey). We seemed to a manage a whole savings and loans application with that and less than 3 GB of dusk. Is that Kiwi for disk? :) -- For

Re: IARV64 - why ABEND rather than return with reason code?

2019-01-28 Thread David Crayford
On 29/01/2019 5:02 am, Charles Mills wrote: Also, note that while C++ appears very similar to C and is 99.9% a proper superset of C, it is a very different language conceptually, at least if used properly. I am not advocating for C (which IMHO offers few design advantages over the structured HLAS

Re: IARV64 - why ABEND rather than return with reason code?

2019-01-29 Thread David Crayford
On 28/01/2019 12:47 pm, Jim Mulder wrote: It is unfortunate that IBM does not make PL/X (which has object-oriented capabilities) available to ISVs. Is OO PL/X still being used for active development at IBM? I can remember a conversation I had with a guy from Hursley who told me OO PL/X was b

Re: How many asterisks to change a lightbulb?

2019-03-08 Thread David Crayford
On 8/03/2019 8:57 am, Wayne Bickerdike wrote: It's Friday and I've packed all my converter gadgets for Share in Phoenix. If you are there, I'll buy you a beer. I'm sure your beer tastes the same. David Mierowsky will be there if you want to buy him a beer Wayne! --

Re: Does z/OS "awk" support "nextfile" or "exit" action statements?

2019-05-13 Thread David Crayford
If you've got a C compiler you can build "gawk" yourself. It's already been ported to z/OS and I can see there are z/OS specific commits as recently as a few months ago. https://github.com/redox-os/gawk On 14/05/2019 6:40 am, Farley, Peter x23353 wrote: Never mind, I found the documentation

Re: z/OS specific commits (was: ... "awk" ...)

2019-05-15 Thread David Crayford
On 15/05/2019 12:13 am, Paul Gilmartin wrote: On Tue, 14 May 2019 13:58:20 +0800, David Crayford wrote: If you've got a C compiler you can build "gawk" yourself. It's already been ported to z/OS and I can see there are z/OS specific commits as recently as a few months ago.

Re: USS: su: User ID "SH" does not exist

2020-05-15 Thread David Crayford
Nope. Semicolons are a continuation! On 2020-05-15 8:13 PM, David Spiegel wrote: Hi Jon, Every line except for the last line needs a semicolon. Regards, David On 2020-05-15 08:10, Jon Bathmaker wrote: Hi Ed, Thanks for this!  How *did* you find out about the semicolons, I didn't see them an

Re: USS: su: User ID "SH" does not exist

2020-05-15 Thread David Crayford
of David Crayford [dcrayf...@gmail.com] Sent: Friday, May 15, 2020 8:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: USS: su: User ID "SH" does not exist Nope. Semicolons are a continuation! On 2020-05-15 8:13 PM, David Spiegel wrote: Hi Jon, Every line except for the last li

Re: USS: su: User ID "SH" does not exist

2020-05-15 Thread David Crayford
urse "know" this if they describe the STDPARM file as being treated as a single string  or a single line with no EOL forced at the end of each record.     Joel C Ewing On 5/15/20 7:47 AM, David Crayford wrote: Nope. Semicolons are a continuation! On 2020-05-15 8:13 PM, David Spiegel

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread David Crayford
On 2020-05-18 8:40 PM, Barkow, Eileen wrote: Java has several classes and API methods to get the time zone. Where does the JVM determine this info -is is not from the Unix settings? Yes, but you better make sure the TZ, _TZ variables are set correctly! ISO-8601 flattens this issue somewhat as

Re: Friday Follies/Why won't this work?/TSO Rant #387

2020-05-23 Thread David Crayford
On 2020-05-23 3:20 AM, scott Ford wrote: I got bit on case and end of line characters using GIT. I was using Notepad++ and had the EOL set incorrectly, duh ! Create a .gitattributes file to control line endings https://www.edwardthomson.com/blog/git_for_windows_line_endings.html Scott On

Re: GTF and SLIP vs. 64-bit execution

2020-05-26 Thread David Crayford
On 2020-05-26 5:04 AM, Ed Jaffe wrote: We recently had the need to use GTF to collect SLIP IF, SVC, USR and PI events to help diagnose a PIC 38 program check where the address to be resolved was above the bar. Unfortunately, the trace was of almost no use in diagnosis due to the more or less co

Re: CICS usage logs?

2020-05-26 Thread David Crayford
Wayne, The MCT is only required for CICS monitoring records which have a dictionary. CICS statistics SMF 110 records are fixed. On 2020-05-27 11:54 AM, Wayne Bickerdike wrote: You'll need a CICS MCT entry (Monitor control table). Sample JCL: //DELITEXEC PGM=IDCAMS //SYSIN DD * DELETE

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread David Crayford
On 2020-05-27 11:20 PM, Paul Gilmartin wrote: From: Sri h Kolusu Sent: Tuesday, May 26, 2020 9:49 PM ... Empirically, I found I couldn't create a DSN starting with a period even within apostrophes. I don't know where this is documented. This works fine for me ... //SORTOUT DD PATH='/tmp/.crea

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread David Crayford
I hate JCL! On 2020-05-28 12:11 AM, Paul Gilmartin wrote: On Wed, 27 May 2020 23:29:23 +0800, David Crayford wrote: //... This moved me to look up DSN syntax in the JCL Ref. It's chaos; I detect no plan in the design; it was put together One Piece At A Time: https://www.youtub

Re: COBOL Question

2020-06-07 Thread David Crayford
I've posted this before many times before! The conversation has got boring now - yawn! I would challenge anybody to refactor this code without goto's. https://github.com/eclipse/omr/blob/e9b85117d18c369108a9ddb790023103c35b4379/thread/common/omrthread.c#L246 On 2020-06-07 1:53 AM, Bob Bridges

Re: COBOL Question

2020-06-07 Thread David Crayford
If you really believe this nonsense then you have never programmed systems level code which requires cleanup of system resources such as locks. In 2020 we should not be having this conversation any more - it's bogus! Nobody emulates structured programming constructs such as loops using goto a

Re: Goto Statements (was: COBOL Question)

2020-06-07 Thread David Crayford
On 2020-06-07 10:48 PM, Paul Gilmartin wrote: I consider the out of line PERFORM to be far more dangerous. I have a similar issue with REXX; it does not have lexical scope, and you can fall into a procedure. A noteworthy 1976 paper (behind a paywall): Software malpractice — a distasteful

Re: Goto Statements (was: COBOL Question)

2020-06-08 Thread David Crayford
dmitquit. I've seen a Jackson structure design turned into a flowchart and the structure is lost. Flowcharts encouraged the use of GO TO. On Mon, Jun 8, 2020 at 4:45 PM David Crayford wrote: On 2020-06-07 10:48 PM, Paul Gilmartin wrote: I consider the out of line PERFORM to be far more da

Re: Python and ISPF

2020-06-08 Thread David Crayford
On 2020-06-09 5:02 AM, Kirk Wolf wrote: used as an alternative. I doubt that ISPF is POSIX pipe-savvy. What does UNIX have to do anything in this specific context? Bottom line: I can't imagine that you couldn't write a "PyISPF" package with wrappers for all of the functions. It can be done but

Re: RACF Administration the Easy Way using an Open Source ISPF Dialog

2020-06-09 Thread David Crayford
This is really cool Lionel. Could do with a install script for the github stuff. Ping me offline if you want a hand with that. On 2020-06-07 12:31 AM, Lionel B Dyck wrote: A group of us have been working on an open source project to simplify RACF Administration - it is called RACFADM and is ava

Re: New Mainframe Community

2020-06-14 Thread David Crayford
Wow, "corporate-required Internet Explorer"! Your company needs to review some of it's standards!! On 2020-06-15 12:30 PM, Farley, Peter x23353 wrote: corporate-required Internet Explorer -- For IBM-MAIN subscribe / signoff /

Re: New Mainframe Community

2020-06-16 Thread David Crayford
rsion of Chrome under the covers. Some have suggested it would be better to have more diversity in the underlying browser technology, but Chromium generally is pretty good. Scott Chapman On Mon, 15 Jun 2020 10:46:13 -0400, Gord Tomlin wrote: On 2020-06-15 00:49, David Crayford wrote: Wow, &quo

Re: Improve OMVS cp performance?

2020-06-17 Thread David Crayford
Kirk is spot on (as usual). You need a library like this one https://support.sas.com/documentation/onlinedoc/ccompiler/doc750/html/lr2/z2mvsbri.htm On 2020-06-17 8:21 PM, Lionel B Dyck wrote: Kirk - just allocating the dataset prior to the cp was faster - and that was without passing the //DD.

Re: Improve OMVS cp performance?

2020-06-18 Thread David Crayford
Interesting! The Java program probably is probably much faster because it runs on a full capacity zIIP. At my shop we run an enterprise class machine and I don't see the same results. It's very difficult to measure Java vs native when the gcp's also run full capacity. Can you share some of you

Re: Reading a dump

2020-06-21 Thread David Crayford
Agreed! Especially if you compile with GONUM. Sometimes, you do need to dig a bit deeper. For this I use Fault Analyzer which has a fastly superior UI compared to IPCS. I only crack open IPCS when I need to format control blocks or read the systrace. On 2020-06-22 1:08 AM, Charles Mills wrote:

Re: Migrate z/OS DASD volumes from Mainframe to Hercules Environment

2020-07-01 Thread David Crayford
Didn't IBM nobble Hercules with recent versions of z/OS which had propriety enablement? Basically kills it! On 2020-07-01 7:32 PM, R.S. wrote: And what? I can subscribe to IBM-MAIN using John Doe and some anonymous email. Will they track the IP from Joh Doe sent the message? IBM is aware of il

Re: Migrate z/OS DASD volumes from Mainframe to Hercules Environment

2020-07-01 Thread David Crayford
On 2020-07-01 8:26 PM, John McKown wrote: And what? I can subscribe to IBM-MAIN using John Doe and some anonymous email. Will they track the IP from Joh Doe sent the message? Using TOR (The Onion Router), it would be very difficult to get to your specific IP address. haha! How many IBMMAIN us

Re: Metal C and generated Assembler

2020-07-07 Thread David Crayford
Hi Scott, It would be useful to see a more complete C snippet. IIRC, I've seen this before where the __asm("":DS()) was not declared outside of the main function. On 2020-07-07 12:51 AM, Scott Fagen wrote: I have a Metal C program where I am trying to add some static data via an __asm(“…” :

Re: Using SSH and SFTP from Windows to z/OS using authorized_keys ???

2020-07-07 Thread David Crayford
Rocket have a web based TN3270 emulator which is quite good https://www.rocketsoftware.com/products/rocket-bluezonepassport-terminal-emulator/rocket-bluezone-web. It's a Node.js application so can run on your PC. I have tried it and it's decent WRT keyboard mapping and terminal emulation. Works

Re: Web enabled ISPF Application

2020-07-16 Thread David Crayford
Most web applications are backed by an API these days. You don't want to be parsing HTML in REXX (yikes!). On 2020-07-16 1:00 AM, Lionel B Dyck wrote: Does anyone have any advice on how to enable a current ISPF application to support a web interface? Specifically: 1. User authe

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-16 Thread David Crayford
On 2020-07-17 11:12 AM, Tony Thigpen wrote: By your statements, MVC also fails. From the start, MOVE in the programming world has been equated to what you are calling a COPY. I beg to differ! For the programming languages I code in use there is a huge difference between copy and move semanti

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-16 Thread David Crayford
On 2020-07-17 11:12 AM, Tony Thigpen wrote: And, what mainstream languages use COPY instead of MOVE. C, C++, C#, Java, Python, Ruby, etc, etc. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to li

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-18 Thread David Crayford
ssion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Friday, July 17, 2020 00:53 I beg to differ! For the programming languages I code in use there is a huge difference between copy and move semantics. --- On 2020-07-17 11:12 AM, Tony Thigpen wrote: From the start, M

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-21 Thread David Crayford
I agree that cups are useful! The only time I find Imperial useful is reading US recipes that use cups. Other than that Imperial is brain damaged! And I say that having grown up in the UK to a family which used Imperial all the time in my youth. I used to go to the sweet shop and ask for a quart

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-21 Thread David Crayford
log: https://mainframeperformancetopics.com > > Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/or > > https://itunes.apple.com/gb/podcast/mainframe-performance-topics/id1127943573?mt=2 > > > Youtube channel: https://www.youtube.com/channel/UCu_65HaYg

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-21 Thread David Crayford
Not as bad as the pint. I thought I was being short changed when I first ordered a beer in the USA! On 21 Jul 2020, at 10:57 pm, Tom Russell wrote: >> Do we really want to stick with a system of units that few of us understand, >> with the >> same name denoting different quantities depending o

Re: cURL and security

2020-07-23 Thread David Crayford
On 2020-07-23 2:17 PM, kekronbekron wrote: It would be best to consider switching to the z/OS Client Web Enablement Toolkit. There are sample programs for REXX / ASM / COB .. and I'm positive there'll be a Python client pretty soon (IBM Open Enterprise Python for z/OS). To me the idea of writ

Re: cURL and security

2020-07-23 Thread David Crayford
On 2020-07-24 11:12 AM, kekronbekron wrote: Just mentioned ASM / COB CWET for options really. They're a a lot more involved than the Python client (when that's available). curl is ok as a user, but when you want to productionize something, I would think the recommendation would be to use CWET.

Re: cURL and security

2020-07-23 Thread David Crayford
Use tokens https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/ On 2020-07-24 11:21 AM, Luke Wilby wrote: Hey David Do you authenticate to Jira when using cURL? How? -Original Message- From: IBM Mainframe Discussion List On Behalf Of David Crayford Sent

Re: cURL and security

2020-07-23 Thread David Crayford
on is not a great idea. Using cURL or libcurl is not inherently dangerous. Any code that goes into production should be peer reviewed. You can write bad code in any language using any tool. - KB ‐‐‐ Original Message ‐‐‐ On Friday, July 24, 2020 8:53 AM, David Crayford wrot

Re: cURL and security

2020-07-24 Thread David Crayford
Mainframe Discussion List On Behalf Of David Crayford Sent: Friday, July 24, 2020 13:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: cURL and security Use tokens https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest- apis/ On 2020-07-24 11:21 AM, Luke Wilby wrote: Hey David Do you au

Re: cURL and security

2020-07-24 Thread David Crayford
Original Message ‐‐‐‐‐‐‐ On Friday, July 24, 2020 10:15 AM, David Crayford wrote: On 2020-07-24 12:02 PM, kekronbekron wrote: I wouldn't. I would recommend using a sophisticated networking library like Java or whatever your favorite language is on the JVM. Can't figure out if you&#

Re: cURL and security

2020-07-24 Thread David Crayford
How is that any different to using AT-TLS? On 2020-07-24 8:48 PM, Dave Jones wrote: Would this be of any use here: https://www.stunnel.org/ Stunnel is a proxy designed to add TLS encryption functionality to existing clients and servers without any changes in the programs' code. Its architectur

Re: OMVS CP command anomaly

2020-07-28 Thread David Crayford
On 2020-07-29 3:03 AM, Paul Gilmartin wrote: The problem is the x'0D' and x'15' characters which were generated from DTL. They copy (cp) fine from z/OS to OMVS but the copy back causes the data after either of those characters to go to a new record. I'm inclined to regard the output of a lang

Re: Goodbye.

2020-08-04 Thread David Crayford
Please lurk! You were a fantastic contributor to this forum! Best of luck with your retirement. On 2020-08-03 3:44 PM, Vernooij, Kees (ITOP NM) - KLM wrote: After more than 41 years working as a mainframe systems programmer, the time has come for me to say goodbye. I enjoyed the mainframe worl

Re: (yet another) problem with zcx container

2020-08-14 Thread David Crayford
I doubt it would be in production if it wasn't ready :) On 2020-08-14 4:32 PM, Brian Westerman wrote: I hate to say this but I can't help myself, but what makes you think they actually got it to work? :) But seriously, the redbooks are written sometimes before the final processes are set in p

Re: Dovetail/Kirk Wolf?

2020-09-01 Thread David Crayford
I suspect if you install Tomcat  9.0.37 and copy the zos-*.jars from Dovetails tomcat it will work. On 2020-09-01 6:58 PM, Jousma, David wrote: Thanks Kirk, Totally understand re free z/OS distribution. Any plans to port a newer version? We've got a lot of time/effort in our Tech support

Re: Dovetail/Kirk Wolf?

2020-09-01 Thread David Crayford
Steve, Maybe you could just also just supply the jar files so a full install isn't required. A script to install would be a nice to have. On 2020-09-01 10:59 PM, Steve Goetze wrote: Trust me, it's better for everybody that Kirk deleted his twitter account. To the OP - we've updated T:Z Quick

Re: A little magic from Doug Nadel

2020-09-02 Thread David Crayford
On 2020-09-03 1:47 AM, Robert Prins wrote: This seems to go hand-in-hand with HILITE.  Does it understand that PL/I has no reserved words and that any of the above might be merely identifiers? ISPF HILITE is just that highlight. It do\es not do any parsing of the language. I think EDOEND preda

Re: A little magic from Doug Nadel

2020-09-03 Thread David Crayford
Rob is the SDSF architect so you may want to heed his advice! It's my understanding that Doug's ISFPCU41 panel and REXX panel exit was for highlighting syslog. Most of that stuff is in native SDSF now so you don't need customization. On 2020-09-03 9:10 PM, Robert Prins wrote: On 2020-09-03 0

Re: A little magic from Doug Nadel

2020-09-03 Thread David Crayford
On 2020-09-03 12:16 AM, Tom Conley wrote: ISPF HILITE is just that highlight. It do\es not do any parsing of the language. I think EDOEND predated HILITE, and it also has an option to just show all "myproc: proc;" ... 'end myproc;' statements You can customize ISPF highlight code. Check out

Re: A little magic from Doug Nadel

2020-09-03 Thread David Crayford
I don’t want to bother with XMIT files. Git has been ported to z/OS and works great. > On 3 Sep 2020, at 10:30 pm, Robert Prins wrote: > > On 2020-09-03 10:56, David Crayford wrote: >>> On 2020-09-03 12:16 AM, Tom Conley wrote: >>>>>> >>>>>

Re: A little magic from Doug Nadel

2020-09-04 Thread David Crayford
On 2020-09-03 11:34 PM, Tom Conley wrote: On 9/3/2020 11:25 AM, David Crayford wrote: I don’t want to bother with XMIT files. Git has been ported to z/OS and works great. David, Others have requested GIT, so stay tuned. Thank you Tom! You can use Lionel's Zigi if you would rather no

Re: REXX true/false (was Constant Identifiers)

2020-09-10 Thread David Crayford
On 2020-09-10 8:05 PM, Rupert Reynolds wrote: Confused? Difficult to say--the brash nature of this debate is clouding things. Perfect example of bike shedding! A rambling thread where people argue over stuff that is not really useful! IBMMAIN is difficult to read these days. The good stuff is

Re: z/OS Container Extensions

2019-05-21 Thread David Crayford
Dumb question: How to we shell into a docker container running on z/OS? On 21/05/2019 6:25 pm, Anthony Giorgio wrote: If you would like to build your own s390x Docker container, the recommended paths are to either use a zCX instance on z/OS, or a Linux on Z environment. As for your specific q

Re: z/OS Container Extensions

2019-05-21 Thread David Crayford
s the design is for spinning up development images and not deploying in production right? On 21/05/2019 7:11 pm, David Crayford wrote: Dumb question: How to we shell into a docker container running on z/OS? On 21/05/2019 6:25 pm, Anthony Giorgio wrote: If you would like to build your own s390x D

Re: unresolved externals LE program

2019-07-12 Thread David Crayford
Here's my PROC for 64-bit C++ compile/link. You will have to change it for C. //*= //* //* Compile and link a C++ XPLINK program. //* //* Note: - The outfile must be a PDSE or HFS file //* //*

Re: unresolved externals LE program

2019-07-12 Thread David Crayford
I don't know. Probably a historical anomaly! Probably doesn't even need a STEPLIB On 2019-07-12 8:30 PM, David Spiegel wrote: Hi David, Why does The Binder step have this: //STEPLIB DD  DISP=SHR,DSN=SYS1.CEE.SCEERUN2 // DD  DISP=SHR,DSN=SYS1.CEE.SCEERUN Regards, David --

Re: unresolved externals LE program

2019-07-12 Thread David Crayford
M-1047) NOSEQ,NOMARG ROCONST ROSTRING SOURCE NOVECTOR(TYPE,AUTOSIMD) XPLINK On 2019-07-12 8:10 PM, Joseph Reichman wrote: I think that was it had it in a pds Joe Reichman 170-10 73 rd ave Fresh meadows NY 11366 On Jul 12, 2019, at 8:07 AM, David Crayford wrote: Here's my PROC for 64-

Re: unresolved externals LE program

2019-07-12 Thread David Crayford
9-07-12 8:10 PM, Joseph Reichman wrote: I think that was it had it in a pds Joe Reichman 170-10 73 rd ave Fresh meadows NY 11366 On Jul 12, 2019, at 8:07 AM, David Crayford wrote: Here's my PROC for 64-bit C++ compile/link. You will hav

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-17 Thread David Crayford
On 2019-07-16 4:44 AM, Tom Marchant wrote: Some C programmers are fond of if (7 == foo) rather than the more conventional if (foo == 7) because if one gets in the habit of doing so and then accidentally codes if (7 = foo) one gets a compile error rather than unexpected behavior. For those not

Re: z/OS 2.4 Announcement Letter

2019-07-23 Thread David Crayford
Why are IBM migrating from SMB to NFS? As a Windows user SMB is far superior and NFS is onerous to setup and adds no value. In fact it sucks for Windows! On 2019-07-23 5:34 PM, Jim Taylor wrote: https://www-01.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_ca/0/877/ENUSZP19-0410/index.h

Re: XTIOT impact?

2019-07-29 Thread David Crayford
__asm() is perfectly valid for C++. I used it all the time. > On 30 Jul 2019, at 6:00 am, Charles Mills wrote: > > Thanks. __asm is C but not C++, unfortunately. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf

Re: Instruction speeds

2019-08-13 Thread David Crayford
Some interesting information on branch prediction in that paper. If you've got a z/OS C++ compiler try this snippet out, it's fascinating: https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array On 2019-08-13 11:47 PM, Charles Mills

Re: Instruction speeds

2019-08-16 Thread David Crayford
On 2019-08-16 3:17 AM, Tony Harminc wrote: This is really interesting. For those put off by the "C++" note that the issue has nothing whatsoever to do with C++. It is a pure branch prediction issue. Picture a program that computes an array of pseudo-random 8-bit integers from 0 to 255. Then it so

Re: Local time in C on z/OS

2019-08-18 Thread David Crayford
I once wrote some C code that sets the TZ, _TZ variables from the time zone offset, leap second offset values in the CVT. #define STCK_UNIT_HOUR 0xD693A40LLU #define STCK_UNIT_MIN  0x393870LLU #define STCK_UNIT_SEC  0xF424LLU void set_time_zone(int64_t adjust) {   char tzone[30] = "

Re: Local time in C on z/OS

2019-08-19 Thread David Crayford
On 2019-08-19 12:41 AM, Paul Gilmartin wrote: I once wrote some C code that sets the TZ, _TZ variables from the time zone offset, leap second offset values in the CVT. ...   // set the time zone offset and apply the leap second offset   int64_t ldto = cvt->cvtext2->cvtldto - cvt->cvtext2->c

Re: Linux address space on z/OS 2.4

2019-08-20 Thread David Crayford
On 2019-08-20 12:48 AM, Ed Jaffe wrote: On 8/19/2019 7:40 AM, Matt Hogstrom wrote: Lots of possibilities for what one can do.  Something to bear in mind its a “virtualized” guest so I/O performance will be less than native zLinux performance.  I haven’t seen any good data on the actual differe

Re: Local time in C on z/OS

2019-08-20 Thread David Crayford
On 2019-08-20 1:23 AM, Paul Gilmartin wrote: ... Localtime() expects time() to have accounted for leap seconds, so they should not appear in TZ. An example on Linux (TZ value simulated by hand): 510 $ TZ=Asia/Calcutta date; TZ=GMT-5:29:33 date Sun Aug 18 21:45:02 IST 2019 Sun

Re: S0C4 XL C Compiler

2019-08-26 Thread David Crayford
A Sev 1 PMR? They're quite rare and usually used for important stuff like "DB2 is hosed and I can't run production work" :) On 2019-08-25 10:29 PM, Joseph Reichman wrote: JUST CODED region=1000M same abend opened up SEV 1 PMR with IBM but I told them they could wait till Monday thanks -

Re: S0C4 XL C Compiler

2019-08-26 Thread David Crayford
not a production issue." I'm sorry, but what we DO here -- our production as it were -- is development. We produce software products. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Monday, Augus

Re: S0C4 XL C Compiler

2019-08-26 Thread David Crayford
On 2019-08-27 7:14 AM, Joseph Reichman wrote: I opened a PMR with IBM they said they were able to recreate the problem and would get back to me wednesday I would think this would take 5 minutes to fix It might take them 5 minutes to fix the bug but the whole process of getting it tested, bui

Re: COW for fork() is disappearing in z/OS 2.4

2019-08-27 Thread David Crayford
On 2019-08-27 8:13 PM, Andrew Rowley wrote: FWIW - debugging performance of forked Unix process startup/overhead is a mess - we had one customer who was seeing terrible performance when fork/execing tiny little shell processes that did practically nothing.   It was only happening on one of the

Re: COW for fork() is disappearing in z/OS 2.4

2019-08-27 Thread David Crayford
On 2019-08-27 8:19 PM, David Crayford wrote: On 2019-08-27 8:13 PM, Andrew Rowley wrote: FWIW - debugging performance of forked Unix process startup/overhead is a mess - we had one customer who was seeing terrible performance when fork/execing tiny little shell processes that did practically

Re: COW for fork() is disappearing in z/OS 2.4

2019-08-28 Thread David Crayford
On 2019-08-28 7:37 PM, Jerry Callen wrote: Kirk Wolf wrote: Unfortunately, bash is pretty complicated software, and updating it to do this is not at all easy because of the difference in semantics between fork()/exec() and spawn(). Amen, brethren! :-) Interestingly, it looks like there is exa

Re: Using COBOL on ZIIP via SRB etc

2019-09-06 Thread David Crayford
Gerry, I think you are SOL if you want to do that! Running code on a zIIP has to be under license from IBM and is only available to IBM business partners. On 2019-09-06 6:07 PM, Gerry Anstey wrote: Hi, has anyone had any success in setting up and SRB to run a COBOL program on ZIIP? I have be

Re: Part number for RDZ

2019-09-11 Thread David Crayford
On 2019-09-10 5:06 AM, Joseph Reichman wrote: To debug amode amode 64 xl c\c++ you need rdz or idz Who told you that an IBM IDz salesman? I use the debug tool 3270 UI for debugging 64-bit C++ programs all the time. It seems to come with passport advantage meaning I’m guessing a working stif

Re: C headers in z/OS 2.4

2019-09-17 Thread David Crayford
Agreed! Good job Peter and it's great to see that it made it into the file system :) On 2019-09-17 10:09 PM, Charles Mills wrote: Thank you @Peter for spearheading this. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Pete

Re: C headers in z/OS 2.4

2019-09-17 Thread David Crayford
On 2019-09-18 12:16 AM, Seymour J Metz wrote: I'd rather have PL/I headers. I don't think IBM could justify doing any work for PL/I because there isn't a compelling requirement from customers or vendors to use PL/I for systems level code. On the other hand, Metal/C is taking off very quickly

Re: C headers in z/OS 2.4

2019-09-18 Thread David Crayford
Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of David Crayford Sent: Tuesday, September 17, 2019 10:17 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: C headers in z/OS 2.4 On 2019-09-18 12:16 AM, Seymour J Metz wrote: I'd rather have PL/I headers. I don't

Re: C headers in z/OS 2.4

2019-09-18 Thread David Crayford
d have to support it which comes with a cost and risk. Peter -Original Message----- From: IBM Mainframe Discussion List On Behalf Of David Crayford Sent: Wednesday, September 18, 2019 10:40 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: C headers in z/OS 2.4 You make a valid point but it

Re: C headers thain z/OS 2.4

2019-09-18 Thread David Crayford
s for safety critical applications in use today https://www.rust-lang.org/ -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, September 17, 2019 10:16 PM To: IBM

Re: Who writes these things?

2019-09-25 Thread David Crayford
On 2019-09-25 10:54 AM, Jon Perryman wrote: > HTML is not only not object oriented, it is not even a procedural language. Using developer tools in any browser will show you each object with the object attributes. HTML predefined all classes and the attributes associated with those classes (e

Re: Who writes these things?

2019-09-26 Thread David Crayford
On 2019-09-27 2:05 AM, Jon Perryman wrote: On Wednesday, September 25, 2019, 02:44:14 AM PDT, David Crayford wrote: Are you talking about the DOM?  The definition of OO typically refers to languages that support polymorphism, inheritance and encapsulation. HTML is basically a markup

Re: Who writes these things?

2019-09-26 Thread David Crayford
On 2019-09-27 12:32 PM, Jon Perryman wrote: JavaScript OO was specifically designed around DOM. What language features do you believe have anything to do with DOM? If you've used javascript, you will have noticed it doesn't have "CLASS". The functionality exists but not in a way OO programmers

  1   2   3   4   5   6   7   8   9   10   >