Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-12 Thread David Crayford
Another problem you have is you're not calling __cinit() [1] to initialize the Metal/C environment so the call to malloc() will fail as no heap has been created. You really must *always* check malloc() even in a test driver. [1] https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.

Re: EBCDIC-ASCII converter and other tools

2021-01-01 Thread David Crayford
On 1/01/2021 3:07 am, Robert Prins wrote: That's a straw man argument! I have a lot of friends that use FB for their businesses which in the old days would require a bespoke web site. Potentially giving a job and income to local people, rather than the 0.0001% haha! One of my ex colleague

Re: EBCDIC-ASCII converter and other tools

2020-12-31 Thread David Crayford
On 31/12/2020 3:59 am, Robert Prins wrote: n 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread David Crayford
On 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is owned by Microsoft, aren't they the enemy t

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
does seem quite powerful. From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, December 29, 2020 11:15 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools I'm using PowerShell 7.2. I don't use PowerShell all that

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F -- --- - 30 31 32 33 34 35 36 37 38 39 200123456789 From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, December 29, 202

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
On 30/12/2020 1:12 am, R.S. wrote: This is even simpler tool, maybe it address rare need - just to truncate first nnn bytes from beginning of file Possible usage: truncfile -header -12384 ifile ofile truncates/deletes header, which is 12384 bytes long, the output is written to ofile. Ofile is s

Re: C macro for maximum path length?

2020-12-04 Thread David Crayford
H_MAX * #define PIPE_BUF */ Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Thursday, December 3, 2020 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: C macro for maximum path length? PATH_MAX on

Re: C macro for maximum path length?

2020-12-03 Thread David Crayford
PATH_MAX on z/OS is 1023. This is documented in lots of error messages and BPX assembler services. > On 3 Dec 2020, at 7:16 am, Charles Mills wrote: > > I have some code that compiles both under Windows Visual Studio and z/OS > XLC. > > In Windows the maximum length of a file path is defined

Re: OT: using ultrawide monitor?

2020-11-28 Thread David Crayford
On 29/11/2020 1:03 am, John McKown wrote: I guess this might be a bit off topic. My apologies if it is. I am considering replacing my 43 inch TV (4K HDR, 3840x2160, 16:9 aspect ratio) with an "UltraWide" 35 inch, 3440x1440, 21:9 aspect ratio, gaming monitor. My son has a 41 inch ultra-wide. I

Re: Improve OMVS cp performance?

2020-11-18 Thread David Crayford
questing a global roll-out. Cheers On Tue, Nov 17, 2020 at 11:02 PM David Crayford wrote: This is really cool. We could use this right now for our SCLM/Git Integration tooling. Q: How does it handle member ENQs. Does it ENQ using SPFEDIT or SYSDSN? One of the problems we ran into with "

Re: Improve OMVS cp performance?

2020-11-17 Thread David Crayford
This is really cool. We could use this right now for our SCLM/Git Integration tooling. Q: How does it handle member ENQs. Does it ENQ using SPFEDIT or SYSDSN? One of the problems we ran into with "cp" copying an entire data set is it fails if one member is in use. We worked around this by wri

Re: UNIX fork() performance (was: SMF to capture ... )

2020-10-29 Thread David Crayford
Good work! On 30/10/2020 10:40 am, Andrew Rowley wrote: On 30/10/2020 2:32 am, Kirk Wolf wrote: Your performance work in this area is very interesting to me.  I would love to hear more if you ever write up your findings, even informally. I have been looking at SMF data and trying to build a

Re: Cbttape - dataset being used

2020-10-16 Thread David Crayford
On 2020-10-16 1:43 PM, Tom Conley wrote: On 10/15/2020 10:19 PM, David Crayford wrote: There's no need to install TASID. The ISPF ISRDDN utility has an ENQ dialog and is shipped as part of ISPF. From any command line enter DDLIST;ENQ. The major advantage to TASID is that it has a s

Re: Cbttape - dataset being used

