Re: Not understanding 1025 from JSON parse

2025-08-01 Thread Charles Mills
I opened an issue on the project github page. We shall see what we shall see. CM On Fri, 1 Aug 2025 11:51:10 -0500, Kirk Wolf wrote: >I wrote some code 10 years ago that was 31-bit XPLINK C++ calling the IBM json >parser. >Looking at it now, I agree: the header for hwtjpars is incorrect - parm

Re: Not understanding 1025 from JSON parse

2025-08-01 Thread Charles Mills
other calls too!) Is anyone actually using z/OS JSON parse from C/C++? Does anyone from IBM care that the doc is misleading and the header is wrong? (Serious question -- if so, drop me a note and I will work with you on fixing the header.) Charles On Thu, 31 Jul 2025 17:04:10 -0500, Charles Mill

Re: Not understanding 1025 from JSON parse

2025-07-31 Thread Charles Mills
I am using the recommended SYS!.CSSLIB style linkage. I see the following in the link map 500 HWTJCSS * CSECT 354 CSSLIB01 HWTJTERM 18 518 HWTJCREN LABEL

Re: Not understanding 1025 from JSON parse

2025-07-31 Thread Charles Mills
0:42 -0500, Charles Mills wrote: >I am dipping my toe into the z/OS JSON parser (form C++). I am using >SYS1.SIEAHDRV.H(HWTJIC) as a guide. I make it through the hwtjinit() with a >zero return code but my next call, to hwtjpars(), gives me a return code 1025 >(Specified JSON string address

Not understanding 1025 from JSON parse

2025-07-31 Thread Charles Mills
I am dipping my toe into the z/OS JSON parser (form C++). I am using SYS1.SIEAHDRV.H(HWTJIC) as a guide. I make it through the hwtjinit() with a zero return code but my next call, to hwtjpars(), gives me a return code 1025 (Specified JSON string address is less than or equal to zero). I thought

Re: Contention problem TSO and batch job

2025-07-17 Thread Charles Mills
On Thu, 17 Jul 2025 11:36:41 -0500, Paul Gilmartin wrote: >Is this documented for ALLOCATE, or in the frontmatter for >TSO commands generally. Particular mention is needed >where TSO behavior differs from the expectation of >JCL programmers. It is documented for RACDCERT, the TSO command with

Re: Contention problem TSO and batch job

2025-07-17 Thread Charles Mills
ALLOC may well take whatever you specify last and ignore what came before -- I don't know. NEW CATLG DELETE is adding to the confusion. Try just NEW CATLG. Sometimes installations' SMS is set up to put datasets on some "temp" volume and automatically delete them at end of session. Can you try sp

Re: Contention problem TSO and batch job

2025-07-17 Thread Charles Mills
Oh Joe, Joe, Joe, ... Specifics, specifics, specifics, ... What is the exact allocation of the file in question? CM On Thu, 17 Jul 2025 11:09:47 -0400, Joseph Reichman wrote: >Hi > >I have a clist which I allocate an output file used to debug a program under >TSO TEST > >When that clist en

Re: Understanding Data Compression and z/OS services

2025-07-12 Thread Charles Mills
On Fri, 11 Jul 2025 19:27:16 +, Richard Zierdt wrote: >Any recommendations of textbooks, papers, etc about data compression for the >beginner and up in general, and/or Redbooks, SHARE conferences, et.al., about >data compression with a z/OS slant in particular? I wrote code to do this: ht

Re: IPL data signing

2025-07-01 Thread Charles Mills
On Tue, 1 Jul 2025 12:41:04 +, jgmauta...@yahoo.com.ar wrote: > Hi! >Since z/OS V2R5 there exists the possibility of implementing "IPL data >signing". As I understand it, this gives some assurance that critical IBM load >modules were not unauthorizedly modified (after the last time they we

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-20 Thread Charles Mills
On Fri, 20 Jun 2025 16:47:29 +, Farley, Peter wrote: >I would THINK that if an object on a heap is deleted, then a second delete >request for that same object SHOULD return an error (invalid object address at >least), which of course the programmer should be checking . . . but regardless

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-20 Thread Charles Mills
On Thu, 19 Jun 2025 11:46:18 -0700, Leonard D Woren wrote: >Charles Mills wrote on 6/18/2025 1:19 PM: >> Well, it looks like the worst possible outcome. The problem simply went away. > >"Problems that go away by themselves come back by themselves."  -- >very o

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-19 Thread Charles Mills
On Wed, 18 Jun 2025 16:53:38 -0500, Michael Oujesky wrote: >So how does the IEF032I message look for each test? IEF032I STEP/STEP1 /STOP 2025169.1525 CPU: 0 HR 00 MIN 00.31 SECSRB: 0 HR 00 MIN 00.00 SEC VIRT:

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-18 Thread Charles Mills
On Tue, 17 Jun 2025 10:45:50 -0500, Charles Mills wrote: >Thanks all! Many GREAT suggestions. I am working on this issue and other >projects at the same time so it may take a couple of days for me to fully >pursue, but I WILL get back to you all. Well, it looks like the worst possibl

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-17 Thread Charles Mills
On Tue, 17 Jun 2025 10:23:42 -0500, Jon Perryman wrote: >It looks like you had a S0C4 during termination most likely from a storage >overlay. My observations from the very limited information provided: Thanks all! Many GREAT suggestions. I am working on this issue and other projects at the sam

Re: Looking for clues on out-of-storage at end-of-jobstep

2025-06-16 Thread Charles Mills
On Mon, 16 Jun 2025 17:51:16 -0500, Michael Oujesky wrote: >What does IEF032I say? IEF032I STEP/STEP1 /STOP 2025167.1741 CPU: 0 HR 00 MIN 05.42 SECSRB: 0 HR 00 MIN 00.16 SEC VIRT: 7872K SYS: 768K EXT

Looking for clues on out-of-storage at end-of-jobstep

2025-06-16 Thread Charles Mills
I have a C++ program under development that has started ABENDing *after the last line* of the program. The main() routine ends with printf("Last line of main()\n"); return M::ProgramReturnCode; and I am seeing that printf() message, so the problem is not something that the program is d

Re: Is there an equivalent of an S-con for a long displacement?

2025-06-12 Thread Charles Mills
On Thu, 12 Jun 2025 11:26:04 -0500, Jon Perryman wrote: >On Thu, 12 Jun 2025 11:53:36 +, Peter Relson wrote: > >>>I've never seen a valid use case for S-CONS. >>It is how IBM creates an internal-use macro for a new op-code before the >>assembler support is available.  > >I am well aware of

Re: RACF Digital certificate - How to copy to another RACF

2025-06-12 Thread Charles Mills
Do you need to copy just the certificate, or the certificate and its private key? The former would be the case for CA root and intermediate certificates; the latter would be the case for server certificates that your system originally generated. For the "and key" case, I think it may be impos

Re: Why TTLS Error 428 "No private key"?

2025-05-23 Thread Charles Mills
Thanks @Colin and @Selva. That was it. I kind of knew this. I have been working a lot on certificate reporting and I kind of compartmentalized this restriction as "if you are reporting on certificates you will have this access issue." Of course it affects server access too. I did make the mist

Why TTLS Error 428 "No private key"?

2025-05-22 Thread Charles Mills
I am trying to configure AT-TLS to secure a Web server connection. I get no errors on the PAGENT REFRESH. When the browser tries to connect the first error I get is EZD1287I TTLS Error RC: 428 Initial Handshake EZD1287I 428 is documented as Connection Init The private key cannot be obtained

Re: Looking for different strategies/solutions

2025-05-06 Thread Charles Mills
+1 Unless you have a VERY slow or busy machine, does it really matter? The point of a timeout usually is to keep a transaction from taking "forever" and if both ECBs are posted, then you achieved that goal. If it does matter, why couldn't either of the POST routines check the *other* ECB and i

Re: z17

2025-04-16 Thread Charles Mills
On Wed, 16 Apr 2025 12:17:11 -0500, Paul Gilmartin wrote: >the chassis gets hot and the fan turns on. Long ago I learned here that IBM >processors >never reduce power. Is that still true? I have no idea but I would throw out there that most PCs are idle much of the time; most z processors a

Re: z17

2025-04-16 Thread Charles Mills
If you Google you will see Reddit and Quora threads going back to about 2010 covering just this topic. I was going to post a link or two but no one article is perfect. They are all oriented (of course!) toward the Intel 486/Pentium/etc. family but chips is chips, more or less. The same physics

Re: FTPS for IBM download

2025-03-20 Thread Charles Mills
I believe you have two choices. You can put it on the keyring configured for the application (NOT "the owner" -- userids can own multiple keyrings, but applications in my experience are only configured for one). Or you can install it owned by CERTAUTH. I believe System SSL (who does the real wo

Re: FTPS for IBM download

2025-03-20 Thread Charles Mills
What he said! Also: this is not difficult. IBM should make it clear what root certificate they require. Make sure you get it right -- not just "a DigiCert root" -- DigiCert has about ten different roots, so get the specific name. The names are similar -- often differing only by one word or "G3"

Re: Open XL C dramaticallly slower thant z/OS XL C compiler - expected?

2025-03-19 Thread Charles Mills
@JC, thank you. May I respectfully suggest that the biggest lack is not language features but documentation. How would anyone outside of IBM be expected to know what you say below? The legacy C compiler has a User's Guide and a Programming Guide. Enterprise PL/I has a Programming Guide. Enterp

Re: Open XL C dramaticallly slower thant z/OS XL C compiler - expected?

2025-03-16 Thread Charles Mills
: 0K VIRT- ALLOC: 13M SHRD: 0M Charles On Sun, 16 Mar 2025 15:48:18 -0500, Charles Mills wrote: >Trying to hold down the noise by doing one reply for all of your great >suggestions. > >@Peter, no, did not know abo

Re: Open XL C dramaticallly slower thant z/OS XL C compiler - expected?

2025-03-16 Thread Charles Mills
Trying to hold down the noise by doing one reply for all of your great suggestions. @Peter, no, did not know about .pch. The documentation is sorely lacking. Would like to give that a try but no idea how. > Did you run both of those tests using the same REGION value on the same LPAR? Same exact

Open XL C dramaticallly slower thant z/OS XL C compiler - expected?

2025-03-15 Thread Charles Mills
I am trying to get started with the new, "open," Clang-based XLC compiler. I am stunned at how noticeably slower it is than the legacy C compiler. I wasn't looking to benchmark -- the slow compile times just jumped out at me. Is this to be expected? I wish I had numbers for exactly the same sour

Re: Open XL C/C++ Documentation

2025-03-13 Thread Charles Mills
On Thu, 13 Mar 2025 09:45:02 -0500, Linda Chui wrote: >Assuming your -mzos-sys-include comes from >https://www.ibm.com/docs/en/open-xl-c-cpp-zos/2.1?topic=compiler-jcl-example, >you can see the preamble states it is for C (non-XPLINK). > >There is a USS (or shell) example given in the same d

Re: Open XL C/C++ Documentation

2025-03-13 Thread Charles Mills
On Wed, 12 Mar 2025 19:38:38 -0500, Linda Chui wrote: >The errors you saw were likely from using the wrong header set. Linda, thanks for taking the time to help. I believe I am doing things exactly as you document. The documentation says -mzos-sys-include="//'.SCEEH.+'" And my coding is -mz

Re: Open XL C/C++ Documentation

2025-03-12 Thread Charles Mills
On Wed, 12 Mar 2025 22:51:41 +, Farley, Peter wrote: >I think only at the V1.1 (or is it V1.2?) level did the “new” Open XL compiler >(the CLANG version) and libraries get support for JCL compilation. The >initial version only supported shell invocation. > >Which version did you install?

Re: Mystified by FTP working for one user but not another

2025-03-12 Thread Charles Mills
On Tue, 11 Mar 2025 19:56:02 -0500, Paul Gilmartin wrote: >To add a little more TCP/IP to the mix, can both users alike access z/OS UNIX >files >via ssh/sftp? You know, that's a real good thought. Unfortunately, I have zero experience with ssh and sftp and so that would be a whole new can of

Open XL C/C++ Documentation

2025-03-12 Thread Charles Mills
Is it just me or does the "new" IBM Open XL C/C++ compiler seem under-documented? (This is in the department of old dogs trying to learn new tricks.) I am very, very familiar with the "legacy" IBM z/OS XL C/C++ compiler. (Is it just me or do these names seem unnecessarily confusing?) Where is

Re: Command Line (was: Mystified by FTP ...)

2025-03-12 Thread Charles Mills
On Wed, 12 Mar 2025 13:59:38 -0500, Paul Gilmartin wrote: >With which command line interfaces are you conversant? Not sure "the public" cares but FWIW almost none. Trying to think of what I do from a command line. Use Windows GUI all the time but almost never the command line. Have a couple of

Re: Mystified by FTP working for one user but not another

2025-03-12 Thread Charles Mills
On Wed, 12 Mar 2025 17:38:22 +, Len Rugen wrote: >From my wayback machine.  Ftp can have problems with firewall ruled.  There >are active and passive modes.  Look for net blocks. Well aware. Would not be userid-specific, unless I am very confused. Charles -

Re: Mystified by FTP working for one user but not another

2025-03-12 Thread Charles Mills
Yeah, you're right. Change is good. I have had associates who used ssh exclusively or almost exclusively, and it seemed to work for them. (The problem of remote work -- didn't get to look over their shoulders.) You can teach an old dog new tricks, but you have to overcome the dog's resistance

Re: Mystified by FTP working for one user but not another

2025-03-11 Thread Charles Mills
On Wed, 12 Mar 2025 00:00:18 +, Farley, Peter wrote: >SWAG: No OMVS section in the new userid definition while your userid has one? Good thought! Thanks. New user has an OMVS segment and can access z/OS UNIX files via 3.17 and TSO OMVS. Charles ---

Mystified by FTP working for one user but not another

2025-03-11 Thread Charles Mills
I have a Dallas system where I pretend to be a sysprog. I just added an additional userid. FTP to and from z/OS UNIX files works for my userid but not for the added userid. I have checked and all of the WS_FTP session parameters are the same. I looked at the console and realized I was getting E

Re: Mystery TCBOTC text in Data Areas

2025-02-21 Thread Charles Mills
Did IKJTCB even exist before there was TSO? Charles On Fri, 21 Feb 2025 18:13:05 +, Seymour J Metz wrote: >That text may have made sense for OS/360 R1. It certainly didn't make sense in >1968. -- For IBM-MAIN subscribe /

Re: New WAIT state in z/OS 3.1?

2025-02-18 Thread Charles Mills
> Due to the cable being too long, it was taking x + y microseconds. Must have been nanoseconds, right? Electric signals travel at approximately 150,000 miles per second. That's somewhere around 800 or 900 feet per microsecond. That would be a long cable. https://youtu.be/9eyFDBPk4Yw Charle

Re: Enqueue Question

2025-02-18 Thread Charles Mills
I am surprised that would fail but I don't know SVC 99 well enough to say "no, that's wrong." Seeing as the job is set up with the dataset already "hard coded" in Step 2 -- why not allocate it with JCL in Step 1? If you do that would the SVC 99 then succeed (so you would not have to change you

Re: Trying to determine if a dataset exists

2025-02-16 Thread Charles Mills
Are some ABENDs stranger than others? CM On Sun, 16 Feb 2025 12:42:34 -0500, Joseph Reichman wrote: >Hi >Sorry about the previous post > >I fat finger it and didn’t now how to recall or delete > >Well here is my question > > >I am getting some strange abends fro LOCATE > >Specifically ab

Re: Is X’07’ a RDJFCB exit

2025-02-14 Thread Charles Mills
Note that (as @Wayne posted) it is not the address of an *exit* per se (unlike most of the "exit" list) -- it is the address of the buffer in which RDJFCB will return the JFCB. I don't understand the error but perhaps there is not enough information below. "No valid or valid"? Charles On Fri,

Re: Izzy Software acquires ColeSoft

2025-01-31 Thread Charles Mills
On Fri, 31 Jan 2025 09:17:27 -0500, Matt Hogstrom wrote: >Well done Dave. Succession planning is under rated and hard to do. Thanks >for thinking forward and ignore the FUD. The other thing, speaking as someone who sold a smallish enterprise software company to a rollup: If you are a user o

Re: Two related C macro questions

2025-01-29 Thread Charles Mills
Let me reply here and close the loop on this. On Tue, 28 Jan 2025 23:11:20 -0800, Retired Mainframer wrote: >Can you use a #pragma to change the errors produced by #error into warnings? That's a great idea! I may try that. >Does it make a difference if you remove the = from the DEF statement

Re: AT-TLS FTP to RedHat 9 wsftp server

2025-01-27 Thread Charles Mills
> The client sends some cipher data and then immediately gets a 5003 failure > because the response comes back as clear text rather than encrypted. Sounds like perhaps a mis-match between implicit and explicit FTP? Is the server expecting 'AUTH TLS' before going to encrypted, and not getting it?

Re: Two related C macro questions

2025-01-26 Thread Charles Mills
@Andrew and @Colin, thank you. > the __LIBREL__ and __TARGET_LIB__ macros Agreed, that's a better approach. After I wrote my OP I recalled I had used the latter macro a while ago to solve a similar problem. It's better than a unique macro because (a.) it is only one thing to change in the optio

Re: AT-TLS FTP to RedHat 9 wsftp server

2025-01-26 Thread Charles Mills
Hand-editing is the only way I have ever configured AT-TLS, so a. It's not hard. Anyone with any kind of coding background should find it a piece of cake. Consult the documentation. The parameters are not entirely intuitive nor consistent. b. No idea whether the changes would be preserved if yo

Two related C macro questions

2025-01-25 Thread Charles Mills
IBM "Classic" XLC C++ V2R5 The fundamental problem I am trying to solve is creating bi-modal source code that will support UNIX dates beyond 2038; or alternatively will build under z/OS V2R2. I have the usual sort of #if/#else/#endif structure based on a macro named Y2038_LEV2R3. I want to set

Re: File transfer question

2025-01-17 Thread Charles Mills
I think the problem is that the option is confusingly named. The question is "should IND$FILE translate the data from ASCII to EBCDIC? Yes or No." The word "binary" implies data that might well contain all 256 possible 8-bit values. That might not be the case at all. Perhaps it is all valid ASCI

Re: File transfer question

2025-01-16 Thread Charles Mills
The OP asked about uploads. So it's not about adding CR-LF. It's an IND$FILE option passed from the PC to have IND$FILE break logical records when it sees a CR-LF. (Really. I know this for a fact.) Yes, in the wonderful PC world of "hey, it works most of the time" yes I can picture a value to t

Re: Bye all

2025-01-10 Thread Charles Mills
Let me start by saying nobody loves the mainframe more than I do. The mainframe, and the mainframe software business, has been very, very good to me. That said, no matter how many times we tell smirking tales here of someone's get-off-the-mainframe project that failed or took three times as long

Re: What do I have to do to give myself permission to write into /etc ?

2025-01-10 Thread Charles Mills
Solved it. Made myself a member of OMVSGRP. Sorry for the disturbance to the force. CM On Fri, 10 Jan 2025 12:30:19 -0600, Charles Mills wrote: >I am more of a UNIX ignoramus than I should be. What do I have to do to give >myself permission to write into /etc ? > >Here is wha

What do I have to do to give myself permission to write into /etc ?

2025-01-10 Thread Charles Mills
I am more of a UNIX ignoramus than I should be. What do I have to do to give myself permission to write into /etc ? Here is what /etc looks like: Filename Type Permission Audit Ext Fmat OwnerGroupLinks --- etc Dir

Re: Assembly language: Re-establishing the correct xSECT -- DSECT or CSECT

2025-01-07 Thread Charles Mills
Or another solution -- not saying better or worse, just another solution -- would be an XSECT or similar opcode so you could say SAVEAREA XSECT and it would effectively be a CSECT, DSECT or RSECT (or COMMON???) statement as appropriate. Charles -Original Message- From: IBM Mainframe Discu

Re: A proposal for a new Windows and Unix File Type - VB. Speed and Safety

2025-01-01 Thread Charles Mills
On Tue, 31 Dec 2024 12:10:36 -0600, Paul Gilmartin wrote: >>- Does C do mainframe record I/O? C doesn't do any I/O at all, but the >>IBM-supplied C library has excellent support for records, VSAM, pipes, etc., >>etc. You can read all about it in the Programming Guide. >> >Can files of those for

Re: A proposal for a new Windows and Unix File Type - VB. Speed and Safety

2024-12-31 Thread Charles Mills
On Tue, 31 Dec 2024 19:01:24 +1100, Clement Clarke wrote: >Charles Mills kindly suggested that C++ was the answer. However, I think You cut me off in mid-suggestion! I was not suggesting that C++ was the answer; I was suggesting that C++ std::string is the answer. Let me re-phrase

Re: How Secure are Name/Token Pairs? IEANTCR / IEANTRT services

2024-12-09 Thread Charles Mills
Agreed. Protected storage a much better approach than encryption. The OP mentioned encryption and I just went with it. CM On Mon, 9 Dec 2024 19:23:21 +0200, Binyamin Dissen wrote: >Yes, the pointers are documented. > >Would be simpler to use protected storage than obfuscation. -

Re: How Secure are Name/Token Pairs? IEANTCR / IEANTRT services

2024-12-09 Thread Charles Mills
First off, if the hypothetical malicious program that you are worried about is running authorized then all bets are off. APF is the skeleton key to all of the locks in the kingdom. Reading random name/token pairs is the least of the problems. > How difficult is it to "guess" the name? If the n

Re: IEAMSXMP - Cross Memory POST - Supervisor State required?

2024-12-09 Thread Charles Mills
ity risk if >they could. > >OK � I'll take a shot at answering my own question, based on a comment by >Charles Mills: "random" address spaces. If unauthorized XM POSTs were allowed >without restriction, then one AS could "POST" to any other AS, possibly &

Re: IEAMSXMP - Cross Memory POST - Supervisor State required?

2024-12-07 Thread Charles Mills
I think it would be an integrity violation if an unauthorized program could do POSTs into random* address spaces.*Random in the familiar sense; not in the mathematical sense.CharlesSent from a mobile; please excuse the brevity. Original message From: Richard Zierdt Date: 12/7/2

Re: Program Authorization: Unauthorized programs calling Authorized

2024-11-23 Thread Charles Mills
I was going to post a much longer reply but most of the points have already been covered. Do however note that IEBCOPY no longer requires APF authorization. That has been true for "a while" -- perhaps z/OS 2.1 or even earlier. Charles On Sat, 23 Nov 2024 17:39:32 +1100, Clement Clarke wrote:

Re: Program Authorization: Unauthorized programs calling Authorized

2024-11-18 Thread Charles Mills
No "Don't release" ≠ Security Charles On Mon, 18 Nov 2024 14:53:12 -0600, Steve Beaver wrote: >I have the code to turn on and off the JSCBAUTH via an SVC but I don’t release >that code -- For IBM-MAIN subscribe / si

Re: Program Authorization: Unauthorized programs calling Authorized

2024-11-18 Thread Charles Mills
Or if you prefer macros to control block chasing ... https://www.ibm.com/docs/en/zos/3.1.0?topic=wto-testauth-test-authorization-caller Either way it's a lot more manager-friendly than S047. Charles On Mon, 18 Nov 2024 15:19:02 -0500, Steve Thompson wrote: >I don't know if it will work for

Re: Program Authorization: Unauthorized programs calling Authorized

2024-11-18 Thread Charles Mills
Think of APF authorization as being as restrictive as the weakest link. (And that's a good thing.) - Every library in the STEPLIB concatenation authorized except one? Not authorized. - Called by an unauthorized program? Not authorized. - Called a bunch of programs, one of which was unauthorized?

Re: What can this mean?

2024-11-18 Thread Charles Mills
It's like the job postings where they want three to five years of experience with some brand-new technology. CM On Mon, 18 Nov 2024 11:10:38 -0500, Phil Smith III wrote: >I keep hearing an ad for IBM consulting that says "We have 65,000 consultants >with GenAI experience". Is a quarter of IBM

Re: C STRCPY Speed test on ZOS and Climate Change

2024-11-14 Thread Charles Mills
C++ is an extension to C. It provides managed strings via a class named, appropriately enough, string. I would assume that the various string methods use "defined length" technology analogous to memcpy(). string is largely immune to buffer overruns. Even if you don't like object-oriented progra

Re: Help with FTP client using AT-TLS

2024-11-13 Thread Charles Mills
>Since our host servers are not mainframes, can we let customers use >AT-TLS, and what do we need to do on our side?" Yes, and probably nothing. It's just TLS. >asked to provide a job to customers to use AT-TLS on their mainframes. It's not a "JCL problem" on the client end. It is a Policy Age

Re: Circular (non)documentation references

2024-11-11 Thread Charles Mills
Does this help? https://www.ibm.com/docs/en/zos/3.1.0?topic=guide-xlc-compiler-invocation-using-customizable-configuration-file CM On Mon, 11 Nov 2024 23:18:36 +, Farley, Peter wrote: >In a z/OS Unix shell session, I find this: > >$ man xlc > xlc - Compiler invocation using a customiza

Re: 32 bit

2024-11-06 Thread Charles Mills
Well, @Captain, I stand corrected. (That was me in error.) Charles On Wed, 6 Nov 2024 13:20:58 -0800, Tom Ross wrote: >>On Sun, 3 Nov 2024 14:59:20 -0600, Paul Gilmartin wr= >>ote: >> >>>It would be a disservice to customers to retire 24-bit support berore >>>all IBM programming interfaces s

Re: 32 bit

2024-11-03 Thread Charles Mills
On Sun, 3 Nov 2024 14:59:20 -0600, Paul Gilmartin wrote: >It would be a disservice to customers to retire 24-bit support berore >all IBM programming interfaces support AMODE 31. Do *any* of the modern compilers (C, COBOL, PL/I) "support 24-bit addressing"? What would that mean, exactly? Their l

Re: Bounded string move?

2024-10-31 Thread Charles Mills
It's what Dr. Chung-Lung Shum told me. (He was the architect of the Z chips through 2022.) The context I asked him about was strings from ~100 to 32K bytes, and where it was not a waste of time to have the target data in cache after the move. I think I benchmarked, but don't recall for sure. I

Re: Bounded string move?

2024-10-31 Thread Charles Mills
@Kirk: +1 @Shmuel: you know that an MVC loop is dramatically faster than MVCL? Surprising but true. CM On Wed, 30 Oct 2024 22:40:52 +, Seymour J Metz wrote: >I'm leaning towards SRST/MVCL. > >-- >Shmuel (Seymour J.) Metz >http://mason.gmu.edu/~smetz3 >עַם יִשְׂרָאֵל חַי >נֵ֣צַח יִשְׂרָאֵ֔

Re: z/OS macros with ARCHLVL=7

2024-10-19 Thread Charles Mills
> As to "R form" of freemain (or getmain) ... it should probably never be used > any longer. Why? (Serious question.) Charles On Sat, 19 Oct 2024 12:20:44 +, Peter Relson wrote: >In the alternate reality of unlimited resources and time, those sort of >expansion might be done. > >The only

Re: File Manager and viewing tracks

2024-10-11 Thread Charles Mills
I admit I have not read every post of this thread and I admit I may be being something of a curmudgeon, but how does printing the raw tracks of an allegedly encrypted dataset prove that it is encrypted? Would the people who are going to look at this printout be sufficiently astute to definitive

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

  1   2   3   4   5   6   7   8   9   10   >