Re: SMPe ACCEPT process

2022-06-18 Thread CM Poncelet
In the 1980's, IMS SYSMODs (CBIPO/CBPDO etc.) had to be accepted before they could be applied. It might have had to do with the macros needing to be accepted before the rest of it could be applied.   Not sure how it is done now. The last IMS *native SMP/E* CBIPO I did was in 2000 - probably an

Re: Some UNIX file usage questions

2022-06-18 Thread David Crayford
On 19/06/2022 10:18 am, kekronbekron wrote: Would using DISP=SHR,DSN=xx,FREE=CLOSE in the 15-min writer STC work? Or just YOLO it like the object storage people, i.e., 1 file for 15 minutes in USS. Or, if you're willing to explore a little, check out NATS. It's a light-weird 'MQ' of the modern

Re: Some UNIX file usage questions

2022-06-18 Thread kekronbekron
Would using DISP=SHR,DSN=xx,FREE=CLOSE in the 15-min writer STC work? Or just YOLO it like the object storage people, i.e., 1 file for 15 minutes in USS. Or, if you're willing to explore a little, check out NATS. It's a light-weird 'MQ' of the modern age. NATS CLI should save you from most of

Re: Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Mike Schwab
Might ask for help on the Hercules forums. They have updated the IFOX assembler with user mode z instructions, for example. On Sat, Jun 18, 2022 at 4:47 PM Robert Prins wrote: > > Thanks, that might help. I've found that for the 2.3.0compiler, the table > is printed via "ibmfefca", got the

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Gibney, Dave
I believe the mainframe (and z/OS) will be here for a long time to come. But, I also think the smaller installations like mine are increasingly toast. The z/OS software charging models just don't work with the increasing minimum capacity of z machines. Sometime within the next 12 months, I am

Re: Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Robert Prins
I could simply add a few "fixed dec (15)" counters into the code, and turn the do-while loop into the discrete one from the manuals. The whole exercise is of course a bit silly, as I knew that was coming for years, and meeting someone from the Dominican Republic finally made it happen. And I'm

Re: Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Robert Prins
Thanks, that might help. I've found that for the 2.3.0compiler, the table is printed via "ibmfefca", got the "brilliant" idie of looking for "grand total" in the library routines. Haven't yet figured out how to disassemble it, and even if I could, I'm not sure what I would be looking for, i.e. the

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Bill Johnson
If you’re here for opinions, you’ve come to the right place. Sent from Yahoo Mail for iPhone On Saturday, June 18, 2022, 5:23 PM, Enzo D'Amato wrote: I also agree, but as a non-insider, I wanted to know what others were thinking. I also belive that in most cases, the effort spent trying to

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Charles Mills
You have no potential in management. Re-arranging the deck chairs is a time-honored management strategy. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Enzo D'Amato Sent: Saturday, June 18, 2022 2:23 PM To:

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Enzo D'Amato
I also agree, but as a non-insider, I wanted to know what others were thinking. I also belive that in most cases, the effort spent trying to get off the mainframe would be better spent actually fixing the code running on it in the first place. Moving around broken code doesn't automatically fix

Re: SMPe REPORT by APPLY date

2022-06-18 Thread Rob Schramm
Smplog has all the info. Unless it was dummy'd out. Rob On Sat, Jun 18, 2022, 09:41 Bill Giannelli wrote: > Is it possible to get a SMPe report in order of the date the sysmods were > applied? > thanks > Bill > > -- > For

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Bill Johnson
Agree 100% Sent from Yahoo Mail for iPhone On Saturday, June 18, 2022, 5:12 PM, Charles Mills wrote: I always like the stories about the companies that are in the eighth year of a three-year project to get off the mainframe. Enzo, my friend, you have just kicked the hornets' nest! You had

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Charles Mills
I always like the stories about the companies that are in the eighth year of a three-year project to get off the mainframe. Enzo, my friend, you have just kicked the hornets' nest! You had better duck, because the onslaught is coming. "The mainframe is [not] dead" is near and dear to the hearts

Re: Some UNIX file usage questions

2022-06-18 Thread Paul Gilmartin
On Sat, 18 Jun 2022 12:18:12 -0700, Charles Mills wrote: >That's a thought. I had not thought of that. I am REAL familiar with SMF >including user SMF records. APF authorization is not a problem -- I am the >master of this universe. > I suspect that mixing MVS and UNIX technologies might

Re: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS

2022-06-18 Thread Enzo D'Amato
As someone who is new to this field, and hasn't been though a wave of "the mainframe is going away" yet, will there still be companies running the mainframe 5 or 10 years down the line? Also, when I read about companies trying to get off of the mainframe, how often do these efforts end up

Re: Some UNIX file usage questions

2022-06-18 Thread Bernd Oppolzer
I am very sure that if you issue fopen (with "append") on a file with, say, LRECL = 24 and BLKSIZE = 9600, which has one record and one block with only one record in it, and you write a second record, that then this file will still have one block, but now two records. At least this is what I

Re: Some UNIX file usage questions

