Re: Some UNIX file usage questions

2022-06-21 Thread Andrew Rowley
On 22/06/2022 9:03 am, Charles Mills wrote: Can one write a Started Task in Java? What would the JCL look like (neglecting application-specific items)? This is a basic Java program that runs and responds to MODIFY and STOP commands: import java.time.*; import

Re: Some UNIX file usage questions

2022-06-21 Thread David Crayford
On 22/06/2022 7:03 am, Charles Mills wrote: Can one write a Started Task in Java? What would the JCL look like (neglecting application-specific items)? Yes, of course. For example, z/OSMF, WAS, z/OS Connect etc are all started tasks written in Java. The product I'm working on right now can

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
Can one write a Started Task in Java? What would the JCL look like (neglecting application-specific items)? I suppose I might ask the same question with regard to Python. Also is Python "standard" with z/OS or would I have to solve the download and install issues? Serious questions. Charles

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
That was one of my initial questions here and the answer here seemed to be Yes. Keep in mind that I do not need perfection. If there is a five second window where a successful write would get lost if the whole system crashed I can easily live with that. The trick seems to be to call fsync() after

Re: Some UNIX file usage questions

2022-06-21 Thread David Crayford
On 22/06/2022 3:01 am, Kirk Wolf wrote: FYI - JZOS includes a wrapper for __console2() - class com.ibm.jzos.MvsConsole Indeed. We use the JZOS console listener for handling modify commands. If Charles had Java skills he could have used the rotating log library and JZOS which provides MVS

Re: Some UNIX file usage questions

2022-06-21 Thread Lennie Dymoke-Bradshaw
Charles, To be honest I am unsure. I was concerned to ensure all data is hardened in the event of a system failure. Will ZFS handle that? Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of Charles Mills Sent: 21 June 2022 20:50 To: IBM-MAIN@LISTSERV.UA.EDU

Re: Irony (was: Some UNIX file usage questions)

2022-06-21 Thread Seymour J Metz
It's even reasonable if the X axis is learning and the y axis is time. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
STOP is the easy one, whether APPC, batch, STC or TSU. It can all be done in REXX or whatever you prefer; there's no need for a QEDIT. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List

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

2022-06-21 Thread Seymour J Metz
Yes, but if RTOS isn't in an airlines flight magazine then it never existed. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joe Monk [joemon...@gmail.com] Sent:

Re: Irony (was: Some UNIX file usage questions)

2022-06-21 Thread Bob Bridges
"Steep learning curve" is simpler: "Steep" implies to our visual imagination a hill that's difficult to ascend, so software that has a steep learning curve must be difficult to learn. Obvious! (Wrong, but obvious.) About "I could care less": Weird Al got that one wrong. I didn't understand

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
I see no advantage to that over simply writing to a UNIX file (where there are no "block" issues). Why write and copy when I could simply write? Serious question. What is the advantage of write-to-3390-and-copy-over as opposed to write-to-zFS? Charles -Original Message- From: IBM

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

2022-06-21 Thread Lennie Dymoke-Bradshaw
If IBM really wanted the mainframe base to GROW rather than just continue to exist, they would have to make it an attractive platform for start-up companies. IBM relinquished that role too many decades ago. Small companies become big companies. Then they continue with technology that is already

Re: Some UNIX file usage questions

2022-06-21 Thread Lennie Dymoke-Bradshaw
If I read this correctly, you will be writing about 24 bytes 96 times a day. That is 2304 bytes. This will use less than 2 tracks of 3390. My copy of GX26-4577 shows that if the LRECL is between 23 and 56 bytes you get 82 records per track. So why not simply write 24 byte blocks and then each

Re: Some UNIX file usage questions

2022-06-21 Thread Kirk Wolf
FYI - JZOS includes a wrapper for __console2() - class com.ibm.jzos.MvsConsole Kirk Wolf Dovetailed Technologies, LLC http://coztoolkit.com Note: Our website and domain name have changed from dovetail.com to coztoolkit.com On Tue, Jun 21, 2022, at 11:54 AM, Charles Mills wrote: > _console2()

Re: Some UNIX file usage questions

2022-06-21 Thread Peter Sylvester
On 21/06/2022 20:24, Paul Gilmartin wrote: On Tue, 21 Jun 2022 19:55:01 +0200, Peter Sylvester wrote: On 21/06/2022 17:47, Mike Schwab wrote: 24 byte blocks get 82 blocks per track. (96 blocks * 31 days) / 82 blocks = 37 tracks per month. Inefficient but a very small utilization. Copy to

Re: Some UNIX file usage questions