2020-10-15 Thread David Crayford
There's no need to install TASID. The ISPF ISRDDN utility has an ENQ dialog and is shipped as part of ISPF. From any command line enter DDLIST;ENQ. On 2020-10-14 8:55 PM, Roberto Halais wrote: Joe: Thank you for the info. Just one detail. I checked and it's FILE980 in CBT for the TASID fix.

Re: IBM splitting into two companies

2020-10-12 Thread David Crayford
Node.js on z/OS. The libuv event loop can spike and peg at 50% CPU. We dumped it and it seems to be looping and leaking file descriptors. Maybe it's not ready for prime time yet. Hopefully, zCX containers will solve some of these "porting" issues. Joe On Mon, Oct 12, 2020 at

Re: IBM splitting into two companies

2020-10-12 Thread David Crayford
spouting it? All you've done is re-post IBM marketing material. Have you got anything original? For example, show me a customer that is running Node.js in production on z/OS? Joe On Mon, Oct 12, 2020 at 5:57 AM David Crayford wrote: On 2020-10-12 6:41 PM, Bill Johnson wrote: C

Re: IBM splitting into two companies

2020-10-12 Thread David Crayford
r BS! Sent from Yahoo Mail for iPhone On Monday, October 12, 2020, 5:53 AM, David Crayford wrote: On 2020-10-12 12:19 AM, Bill Johnson wrote: Amazon, PayPal, & Apple either have a mainframe (PayPal did when I interviewed there) In what parallel universe did Amazon, Paypal run a mainfra

Re: IBM splitting into two companies

2020-10-12 Thread David Crayford
Yes, semantics! Here's another cracker https://www.ft.com/content/6f02ce76-e1d6-45d8-b27a-0491281c2507! On 2020-10-12 5:55 PM, R.S. wrote: David, You wrote: "IBM patents are mostly pathetic." I understand it as (almost all) IBM patents are pathetic. I disagree with such generalisation. No

Re: IBM splitting into two companies

2020-10-12 Thread David Crayford
Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Sunday, October 11, 2020 10:39 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM splitting into two companies It was me that said they were pathetic a

Re: IBM splitting into two companies

2020-10-11 Thread David Crayford
On 2020-10-12 12:19 AM, Bill Johnson wrote: Amazon, PayPal, & Apple either have a mainframe (PayPal did when I interviewed there) In what parallel universe did Amazon, Paypal run a mainframe? lala-land? If I google "paypal technology stack" and I don't see a mainframe! Mainframes are for run

Re: IBM splitting into two companies

2020-10-11 Thread David Crayford
It was me that said they were pathetic and I stand by that remark. There's a website that has a "stupid patent of the month" which is dominated by IBM. Here's a good one! https://www.eff.org/deeplinks/2017/02/stupid-patent-month-ibm-patents-out-office-email A lot of my colleagues are ex IBMe

Re: IBM splitting into two companies

2020-10-11 Thread David Crayford
. You also don’t want your health records hacked. In fact, most HC companies can get fined 10k per record compromised. Sent from Yahoo Mail for iPhone On Sunday, October 11, 2020, 1:28 AM, David Crayford wrote: You're conflating enterprise with traditional mainframe customers such

Re: IBM splitting into two companies

2020-10-11 Thread David Crayford
IBM patents are mostly pathetic. They patent stuff like "how to create a railroad diagram using REXX . It's embarrassing! The likes of Google, Facebook and even the new Microsoft open source all of their code so everybody can use it for free. Software patents are nothing more then bargaining ch

Re: IBM splitting into two companies

2020-10-11 Thread David Crayford
Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Saturday, October 10, 2020 11:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM splitting into two companies Caution! This message was sent from outside your o

Re: IBM splitting into two companies

2020-10-10 Thread David Crayford
On 2020-10-11 11:18 AM, Wayne Bickerdike wrote: At my exit interview, my manager asked why I was leaving. I told him I was going to work for a start-up developing applications for Intel 8080 and Z80 microcomputers. He said, "you can work out a months notice because I don't ever see IBM getting in