2022-06-18 Thread Steve Smith
QSAM to a traditional PS file with the process you described is certainly going to write only short blocks. Given the amount of data involved, would it matter? However, besides USS files, you could consider an ESDS. VSAM maintains its CISIZE and blocksize quite rigorously. And it should be

Re: Some UNIX file usage questions

2022-06-18 Thread Bernd Oppolzer
As another poster pointed out, fopen / fwrite / fclose is similar to QSAM PUT and supports arbitrary block sizes; the block size you want can be specified on the DD statement or on fopen (IBM C extension). From your original post I got the impression that you wanted to write an invidividual

Re: Some UNIX file usage questions

2022-06-18 Thread Charles Mills
That's a thought. I had not thought of that. I am REAL familiar with SMF including user SMF records. APF authorization is not a problem -- I am the master of this universe. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of

Re: Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Bob Bridges
I wouldn't for the world want to discourage anyone who wants to try patching compiled code, just for the fun of it. If you want to, go for it. But wouldn't it be simpler just to do the calculation? Or are you wondering HOW MANY TIMES the counter cycled? --- Bob Bridges,

Re: Some UNIX file usage questions

2022-06-18 Thread Charles Mills
Thanks! Yes, I am familiar with the basics of UNIX I/O. I have written a couple of large applications in C++ so I have used fopen() and friends mostly for conventional MVS datasets but also for UNIX files. I just don't have much "big picture" usage experience with UNIX files beyond "yes, I

Re: Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Tony Harminc
On Sat, 18 Jun 2022 at 08:53, Robert Prins wrote: > Does anyone know which library modules are responsible for the > implementation of these two compiler options, and more precisely, for the > reporting of statement counts, as I need to (try to) patch the latter, > given that it treats negative

Re: Some UNIX file usage questions

2022-06-18 Thread Charles Mills
> fopen / append > write one record with timestamp and the 24 bytes of collected data > fclose Are you saying that I will not then end up with 24-byte "physical" blocks, or did you not consider that part of my original post? Yes, I agree, if the writer has the file allocated for only a brief

Re: Some UNIX file usage questions

2022-06-18 Thread Charles Mills
Thanks. I am REAL familiar with syslog (RFC 3164 syslog, not MVS SYSLOG). I don't *think* I want to go that route. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Saturday, June 18, 2022 10:41 AM To:

Re: Some UNIX file usage questions

2022-06-18 Thread Mike Shaw
If it's APF authorized, the STC can write a user SMF record.Then you don't have to worry about buffering, writing the data, filling up the output file, serialization of I/O, any of that stuff. SMF handles all that for you. Mike Shaw MVS/QuickRef Support Group Chicago-Soft, Ltd. On Sat, Jun 18,

Re: Some UNIX file usage questions

2022-06-18 Thread Paul Gilmartin
On Sat, 18 Jun 2022 12:35:36 -0500, John McKown wrote: >... >Remember that the actual I/O buffer is in a UNIX filesystem address >space. So an application reading & writing a file are actually getting data >from it. If you were to save data (or run some program which updates it), >the

Re: Some UNIX file usage questions

2022-06-18 Thread John McKown
I might add that this is not how I would do this. But I'm known to be weird. For small amounts of data, I tend to set up UNIX SYSLOG DAEMON with appropriate "facility" and "priority" and send the data to it to take care of. But I already have this set up on my z/OS work system, so it is NBD to me

Re: Some UNIX file usage questions

2022-06-18 Thread Bernd Oppolzer
I would use one single normal MVS dataset and make the started task every 15 minutes do the following: fopen / append write one record with timestamp and the 24 bytes of collected data fclose this will last only microseconds, and your file can have any desired blocksize. (I assume that you

Re: Some UNIX file usage questions

2022-06-18 Thread John McKown
On Sat, Jun 18, 2022 at 11:52 AM Charles Mills wrote: > Hope some of you can help out a dinosaur. > One dino to another, I'll try. > > I am designing a z/OS application (for in-house use, not an ISV product). > It > will consist of a started task that runs continuously plus one or more >

Re: Some UNIX file usage questions

2022-06-18 Thread Paul Gilmartin
On Sat, 18 Jun 2022 09:51:45 -0700, Charles Mills wrote: >... >I picture writing the started task in Rexx, so I would have to write to a DD >name allocated to the UNIX file (either dynamically or with JCL), not with >"native" C fopen(), fwrite(), etc. Does that change any of the answers? >

Some UNIX file usage questions

2022-06-18 Thread Charles Mills
Hope some of you can help out a dinosaur. I am designing a z/OS application (for in-house use, not an ISV product). It will consist of a started task that runs continuously plus one or more small reporting programs, one of them to be run daily shortly after midnight. The started task will record

SMPe REPORT by APPLY date

2022-06-18 Thread Bill Giannelli
Is it possible to get a SMPe report in order of the date the sysmods were applied? thanks Bill -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO

Old PL/I Optimizing compiler - COUNT & FLOW options

2022-06-18 Thread Robert Prins
Hi all, Does anyone know which library modules are responsible for the implementation of these two compiler options, and more precisely, for the reporting of statement counts, as I need to (try to) patch the latter, given that it treats negative counts as zero, and I now have a program where