Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
It's not! Basically *nothing* about IND$FILE is documented. IIRC that the 3270 datastream manual, which is out of print, describes the basics of 3270 structured fields. The only way to know the details of how IND$FILE uses them is by hacking. CM On Wed, 25 Sep 2024 17:12:29 -0400, David Spiege

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
That's the first I have ever seen that document. It appears to be extracted from a longer perhaps internal-use-only IBM document. Note that it starts on page 11. (C) Copyright International Business Machines Corporation 1995 -- which is consistent with my recollection as to generally when the S

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
Really? Is there serious interest in a modern IND$FILE? UNIX file support? What else? I have the skills to do that. Is there really serious interest? Charles On Wed, 25 Sep 2024 19:18:51 +, roscoe5 wrote: >An enhanced IND$FILE, how many of us would love that‽ That might even swing my >ch

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
Yeah, they solve very different problems. FTP is cross-system: it supports to and from nearly every current OS in the world. IND$FILE is very convenient in some situations, but it is strictly 3270 client to/from IBM mainframes. Charles On Wed, 25 Sep 2024 15:29:17 -0400, Phil Smith III wrote:

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
That was true once upon a time but has not been true since about 1995. IND$FILE uses a 3270 sub-protocol called "structured fields" and can transfer up to 32K of binary data in a block. It's still single-task and half-duplex, and layered into TSO, all of which makes it a lot slower than FTP, bu

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
I don't but perhaps there is a Redbook or similar. AT-TLS is one of the coolest d@mn pieces of software ever written, IMHO. It sits at 50,000 feet and can "TLS-ify" any TCP program. Let's say someone at your shop wrote some utility for your shop years ago that does some chore -- sends the widge

Re: Mainframe FTP status