Re: IBM splitting into two companies

2020-10-10 Thread David Crayford
You're conflating enterprise with traditional mainframe customers such as the finance industry. Apple, BP, Shell, Coca-Cola etc all use AWS, are they not enterprise customers? As for health care, the UK NHS is a huge AWS customer. The reputation of IBM's cloud (or maybe just IBM) in Australia

Re: usleep()

2020-10-02 Thread David Crayford
On 2020-10-01 8:16 PM, Paul Gilmartin wrote: On Wed, 30 Sep 2020 17:19:32 -0400, Phil Smith III wrote: The usleep() function in z/OS is documented as taking a single operand that must be less than 1M; on other platforms, it must be *at least* 1M. It also generates no error, and just returns i

Re: usleep()

2020-10-01 Thread David Crayford
On 2020-10-01 5:19 AM, Phil Smith III wrote: The usleep() function in z/OS is documented as taking a single operand that must be less than 1M; on other platforms, it must be *at least* 1M. It also generates no error, and just returns instantly if you give it a value of 1M or more. usleep() r

Re: blanks at the end of Unix file names - was LMINIT cannot handle concatenation with more than 16 data sets?

2020-09-30 Thread David Crayford
+1 On 2020-09-30 7:59 AM, Charles Mills wrote: Applications should not "validate" filenames before attempting to open or create a file. Present the name to the file system API and report any error back to the user. Application filename validation is what leads to these inconsistencies. Charle

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: 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: 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-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
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-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: 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: 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: (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: 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: 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: 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: 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
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-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-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 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
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: 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: 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
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-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-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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-10 Thread David Crayford
e objective critique checkout out http://phpsadness.com/. What's good with this site is that you can see the PHP version where problems have been fixed. On 5/9/2020 11:58 PM, David Crayford wrote: Anyway, don't take my word for it! This guy created a website just to rant about why PHP s

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
Anyway, don't take my word for it! This guy created a website just to rant about why PHP sucks https://whydoesitsuck.com/why-does-php-suck/ On 2020-05-10 12:45 PM, Jack J. Woehr wrote: On 5/9/20 10:13 PM, Seymour J Metz wrote: PHP is still the easiest way to toss up an interactive website. To

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
On 2020-05-10 12:44 PM, Jack J. Woehr wrote: I appreciate that. If you're a js programmer, you're a js programmer. I was talking about data center programmers who have to do anything and everything at the drop of a hat. PHP is for them. It's certainly not in our data center. I had to lear

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
On 2020-05-10 11:33 AM, Tom Brennan wrote: When will it all settle down to just one programming language?? Ha - I know, never. Never! The new kid on the dynamic language block is Julia https://julialang.org/. It's a very well designed language that feels a lot like Lua. Because of the grea

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
I do a lot of backend web development work. The company I work for offer a Z/OS port of PHP as part of ported tools. Nobody uses it internally. We do have a lot of products coming online that use Node.js. The young guys seem to be able to get stuff up and and running in matter of hours next not

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
That’s debatable! Most people would consider Node.js, Python Django or Ruby on Rails paired with a JavaScript framework like React to be far superior to PHP. > On 10 May 2020, at 11:12 am, Jack J. Woehr wrote: > >> On 5/9/20 9:01 PM, Seymour J Metz wrote: >> Flaws, yes. Obscure, not nearly as

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
a value in being a source of innocent merriment, of > innocent merriment? > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
No it’s not it’s a terrible language. It’s so bad it’s almost always the butt of jokes in the programming community https://www.i-programmer.info/news/98-languages/6758-the-reason-for-the-weird-php-function-names.html > On 10 May 2020, at 9:49 am, Jack J. Woehr wrote: > >> On 5/9/20 7:12 PM, S

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
ion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > David Crayford [dcrayf...@gmail.com] > Sent: Saturday, May 9, 2020 9:14 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Developers say Google's Go is 'most sought after' programming > language of 2020 > >

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
interfere with determinism? > > Is there a z/OS port of Rust? > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > D

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
Go is not a replacement for C++. It’s a GC language which makes it completely unsuitable for deterministic programming domains. Rust is the C++ replacement with RAII and memory ownership baked in. > On 10 May 2020, at 2:44 am, Charles Mills wrote: > > +1 on the name. > > I read an article on

Re: Developers say Google's Go is 'most sought after' programming language of 2020

2020-05-09 Thread David Crayford
The more modern languages supported on z/OS the better. Otherwise it will just be viewed as a legacy platform and will slowly wither on vine. You may find it uninteresting but if we want to attract young people to the platform it's going to need something a little bit more contemporary then COBO

Re: IBM Developerworks is gone!

2020-05-08 Thread David Crayford
I totally agree! I don't like HTML very much but I do like markdown which is why I love modern static website builders like hugo https://gohugo.io/. On 2020-05-08 10:30 AM, Tom Brennan wrote: I've been making help-style web pages since about 2000, when my 5-year old daughter pushed me to lear

Re: Using Windows ssh with z/OS

2020-05-06 Thread David Crayford
On 2020-05-07 12:55 AM, David Crayford wrote: On 2020-05-06 11:32 PM, Kirk Wolf wrote: Not so fast: cp and cat are both /bin/sh built-in commands ( documented under "Built-in commands" in the command reference for sh). So the shell does employ DDs;-) I didn't know that! I th