2022-06-21 Thread Paul Gilmartin
On Tue, 21 Jun 2022 19:55:01 +0200, Peter Sylvester wrote: >On 21/06/2022 17:47, Mike Schwab wrote: >> 24 byte blocks get 82 blocks per track. (96 blocks * 31 days) / 82 >> blocks = 37 tracks per month. Inefficient but a very small >> utilization. Copy to historical dataset to reblock. >

Re: Some UNIX file usage questions

2022-06-21 Thread Peter Sylvester
On 21/06/2022 17:47, Mike Schwab wrote: 24 byte blocks get 82 blocks per track. (96 blocks * 31 days) / 82 blocks = 37 tracks per month. Inefficient but a very small utilization. Copy to historical dataset to reblock. Indeed. How much data is this compared to all copies of all messages in

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
_console2() does everything appropriate, including managing the CIB chain. A batch job could, if appropriate, respond to STOP. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, June 21, 2022 9:36

Re: PE reason for SYSMODs

2022-06-21 Thread Seymour J Metz
A PTF flagged as PE will have error holds on it. Each error hold has an associated APAR,and each PTF will supersede each APAR that it corrects. The correcting PTF might have sufficient comments, or you might have to read the description of each APAR.

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
Does _console2() delete the CIB in order to allow and additional MODIFY? For a batch job, only the MODIFY CIB is an issue. From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, June 21, 2022 9:17 AM To: IBM-MAIN@LISTSERV.UA.EDU

Irony (was: Some UNIX file usage questions)

2022-06-21 Thread Paul Gilmartin
On Tue, 21 Jun 2022 12:55:18 +, Seymour J Metz wrote: >Lots of Yiddish idioms are in the form of a question, and if a translator >misses the implied question mark, all meaning is lost. The phrase "I could >care less" is the result of applying a tin ear to a sarcastic Yiddish idiom. >The

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
There still seems to be a lot of interest in oorexx and regina, both of which have features not in TSO/E REXX. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David

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

2022-06-21 Thread Allan Staller
Classification: Confidential I can count on one hand, the number of successful migrations I have encountered. The vast majority were over promised and under delivered. I know of 1 company with a 5-year plan to get of the mainframe. 25 years later, it is still there. I am directly aware of

Re: PE reason for SYSMODs

2022-06-21 Thread Seymour J Metz
It's an IBM-Link service that lets you report issues and search for information on reported issues. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bill Giannelli

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

2022-06-21 Thread Allan Staller
Classification: Confidential SYS1.IBM* ? or the LE VERSION SYS1.CEERUN1/2 -Original Message- From: IBM Mainframe Discussion List On Behalf Of Robert Prins Sent: Saturday, June 18, 2022 10:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Old PL/I Optimizing compiler - COUNT & FLOW options

Re: Some UNIX file usage questions

2022-06-21 Thread Mike Schwab
24 byte blocks get 82 blocks per track. (96 blocks * 31 days) / 82 blocks = 37 tracks per month. Inefficient but a very small utilization. Copy to historical dataset to reblock. On Tue, Jun 21, 2022 at 9:36 AM Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > > On Mon,

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
Adverse blocking: exactly; that is why I started this thread. Crash recovery: on restart continue appending onto this month's (UNIX) file; proceed as normal. With a whole lot of bad timing luck I might lose one record. It's not financial data; the data will barely be missed. Charles

Re: PE reason for SYSMODs

2022-06-21 Thread Carmen Vitullo
I'm not sure myself, I know we have limited passport advantage ID's, sometime, just sometimes a goggle search will provide a link to the IBM service link site and allow you to at the very least review the APAR Car,em On 6/21/2022 9:52 AM, Mark Jacobs wrote: I'm not up to date on what IBM

Re: PE reason for SYSMODs

2022-06-21 Thread Bill Giannelli
I dont know what "service link" is, but I am able to open support cases and am able to sign on and order maintenance thru shopz. When I try to click on a link from searching the apar I get a page mentioning passport advantage

Re: PE reason for SYSMODs

2022-06-21 Thread Mark Jacobs
I'm not up to date on what IBM requires for customers to get into ServiceLink and view information like that, so I can't answer your question. Do you have access to Service Information Search on ServiceLink? Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key -

Re: Some UNIX file usage questions

2022-06-21 Thread Paul Gilmartin
On Mon, 20 Jun 2022 21:55:07 -0700, Charles Mills wrote: >> But is loss of a single record disastrous? > >No, I said earlier, this is not banking transactions where a lack of 2-phase >commit risks losing a bunch of money between the cracks. > What's your crash recovery plan? o Create a new file

Re: Debit vs Credit card for cash at ATM? [was: RE: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS]