2024-09-25 Thread Charles Mills
I find it vanishingly unlikely that FTP would go away or have its functionality significantly reduced. As of z/OS V2R5 (I think that's right) FTP server no longer supports "internal" TLS. If you want TLS you will have to use AT-TLS to impose TLS, well, "transparently" (which is not a terribly b

Re: POSTing a WAIT in another Address Space; POST ASCB= parameter; S602 Abend

2024-09-04 Thread Charles Mills
RUCSA is such a bad idea that IBM charges you extra for the feature just to try to discourage you from using it. I am not going to mention names out of school but I do know that the powers that be resisted even adding the feature. (A few customers demanded it, and you know who won THAT argument

Re: POSTing a WAIT in another Address Space; POST ASCB= parameter; S602 Abend

2024-09-04 Thread Charles Mills
Staying out of trouble with X-memory post is a tough assignment. Sad voice of experience here: I am looking at a six-year-ago reprimand from IBM support for making a mess in an LPAR with the x-memory post code in a vendor product I wrote. Use IEAMSXMP! (Unless support for z/OS < V2R2 is necessa

Re: How do I choose a subpool?

2024-09-01 Thread Charles Mills
You know what? I've decided to take @Rob's advice and do individual FREEMAINs one at a time. The code is going to run in a variety of shared ISPF and Websphere environments. No matter what subpool I choose, there is just no way of knowing that another programmer hasn't chosen to use the same sub

Re: How do I choose a subpool?

2024-08-31 Thread Charles Mills
Thanks, @Rob. Following your advice more or less I changed to subpool 35 and it is working like a champ. I stuck with my original design of doing a subpool FREEMAIN after every 10 calls. Old "efficiency" habits die hard. But I do hear you. If I had done "regular" FREEMAINs instead of subpool F

Re: Subpool FREEMAIN

2024-08-31 Thread Charles Mills
> the invocation asked to free location 0 for length of x'0100' and that > properly got 378-1C. I was following this guidance in the documentation: If you specify R,LV=(0) you cannot specify the SP parameter. You must specify the subpool in register 0; the high-order byte must contain the s

How do I choose a subpool?

2024-08-31 Thread Charles Mills
Starting a new thread after @Peter dryly points out that freeing all of LE's storage in the middle of a run is "unlikely to be a good idea." How DO I choose a subpool? Here's the bigger picture. I am using https://www.ibm.com/docs/en/zos/3.1.0?topic=descriptions-r-admin-irrseq00-racf-administrat

Re: Subpool FREEMAIN

2024-08-30 Thread Charles Mills
rmat for R (SVC > x'A'). > >FREEMAIN R,A=(1),LV=(0) should work better. > >But I would recommend FREEMAIN RU,SP=1 > >Jim Mulder > >-Original Message- >From: IBM Mainframe Discussion List On Behalf Of >Charles Mills >Sent: Friday, Au

Re: Subpool FREEMAIN

2024-08-30 Thread Charles Mills
Thanks @Jim. All I can say is duh! You stare at your own code ... The register form parameters are because it is intended to be a general purpose FREEMAIN callable from C. Charles On Sat, 31 Aug 2024 00:21:15 +, Jim Mulder wrote: > You did not specify a positional parameter. It looks l

Subpool FREEMAIN

2024-08-30 Thread Charles Mills
Okay, true confessions time: in more years of this than I care to admit I have never done a subpool FREEMAIN. I am trying to free subpool 1. R0 = x'0100' R1 = 0 I issue FREEMAIN A=(1),LV=(0) I get ABEND S378 001C A user has requested that storage at virtual address 0 be freed. This can ha

Re: Comments on ASAXWC?

2024-08-13 Thread Charles Mills
I did one in C, including a bunch of "automated" test code. There are at least four common schemes: - RACF, that distinguishes between * and ** - dB2. I have forgotten how it works, but it is its own variant IIRC - Windows/DOS, which allows, or at least logically processes, * only at the end of a

Re: C interface to MVS

2024-07-08 Thread Charles Mills
What does the LLVM project "Clang" compiler -- which is the "new" or "current" IBM C/C++ compiler for z/OS -- use for libraries? Is it open source? Charles On Mon, 8 Jul 2024 17:08:15 -0500, Charles Mills wrote: >I wasn't sure what you meant. I think

Re: C interface to MVS

2024-07-08 Thread Charles Mills
I wasn't sure what you meant. I think what you are asking is: Is there a fairly generic C library for MVS other than LE that provides a C API to common MVS services? If so, I doubt it. But possibly ... There was an MVS C compiler in the pre-LE days. It was a port of one of the common C compile

Re: z/OS 3.1 Enhancements & Support News

2024-06-28 Thread Charles Mills
7/1/2024 download of z/OS? Charles On Fri, 28 Jun 2024 04:10:13 +, Timothy Sipples wrote: >Charles Mills wrote: >>Am I reading this correctly that the "they would have to download >>it and some shops won't do that" objection to the use of Python for >>thi

Re: z/OS 3.1 Enhancements & Support News

2024-06-27 Thread Charles Mills
Am I reading this correctly that the "they would have to download it and some shops won't do that" objection to the use of Python for third-party software goes away, at least for customers with z/OS systems ordered after July 1? Going forward, most shops will have Python available by default (or

Re: PL/I Options question

2024-06-13 Thread Charles Mills
>Then again, looking at the manual, specifying "MARGINS(2,72)" in your pre ' Ta-da! 99% right. Turns out the default for the third sub-operand is 1, so you actually need MARGINS(2,72,0); Problem solved! Thank you! Charles On Thu, 13 Jun 2024 21:12:48 +, Robert Prins wrote: >No simple wa

Re: PL/I Options question

2024-06-13 Thread Charles Mills
Okay, I tried this. Does not seem to work. What am I doing wrong? 1. I override the SYSIN in the PROC with -- and I checked the job output, the override worked -- //SYSINDD * /* // DD D

Re: PL/I Options question

2024-06-13 Thread Charles Mills
Interesting idea. That certainly fulfills the requirements of my question and certainly should work. It's a more complex solution than I had hoped for. I think what I will have to do is make a separate copy of the source code for this one purpose. Leave the source code untouched for other purpo

Re: PL/I Options question

2024-06-13 Thread Charles Mills
Ah! What am I doing wrong? My default font is proportional and I missed that leading blank before the comment /*. I thought it was a JCL end-of-file /*. Now, yes, it works as you describe. The source file *PROCESS statements get absorbed into the following comments. This is brilliant! I am down

Re: PL/I Options question

2024-06-13 Thread Charles Mills
No joy: IBM1159I W The string /*PROCESS is not recognized as a valid option keyword and is ignored. Also tried without the leading slash; same error. CM On Thu, 13 Jun 2024 12:48:21 +, Allan Staller wrote: >Classification: Confidential > >// PARM='/*PROCESS TEST(BLOCK,S

Re: PL/I Options question

2024-06-12 Thread Charles Mills
I failed to say that the basic problem is that it seems that *PROCESS seems to unconditionally override PARM=. I am looking for a way to override *PROCESS with PARM=. Charles On Wed, 12 Jun 2024 16:46:55 -0500, Charles Mills wrote: >This is one of those things where the surrounding deta

PL/I Options question

2024-06-12 Thread Charles Mills
This is one of those things where the surrounding details are what they are, and would be a distraction if posted here. Please trust me, the situation is what it is. I have a PL/I source file that includes *PROCESS TEST(BLOCK,SYM); Let's pretend that cannot be changed. Is there anything I can

LOL - AWS brags about 99.9% uptime!

2024-06-10 Thread Charles Mills
https://graphite.dev/blog/how-amazon-deploys-code Aiming for only (!) four minutes of downtime a month! Charles -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the m

Re: VTOCs vs. catalogs

2024-05-27 Thread Charles Mills
I started my first professional programming job in January of 1969, working with DOS/360. DLBL, EXTENT and TLBL cards existed but they were new -- the "old timers" still used DLAB, XTENT and TLAB. So that gives you an approximate timeframe. As @Shmeel has said, DOS definitely supported VTOCs. V

Re: ./ ADD - which utility? (RANT)

2024-05-19 Thread Charles Mills
You know, I don't think I have ever had to think about it. I just started using WS_FTP and it just worked. My C { braces } and [ brackets ] and my Rexx |. (I use \ for logical not.) Perhaps I have forgotten some issue. But I use WS_FTP across four systems, some of them relatively new to me, so

Re: ./ ADD - which utility? (RANT)

2024-05-18 Thread Charles Mills
I'm late to the party here so I'm not sure if what I quote below is the original query but unless I am missing something, most or all of the Windows graphical FTP clients will do that. FileZilla is free. WS_FTP may be free for individual use. There may be others. They will graphically expand a z

Re: JOB card format

2024-05-09 Thread Charles Mills
Are you certain? "minutes Specifies the maximum number of minutes a job may use the processor." Seems to pretty clearly say processor (CPU) time. Charles On Thu, 9 May 2024 15:35:54 +, Hayim Sokolsky wrote: >In truth, TIME= is “wall time” and not CPU time. How many real-world minutes >i

Re: Homegrown ZOS Dashboards?

2024-05-02 Thread Charles Mills
On Thu, 2 May 2024 03:20:20 +, Timothy Sipples wrote: >Charles Mills wrote: >>I meant "obvious" in the sense of "it's the official Splunk solution." > >Is it? I haven�t found that sort of statement. Am I not looking hard enough? >And even if so wo

Re: Homegrown ZOS Dashboards?

2024-04-30 Thread Charles Mills
is the product which entered this world as Type 80, the first product in the space, the first product to integrate SMF with server industry security products. Charles On Tue, 30 Apr 2024 04:26:34 +, Timothy Sipples wrote: >Charles Mills wrote: >>For getting the data from MVS to

Re: Homegrown ZOS Dashboards?

2024-04-29 Thread Charles Mills
Yes! I can't believe I didn't say this. You would be crazy to write your own dashboard presentation layer. Splunk makes this stuff so easy. You can hack at a query until you get it right, and then with a few keystrokes "can" the query so you can run it any time, or with a few more keystrokes tur

Re: Hex error code interpreter?

2024-04-29 Thread Charles Mills
sy problem, once you know what the problem is. I wish there were an easier way. Charles On Sun, 28 Apr 2024 21:11:20 -0400, Phil Smith III wrote: >Interesting, thanks. In this case, a gsktrace showed that it was failing GCM >AES in the handshake. A reminder by Charles Mills led me to look

Re: Homegrown ZOS Dashboards?

2024-04-28 Thread Charles Mills
Not exactly what you asked for but when I was at ASG -- circa 2000 -- Mr. Allen was very enamored of an "executive dashboard" product that ASG had developed. So you might check with Rocket, which is I believe who scooped up the pieces of ASG. OTOH I don't recall that customers and prospects wer

Re: Netview

2024-04-28 Thread Charles Mills
"AKA" is after all just a fancy way of saying "or." CM On Sun, 28 Apr 2024 10:08:32 +1000, Peter Vels wrote: >"vel" is, amongst other things, Latin for "or". -- For IBM-MAIN subscribe / signoff / archive access instructions,

Re: Hex error code interpreter?

2024-04-26 Thread Charles Mills
18:09:50 -0500, Charles Mills wrote: > >>https://www.ibm.com/docs/en/zos-basic-skills?topic=messages-bpxmtext-zos-unix-reason-codes >> >UNIX-centric? As is SYSCALL STRERROR > >Is the network service LOOKAT current? > >Other

Re: Moving from nonFIPS gskkyman dB to a FIPS one

2024-04-26 Thread Charles Mills
And just to add to the fun, some of the certificates may refuse to import because of non-FIPS algorithms. Charles On Fri, 26 Apr 2024 11:26:20 -0500, Charles Mills wrote: >That is my *impression*, that there is no easier way. > >CM > >On Thu, 25 Apr 2024 07:36:54 -0400, Ma

Re: Hex error code interpreter?

2024-04-26 Thread Charles Mills
https://www.ibm.com/docs/en/zos-basic-skills?topic=messages-bpxmtext-zos-unix-reason-codes Although it is coming up with nonsense for your error code on my V2R4 system. I can try it on a V3R1 system if you really need. I also have code somewhere for calling the underlying service (not the shell

Re: Moving from nonFIPS gskkyman dB to a FIPS one

2024-04-26 Thread Charles Mills
That is my *impression*, that there is no easier way. CM On Thu, 25 Apr 2024 07:36:54 -0400, Mark Regan wrote: >At a site I support we need to start using FIPS mode. At the present our >certificates are in gskkyman database that was not set up to support FIPS. >From what I understand we have to

Re: What is IEANTRTR in Authorized Assembler Services Reference?

2024-04-13 Thread Charles Mills
Do you mean WHY is it in the Authorized manual? The organization of Assembler Services versus Authorized Assembler Services is a mystery to me. Why is SVC 99 documented in the Authorized Services Guide, when it requires no authorization (generally). I find it frustrating. You look up ATTACH in

Re: IBM key management products

2024-04-13 Thread Charles Mills
> compared to external attackers When I was doing security presentations as part of my job one of the "controversies" I ran into was that the supposed percentage of insider attacks is all over the place. I used to see 85% in one set of statistics and nearly zero in others. I have no independent

Re: IBM key management products

2024-04-12 Thread Charles Mills
Dataset encryption also guards against the situation in which a sandbox or test LPAR (1) has very permissive RACF definitions and (2) inadvertently has shared access to production DASD. Charles On Fri, 12 Apr 2024 14:38:22 -0400, Steve Thompson wrote: >I clipped this to get to what I think is

Re: [EXTERNAL] Re: PASSPORT 3270 emulator (PC) problem w transferring files

2024-04-10 Thread Charles Mills
Nor passive FTP (FWFRIENDLY, as IBM calls it) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Michael Babcock Sent: Wednesday, April 10, 2024 8:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: PASSPORT 3270 emula

Re: 0C4 error upon calling an external REXX module!

2024-03-15 Thread Charles Mills
FWIW, I would say >1) 0C4? That's a really weird code to get from a REXX call, isn't it? No, anything you call might generate an 0C4. I think 0C4 is probably the most common program exception. If the called module expected two parameters and did not check to make sure it got two and not one, I

Re: Rexx numeric digits and scientific notation question

2024-03-15 Thread Charles Mills
. Thanks! Charles On Thu, 14 Mar 2024 12:04:00 -0500, Glenn Knickerbocker wrote: >On Wed, 13 Mar 2024 11:01:30 -0500, Charles Mills wrote: >>And the answer is ... "The three numeric settings are automatically saved >>across internal and external subroutine and function cal

Re: Rexx numeric digits and scientific notation question

2024-03-15 Thread Charles Mills
I'll bite. IMHO *nothing* that I can imagine justifies using SIGNAL as a pseudo-call/return GOTO. I would "modularize" initialization that cannot (for the reasons discussed here recently) go into a subroutine by surrounding the instructions with "eyecatcher" comments. Charles On Thu, 14 Mar 2

Re: Rexx numeric digits and scientific notation question

2024-03-13 Thread Charles Mills
And the answer is ... "The three numeric settings are automatically saved across internal and external subroutine and function calls." I was setting numeric digits in an initialization subroutine, so Rexx helpfully unset it on return from initialization. I thought I had done it that way before

Re: Rexx numeric digits and scientific notation question

2024-03-12 Thread Charles Mills
Well sure enough, a Say right after the NUMERIC DIGITS 15 works as expected. There are no other NUMERIC instructions in the program. What else could be messing me up? The program is not unusual. The most interesting thing is an EXECIO DISKR 1. Charles On Tue, 12 Mar 2024 19:39:21 +0200, Itsch

Rexx numeric digits and scientific notation question

2024-03-12 Thread Charles Mills
In a Rexx program I start out by executing NUMERIC DIGITS 15 (and I have also tried 11 and 13 and gotten the same result). For 8947 * 864 I am getting a result of 7.73020800E+10 rather than the desired 7730208. Is this to be expected? I interpret the Rexx documentation as saying that a

Re: What am I doing wrong with BPXWUNIX sort?

2024-03-07 Thread Charles Mills
, Jeremy Nicoll wrote: >On Thu, 7 Mar 2024, at 16:54, Charles Mills wrote: >> Thank you! THAT is the clue I needed. I need to quote the stem names. >> Passing plain Index. passes "", the value of Index., to sort. > > >So... the difference between your code & S

Re: What am I doing wrong with BPXWUNIX sort?

2024-03-07 Thread Charles Mills
Thank you! THAT is the clue I needed. I need to quote the stem names. Passing plain Index. passes "", the value of Index., to sort. Problem solved. Thanks all. CM On Thu, 7 Mar 2024 16:22:02 +, Alan Young wrote: >I think I have always used the position specification format. In a couple of

Re: ZOS Sending Logs to Sumologic Experience?

2024-03-07 Thread Charles Mills
Well sure, over-reliance on any one "solution" as a panacea is foolish. I had prospects tell me "we don't have any security issues -- we have RACF." CM On Thu, 7 Mar 2024 02:08:26 +, kekronbekron wrote: >> You are making a mistake if you discount the effectiveness of >> industry-standard

Re: What am I doing wrong with BPXWUNIX sort?

2024-03-07 Thread Charles Mills
Thanks all. The mystery deepens. Using the same stem variable should not be the problem. I have done that before successfully, and the sort command documentation talks about how it uses a temporary file to avoid clobbering the input data if the files are the same. BUT ... changing to a differen

Re: What am I doing wrong with BPXWUNIX sort?

2024-03-06 Thread Charles Mills
Thanks. As I said, I have tried both -k2 and -k 2, and also -k1 and +1, all with the same result. CM On Thu, 7 Mar 2024 00:27:21 +, Sri Hari Kolusu wrote: >Charles, > >Try a space after k. -- For IBM-MAIN subscribe / sign

What am I doing wrong with BPXWUNIX sort?

2024-03-06 Thread Charles Mills
I am trying to sort a Rexx "array" starting with the second "word" of the variables. My "array" is in Index.n and contains records of the form where is 0001, 0002, 0003, etc. and string is 2 to 5 Rexx "words." Here's my Rexx code: Say "Before sort" Index.0 Index.1 Index.2 Index.3 stdo

Re: ZOS Sending Logs to Sumologic Experience?

2024-03-06 Thread Charles Mills
I of course saw first-hand a lot of mainframe -> SIEM or Splunk integrations, and they ran the gamut. Some were as you describe; some were quite effective. The worst I saw was one company that was printing an SMF report to spool, using a mainframe product to convert the spooled report to a PDF,

Re: ZOS Sending Logs to Sumologic Experience?

2024-03-06 Thread Charles Mills
I guess you might say that the whole point of products such as these is converting dense "strings & numbers" into logs. A mainframe security "event" is surely as significant to the enterprise as a Linux server security event -- it makes sense to many enterprises to get it into their enterprise s

Re: EXTERNAL EMAIL: ZOS Sending Logs to Sumologic Experience?

2024-03-04 Thread Charles Mills
Thanks for the shout-out, Jerry! (I was the principal developer of said product.) I think BMC now calls the product AMI Defender. (I have no financial interest in BMC or the product.) I am pretty much of an expert on this topic. Feel free to reach out to me off-line if you have any questions.

Re: Nanosecond resolution timestamps for HLL's?

2024-02-27 Thread Charles Mills
And THAT is why you should strongly consider STCKF or STCKE. STCK spins in microcode until it can come up with a time greater than any time it has previously reported, consuming CPU cycles that are charged to your program. If all you need is the time of day, accurate to some very, very small i

Re: Nanosecond resolution timestamps for HLL's?

2024-02-25 Thread Charles Mills
On Sat, 24 Feb 2024 22:47:05 -0600, Alan Altmark wrote: >Hi, Jim. I meant that if you want to really know what time it is, you can't >use STCKF. https://www.youtube.com/watch?v=xoJpyYu_NMk -- For IBM-MAIN subscribe / signoff

Re: Getting rid of a z14 zr1 - any value in the host cards?

2024-02-23 Thread Charles Mills
z14 as in the Subject or z16 as in the body? CM On Sat, 24 Feb 2024 12:04:39 +1300, Laurence Chiu wrote: >I need to decommission and remove for potential destruction z16 zr1. It >only has one active engine so it's capped at 88 mips >which isn't very useful. But for a number of reasons it has a

Re: Nanosecond resolution timestamps for HLL's?

2024-02-19 Thread Charles Mills
That problem is not limited to transaction programs that issue STCK repeatedly, or that have some sort of internal "is this value unique?" logic. *Any* time that you issue STCK you run the risk that some program -- your program or some other unrelated program -- has recently issued an STCK and y

Re: How read Cyl 0 from within a program?

2024-02-15 Thread Charles Mills
in mind. Thank you. Charles On Tue, 13 Feb 2024 12:19:46 -0600, Charles Mills wrote: >I am interested in writing a program to read the IPL records from a DASD >volume. (Read only, not update). I am comfortable with XDAP but how do I OPEN >a "dataset" that would include cylinder 0

How read Cyl 0 from within a program?

2024-02-13 Thread Charles Mills
I am interested in writing a program to read the IPL records from a DASD volume. (Read only, not update). I am comfortable with XDAP but how do I OPEN a "dataset" that would include cylinder 0? APF, OPERATIONS and so forth are not out of the question. Thanks, Charles --

Re: Where are Unix reason codes over 7371 documented

2024-02-03 Thread Charles Mills
It's confusing. The last four nibbles, 730C, are the "real" reason code. Just scroll down in here: https://www.ibm.com/docs/en/zos/2.5.0?topic=errnojrs-zos-unix-reason-codes As the first part of the section says The reason code is made up of 4 bytes in the following format:

JES2 JOBDEF DUPL_JOB=NODELAY - Any gotchas?

2024-02-01 Thread Charles Mills
I am not a sysprog but I occasionally play one in my spare time. I am thinking of changing a system that I control to DUPL_JOB=NODELAY. Any gotchas? Anything I need to consider before I do this? Do most/many of you run with NO_DELAY? I am trying to solve a problem where I have jobs delayed becau

Re: How can I determine the User Name associated with the current Batch JOB RACF ID?

2024-01-31 Thread Charles Mills
De nada. The bottom line would appear to be that if you want the user name, then control block chasing to the ACEE and picking up the ACEEUNAM seems to be a supported programming interface and should be safe. Be aware of all of the potential issues of multiple ACEEs, no ACEE, etc. But for @Cam

Re: Encryption and decryption - processor or TCPIP

2024-01-25 Thread Charles Mills
I'm trying to put this in my own words. I'm not an expert on Z crypto architecture, but I am sure someone will correct me if I am wrong. The CPACF instructions are like the TRT instruction. You *could* do what TRT does with a loop using IC and compare and so forth, but the TRT instruction is mu

Re: So Long, and Thanks for All the Fish*

2024-01-22 Thread Charles Mills
Going to miss you! Thanks for all of your service to the MF community. Is your Web site going to stay up, or is it going away, along with you and Tom? Charles On Mon, 22 Jan 2024 23:33:20 -0500, Cheryl Watson wrote: >* For those too young to remember, check out Wiki > >Hi all, > >I’m retiring

Re: C++ and Linker/Binder parameters for "called as subprogram"

2024-01-21 Thread Charles Mills
-- an overhead of over 45 percent! Details: REGION=0M, COBOL 6.2, up-to-date on PTFs, typical options, OPT(0), 52,063 lines, 34,012 statements, z14-M01, TCB+SRB time per IEF033I. All tests run on a reasonably quiet LPAR. Gr! Charles On Sat, 30 Dec 2023 16:36:07 -0600, Charles Mills wrote: >

Re: Another Getting away from the mainframe tale

2024-01-19 Thread Charles Mills
t the door. (Not for that reason, but still, it was enjoyable vindication for the mainframe tech staff.) CM On Fri, 19 Jan 2024 20:33:15 +, Pew, Curtis G wrote: >On Jan 19, 2024, at 1:51 PM, Charles Mills wrote: > >"We're in the 25th year of a 3-year project to get o

Re: Another Getting away from the mainframe tale

2024-01-19 Thread Charles Mills
"We're in the 25th year of a 3-year project to get off the mainframe." CM On Fri, 19 Jan 2024 12:42:11 -0600, Tim Ribble wrote: >Greetings all, > >Haven't posted here in quite some time but I thought it'd be fun to post >another "getting off the mainframe" story. Been working for the City of -

C++ and Linker/Binder parameters for "called as subprogram"

2023-12-30 Thread Charles Mills
I have a working Enterprise COBOL compiler exit written in XLC C++. It functions "correctly" but it is consuming more CPU time than expected, and I have this suspicion that it is going through LE initialization on each entry. The COBOL doc says of exit modules "The Enterprise COBOL compiler auto

Re: Looking for COBOL SYSADATA record layouts

2023-12-27 Thread Charles Mills
the compiler that produced the associated data file CM On Sat, 16 Dec 2023 12:28:11 -0600, Charles Mills wrote: >You know what I am actually looking at doing? You may laugh but it has worked >for me in the past. I am thinking of pulling the IBM HTML documentation into >MS-Word and

Re: Looking for COBOL SYSADATA record layouts

2023-12-16 Thread Charles Mills
Sure. ¿Porque no? Thanks, Charles On Sat, 16 Dec 2023 17:54:36 +, M. Ray Mullins wrote: >Charles, > >Would you like me to ping Captain COBOL? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email t

Re: Looking for COBOL SYSADATA record layouts

2023-12-16 Thread Charles Mills
You know what I am actually looking at doing? You may laugh but it has worked for me in the past. I am thinking of pulling the IBM HTML documentation into MS-Word and massaging it there into C declarations. I did this for a *LOT* of RACF record layouts for the CorreLog product, so I know whereof

Re: Looking for COBOL SYSADATA record layouts

2023-12-16 Thread Charles Mills
@Kirk, interesting. I was not aware of that tool. I have used the DSECT to C header conversion tool that is part of the XLC product, but I was not aware of this tool. I am not much of a Java guy but IIRC it would be a fairly short editing leap from Java classes to C structs. Unfortunately, as

Re: Looking for COBOL SYSADATA record layouts

2023-12-16 Thread Charles Mills
ASM ≠ COBOL The ADATA records for the two products have a lot in common but not as much as one might hope. Charles On Sat, 16 Dec 2023 08:03:46 -0600, Ralph Spadafora wrote: >HLA.SASMMAC1(ASMADATA) -- For IBM-MAIN subscribe

Re: Looking for COBOL SYSADATA record layouts

2023-12-15 Thread Charles Mills
+1 Not the solution to my problem today, however. CM On Fri, 15 Dec 2023 11:30:28 -0600, Paul Gilmartin wrote: >On Fri, 15 Dec 2023 10:37:56 -0600, Charles Mills wrote: > >>I am looking for compiler-readable record layouts ... >> >>Source language, in order of descend

Looking for COBOL SYSADATA record layouts

2023-12-15 Thread Charles Mills
I am looking for compiler-readable record layouts for Enterprise COBOL SYSADATA. I see the human-oriented record descriptions in the Programming Guide. I see the sample exit program in IGYxxx.SAMPLIB(ADEXIT), which contains (very) partial record layouts. I have searched SYS1.SIEAHDR.H. I have lo

Re: External Functions in C on z/OS

2023-11-16 Thread Charles Mills
control blocks >https://docs.python.org/3/library/ctypes.html#ctypes.BigEndianStructure. It >would be cool if the tooling that we worked on with Peter Relson to create C >header files could be reused to generate Python mappings. With the recent zIIP >offloading Python is strategic. > &

Re: External Functions in C on z/OS

2023-11-16 Thread Charles Mills
The function not provided by Metal C is basically all of C++. The called module is written in, and exploits, C++. Charles On Wed, 15 Nov 2023 21:26:18 +, Farley, Peter wrote: >OK, I sort of understand the “personal preference” about not using inline >assembler (it is kludgey, I agree) a

Re: External Functions in C on z/OS

2023-11-16 Thread Charles Mills
block anywhere else but in the standard linkage? Charles On Wed, 15 Nov 2023 14:02:55 -0600, Paul Gilmartin wrote: >On Wed, 15 Nov 2023 12:06:48 -0600, Charles Mills wrote: > >>@Peter, I went around on the R0 question here a couple of years ago. >> >CMSThink: Since no one

Re: External Functions in C on z/OS

2023-11-16 Thread Charles Mills
 Different strokes for different folks. 1. I was not aware of that pointer. This is the classic documentation problem. The answer is right there in the manual, clear as day -- provided you know where to look. A lot of these answers are easy to find, assuming you already know the answer. 2. My

Re: External Functions in C on z/OS

2023-11-16 Thread Charles Mills
It is part of IBM XLC. The program is actually named EDCDSECT. It does a less-than-perfect job but I find it to be an excellent starting point. On Thu, 16 Nov 2023 10:16:54 -0500, Rick Troth wrote: >I remember the DSECT2C command, but might have been from an ISV (maybe ---

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
> There isn’t an R0 issue. IRXINIT(‘FINDENVB’) will fetch the environment > block. IIRC I needed the entry R0 to get the address of IRXINIT so I could call it. Charles -- For IBM-MAIN subscribe / signoff / archive access instr

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
gisters at entry, or >is that not possible? > >At worst, an inline ASM routine to copy the value of the current R13 to a C >pointer variable, then chain up the DSA stack? > >Peter > >From: IBM Mainframe Discussion List On Behalf Of >Charles Mills >Sent: Wednesday, N

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
I see, in my C++ projects, EFPL, ENVB, EVALB and SHVB structs that appear to me to have been produced from IBM macros by the EDCDSECT tool. Have you looked for the IRX macros in SYS1.MACLIB? Are you familiar with EDCDSECT? Slightly changing the subject, to interface with the Rexx environment fr

Re: SMF record for number of program executions?

2023-11-09 Thread Charles Mills
As @Ituriel says, If you want the jobstep program it is found in some of the SMF 30 records. No trick to finding it. IIRC it is very straightforward. "Every program" comes up here from time to time and is basically impossible. There is no supported way. If you want to intercept SVCs (and I suspe

Re: Addressing mode for SYNAD exit

2023-11-06 Thread Charles Mills
On Mon, 6 Nov 2023 11:46:16 -0600, Charles Hardee wrote: >To answer Seymour J. Metz's question first, it's specified in the DCB. > >To answer Charles Mills' question, the module is defined as RMODE 24, AMODE >ANY, so the I/O was issued in 31-bit mode. > >Which

Re: Addressing mode for SYNAD exit

2023-11-06 Thread Charles Mills
My notes from 2005 seem to imply that the SYNAD exit may be called in 31-bit mode. I think it is called in the mode under which the GET or PUT was issued. Charles -- For IBM-MAIN subscribe / signoff / archive access instructions

Re: Changes to IEBCOPY??

2023-10-30 Thread Charles Mills
I have no idea as to the answer to the question you asked but 1. A more relevant "it used to work" than the dates would be the z/OS release numbers. "It worked under V2R5 but fails under V3R1" (or whatever). 2. As always with these things, an exact error message is a lot more likely to lead to

Re: Permission to redistribute LE

2023-10-22 Thread Charles Mills
Oh! And someone who obviously worked with John more than I did points out to me privately that it is Eells, not Eels. I enjoyed working with John. I wonder what he is doing now. CM -- For IBM-MAIN subscribe / signoff / archive

Re: Permission to redistribute LE

2023-10-22 Thread Charles Mills
https://www.ibm.com/docs/en/zos/2.5.0?topic=level-zos-licensed-program-specifications Page 3 CM On Sun, 22 Oct 2023 09:31:54 -0400, Gord Tomlin wrote: >On 2023-10-21 18:25 PM, Charles Mills wrote: >> a comprehensive "okay to link and ship" list all collected in one

Re: Permission to redistribute LE

2023-10-21 Thread Charles Mills
Yes. I will speak from memory and I do not speak for IBM of course, so take all of this as you wish. Back in the bad old days, before about 2018, large software companies generally shipped products as object code and did the final link/bind at the customer site, thereby avoiding shipping any IB

Re: How turn on GSK trace for batch job that is controlled by PAGENT?

2023-10-12 Thread Charles Mills
Thanks for confirming my observations and conclusions. I am 99.9% certain that the trace option in the AT-TLS configuration file is different from System SSL trace (GSK_TRACE). If you look at the option bits they are superficially similar but clearly different. I think I have gotten past my req

  1   2   3   4   5   6   7   8   9   10   >