Re: Using Windows ssh with z/OS

2020-05-06 Thread David Crayford
On 2020-05-06 11:32 PM, Kirk Wolf wrote: Not so fast: cp and cat are both /bin/sh built-in commands ( documented under "Built-in commands" in the command reference for sh).So the shell does employ DDs;-) I didn't know that! I thought they were binaries in /bin! Thanks ;) --

Re: Using Windows ssh with z/OS

2020-05-06 Thread David Crayford
We've had this conversation many times before. Utilities that use fopen() support DD:xxx and are not likely to change. Gil is being pedantic. But maybe IBM should update the doc? On 2020-05-06 8:31 PM, Kirk Wolf wrote: cat DD: isn't documented as supported? :-) what about "cp //DD:xxx /dev/

Re: Using Windows ssh with z/OS

2020-05-06 Thread David Crayford
BTW, if you want to use the delete key in the bash command line you need to put the following line into your readline init file. echo "\"\e[3~\"": delete-char >> ~/.inputrc On 2020-05-05 8:11 PM, Michael Babcock wrote: After reading this thread I finally have my command line completion back!

Re: Using Windows ssh with z/OS

2020-05-06 Thread David Crayford
ut without _BPX_SHAREAS support: - there are things that you just can't do, like use DDs - the overhead for forking new address spaces is significant for many tasks. On Tue, May 5, 2020 at 8:06 AM David Crayford wrote: To create terminfo colors check out Jerry Callens comment in thi

Re: Using Windows ssh with z/OS

2020-05-05 Thread David Crayford
To create terminfo colors check out Jerry Callens comment in this thread https://forum.rocketsoftware.com/t/no-colors-running-over-ssh-in-cygwin/1009/7 On 2020-05-05 8:11 PM, Michael Babcock wrote: After reading this thread I finally have my command line completion back! I have Rocket’s Bash i

Re: AW: Using Windows ssh with z/OS

2020-05-05 Thread David Crayford
On 2020-05-05 6:39 AM, Wendell Lovewell wrote: Installing Rocket's bash provided the cursor history scrolling I was looking for. I don't perceive a difference between TERM=xterm+256color and TERM=xterm in the command-line-only functions I use. (I don't see any coloring in the ls or other out

Re: LzLabs

2020-05-01 Thread David Crayford
e who mentioned them to me. He was a diehard MVSer and thought they were pretty impressive. Scott On Fri, May 1, 2020 at 7:00 AM David Crayford wrote: I used to work with the guy that was the tech lead for the LzLabs CICS project. He tried to recruit some of us! IIRC, they got it churning out p

<    3   4   5   6   7   8   9   10   11   12   >