2022-06-21 Thread Farley, Peter x23353
I have never actually used any of my credit cards at my (or any) bank's ATM's to get cash. I was in fact making an assumption that a bank ATM does not have any such option for credit cards. It makes sense that banks would allow such an option as a convenience for their customers. I was not

Re: PE reason for SYSMODs

2022-06-21 Thread Bill Giannelli
do you need "Passport Advantage" to see that? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: PE reason for SYSMODs

2022-06-21 Thread Mark Jacobs
I looked at APAR PH45816 in IBMLINK, there's some good information there. Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com --- Original Message --- On Tuesday, June 21st, 2022 at 9:46

Re: Debit vs Credit card for cash at ATM? [was: RE: Modernize Mainframe Applications for Hybrid Cloud with IBM and AWS]

2022-06-21 Thread Doug Henry
On Fri, 17 Jun 2022 18:21:24 -0400, Phil Smith III wrote: >Peter Farley wrote: > >>Curious - How do you get cash at an ATM directly from your checking or >savings account without a bank debit card? > > > >>Using a credit card to get cash from an ATM usually means drawing "Cash >Advance" money on

Re: PE reason for SYSMODs

2022-06-21 Thread Bill Giannelli
In the Global, when I display holddata, it shows the following: ++HOLD(UI77430) FMID(HDBCC10) REASON(AH45816) ERROR DATE(22110) COMMENT(SMRTDATA(CHGDT(220420))) CLASS(PE). -- For IBM-MAIN subscribe / signoff / archive access

Re: PE reason for SYSMODs

2022-06-21 Thread Mark Jacobs
Can you see what your GLOBAL zone says about that PTF? Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com --- Original Message --- On Tuesday, June 21st, 2022 at 9:35 AM, Bill Giannelli

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
It is trivial to check for a STOP from REXX. If you want to accept MODIFY text then you need to write assembler code to issue QEDIT in order to * Enable MODIFY * Delete CIB once you have processed it -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: Some UNIX file usage questions

2022-06-21 Thread David Crayford
Hi Rony, Much respect for spending so much time to scribe such a response. We've already flogged this horse within an inch of it's life already and we will just have to agree to disagree. REXX is still an important language on z/OS for TSO scripting, NetView and System REXX is quite cool. As

Re: PE reason for SYSMODs

2022-06-21 Thread Bill Giannelli
Thank you for the help and information! I am not particularly concerned just tracking things down.. The PTF is UI77430 which in the APPLY CHECK kicks out as PE.but on the IBM site it doesnt show as PE. thanks Bill -- For

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
> What happens if the operator enters STOP during the (relatively minuscule) > fraction of time that Rexx, not Assembler is active? Nothing relevant. > Is there a need for persistent storage accessible by both Rexx and Assembler? Not in this case. Why on Earth would there be a need? --

More IBM LDAP questions

2022-06-21 Thread Dave Jousma
All, I asked some IBM LDAP questions awhile back, and we have it configured, and users are able to bind to it, a big thank-you to the folks that responded. What I am looking for assistance now (or a real life example) is usage of the ICTX plugin for remote authorizations. Server-side

Re: DFSort Create Filename

2022-06-21 Thread Ron Thomas
Thanks a lot Kolusu. it worked like a charm !! Regards Ron T -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
I assume that by "Extract ECB" you mean the Communication ECB IN THE CSCB, located via EXTRACT. If you want to allow MODIFY then you need to use QEDIT to set a non-zero limit. I might believe _console2(). -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: PE reason for SYSMODs

2022-06-21 Thread Carmen Vitullo
Checking my SMPHRPT  the hold class for my PE'd PTFS show, if applicable, a MISSING APAR, the HELD SYSMOD, a RESOLVING SYSMOD, if available and the RESOLVER STATUS, usually MISSING or NOGO(H) - held for some reason, If I really want to dig in I'll check the MISSING APAR on the IBM site,

Re: Some UNIX file usage questions

2022-06-21 Thread David Crayford
On 21/06/2022 9:09 pm, Seymour J Metz wrote: If all that you want to do is to check for STOP, then it should be trivial to do it in C++. If you also want to enable and look for MODIFY text, then you need to use QEDIT. At that point it's easier to do it in HLASM. The __console2() C/C++ RTL

Re: Some UNIX file usage questions

2022-06-21 Thread Charles Mills
Lots of experience there. Not an issue. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, June 21, 2022 6:01 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Some UNIX file usage questions I'd

Re: PE reason for SYSMODs

2022-06-21 Thread Mark Jacobs
Are you talking about the PE APARs associated with the PTF or something else? Can you share an example of what you're looking at. Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com ---

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
If all that you want to do is to check for STOP, then it should be trivial to do it in C++. If you also want to enable and look for MODIFY text, then you need to use QEDIT. At that point it's easier to do it in HLASM. I've used Assembler H and REXX in an environment where code and design

Re: Some UNIX file usage questions

2022-06-21 Thread David Spiegel
Shkoyach! On 2022-06-21 08:55, Seymour J Metz wrote: Lots of Yiddish idioms are in the form of a question, and if a translator misses the implied question mark, all meaning is lost. The phrase "I could care less" is the result of applying a tin ear to a sarcastic Yiddish idiom. The Yiddish

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
I'd probably write a REXX-callable CIB interface routine in HLASM and do the heavy lifting in REXX. But I'd be looking for MODIFY and START as well as STOP, and I'd be deleting the CIB. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
Lots of Yiddish idioms are in the form of a question, and if a translator misses the implied question mark, all meaning is lost. The phrase "I could care less" is the result of applying a tin ear to a sarcastic Yiddish idiom. The Yiddish idiom translates to either "Ask me if I could care

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
rexx passes everything by value. I suspect that the correct code is res = console('context', wait_time). -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul

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

2022-06-21 Thread Seymour J Metz
The case that I was thinking of was in Canada (Toronto?) and used an 1108 rather than the more obvious 490. The IBM 1130 and 1800 were smaller machines. I wouldn't be surprised to see some Burroughs, CDC, DEC, DG, GE or Honeywell machines having been used for similar applications. -- Shmuel

PE reason for SYSMODs

2022-06-21 Thread Bill Giannelli
When tracking PTFs that are PE, does the "REASON" code provide more information? Where might I see more information for a PE SYSMOD and when it might be corrected? thanks Bill -- For IBM-MAIN subscribe / signoff / archive

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
The Communication ECB is key 0, not fetch protected. Despite the key 0, a key 8 task is allowed to do a WAIT. IRXEXCOM returns contents, not addre4sses. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List

Re: How to search large loadlib

2022-06-21 Thread Lionel B. Dyck
The simple way using the PDS Command (CBT File 182) is this command: PDS 'load.library' find : 'ABCDE' ignore then(dir) Works great. Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck "Worry more about your character than your

Re: Highlighted Console Messages

2022-06-21 Thread Seymour J Metz
AFAIK you need AMRF active in order to retrieve action messages that have rolled off. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Mike Martin

Re: How to search large loadlib

2022-06-21 Thread Peter Relson
In many cases, if looking for "ABCDE" you could just search the loadlib, using your favorite text search, for that character string. ESD entries will show up. So will an eyecatcher if there is one. Peter Relson z/OS Core Technology Design

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
There is a well documented API for a function to read and set REXX variables and to pass back a result. Calling commands with address LINK is generally for code that is not REXX aware. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM

Re: Highlighted Console Messages

2022-06-21 Thread Mike Martin
Thanks Seymour , AMRF is not active. We did issue D R,L but only saw outstanding WTORs. Does AMRF need to be active to see highlighted messages in the command output? Mike -- For IBM-MAIN subscribe / signoff / archive

Re: Highlighted Console Messages

2022-06-21 Thread Seymour J Metz
Is AMRF active? Did you try D R? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of MARTIN, MIKE [mike.mar...@ncsecu.org] Sent: Tuesday, June 21, 2022 6:44 AM To:

Re: Some UNIX file usage questions

2022-06-21 Thread Seymour J Metz
If only IBM would port OOREXX to TSO! Even when writing code that could just use a REXX BIF, I find it more convenient to use method invocations, e.g., len = stg~word(3)~length rather than len = length(word(stg,3)). If you want to use OOREXX in Linux on Z, you might want the ANSI extension

Highlighted Console Messages

2022-06-21 Thread MARTIN, MIKE
Hi all, If our operator had the console set to roll highlighted messages off the console, is there a command to display those messages if they haven't been DOM'd? For example, this message had apparently had rolled off our console... *IEE806A COMMANDS EXCEED LIMIT IN COMMAND CLASS M2 (we

Re: Some UNIX file usage questions

2022-06-21 Thread Rony G. Flatscher
On 20.06.2022 19:26, David Crayford wrote: On 21/06/2022 1:07 am, Paul Gilmartin wrote: On Mon, 20 Jun 2022 08:47:49 -0700, Charles Mills wrote:     ... The assembler routine will take as input a delay time in hundredths of a second (because of STIMER), do a WAIT ECBLIST, and return one of

Re: Some UNIX file usage questions

2022-06-21 Thread David Crayford
On 21/06/2022 12:53 pm, Charles Mills wrote: No! 96 24-byte *records* per day. My current vision is to use a UNIX file, write the records every 15 minutes as they are produced, and do the close/rename/start over once per *month*, on the first write after midnight on the 1st of every