Re: even an old mainframer can do it

2021-08-18 Thread David Crayford
You're missing the point. Those utilities are designed to be run in z/OS UNIX processes not as batch jobs. There are some benefits to that such as being able to programmatically recovery from errors such as x37 abends.  I don't particularly like those utilities. At Rocket we have much better

Re: even an old mainframer can do it

2021-08-18 Thread David Crayford
I use Intellij IDEs which lint as you type. CLion for C/C++ is next level to any other editor I've ever used. JetBrains tooling is amazing but expensive. Luckily my employer pays! There is the clangd daemon that basically compiles in the background as you type code and picks up errors. I use

Re: even an old mainframer can do it

2021-08-18 Thread kekronbekron
Exactly. Problem seems to be that the folks developing new-age tooling are fully from the new-age tooling world, with very limited hands-on time with z/OS. Experience means something, else we're doomed to keep repeating the same mistakes in different implementations, opting for a 'fresh start'

Re: Spool entire job to a file?

2021-08-18 Thread kekronbekron
If you don't mind, can you show us how. - KB ‐‐‐ Original Message ‐‐‐ On Thursday, August 19th, 2021 at 5:33 AM, Billy Ashton wrote: > I found a way to call the Sysview batch processing program from my JCL, > > and I can save the whole job as I wanted. > > Thanks to everyone for your

Re: even an old mainframer can do it

2021-08-18 Thread kekronbekron
> To be fair, the old-mainframer remark you took to be condescending, I took to > be aimed at himself. What I don't understand is his leading argument about > why Python is better. I understand... However, if these are the kind of implementations that the big vendors are going to champion as

Re: even an old mainframer can do it

2021-08-18 Thread Clifford McNeill
I miss socializing in the line to use the keypunch. Compiles were fill-in type work that involved operators reading in the card deck, so very controlled and very occasional. Desk checking was required. Cliff McNeill From: IBM Mainframe Discussion List on

Re: even an old mainframer can do it

2021-08-18 Thread Andrew Rowley
On 18/08/2021 1:59 pm, kekronbekron wrote: Objectively, this has got to be madness. Just look at the JCL that's being shoved into a horrid, horrid Python program. ~200 lines to replace 18 lines of JCL. I believe that JCL is better compared to languages like XML, YAML, JSON etc. than

Re: even an old mainframer can do it

2021-08-18 Thread Stuart Holland
Back then, we had a 2-processor machine. It had to support multiple CICS test regions along with the TSO users and batch. Online compiles were not allowed because TSO was for short-running transactions with plenty of think time. Tieing up your (possibly shared) terminal (and not doing anything

Re: even an old mainframer can do it

2021-08-18 Thread Steve Horein
I thought that looked familiar. Saw the article on reddit: https://www.reddit.com/r/mainframe/comments/p6aj9m/converting_jcl_to_python/ On Tue, Aug 17, 2021 at 10:59 PM kekronbekron < 02dee3fcae33-dmarc-requ...@listserv.ua.edu> wrote: > Objectively, this has got to be madness. > Just look at

Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton
I found a way to call the Sysview batch processing program from my JCL, and I can save the whole job as I wanted. Thanks to everyone for your suggestions--I really like the way this group thinks out of the box! Billy Billy Ashton wrote on 8/18/2021 13:56: Thanks, Lizette! I will give this

Alias, Shortcut, Symlink? (was: Kudos ...)

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 16:19:18 -0500, Mike Schwab wrote: >A symbolic link is an alternate name to another file or directory. >Kind of like an alias to a PDS member. > "Kind of". In particular, a symlink can be created before the target exists and persists after the target is deleted, like a

Re: Kudos to IBM

2021-08-18 Thread Mike Schwab
A symbolic link is an alternate name to another file or directory. Kind of like an alias to a PDS member. On Wed, Aug 18, 2021 at 3:31 PM Tom Brennan wrote: > > I don't know. Even in Windows such a method might require the full path > in the supplied shortcuts, which would be a problem.

Re: Kudos to IBM

2021-08-18 Thread Tom Brennan
I don't know. Even in Windows such a method might require the full path in the supplied shortcuts, which would be a problem. Another method would be for IBM to provide a script that builds the shortcuts, and of course that could be different code depending on the platform. Thanks but no

Re: even an old mainframer can do it

2021-08-18 Thread Bob Bridges
To be fair, the old-mainframer remark you took to be condescending, I took to be aimed at himself. What I don't understand is his leading argument about why Python is better. The simplicity of JCL is based on the fact that JCL is just code that we manage. The code itself is not complex,

Re: even an old mainframer can do it

2021-08-18 Thread Charles Mills
When I started in this business you got one compile turn a night. Omit a comma? Cost you 24 hours. Better to spend hours desk-checking. I prided myself on my ability to desk-check. Now I do most of my compiles on my desktop and so I have gotten very cavalier about "let the compiler find the

Re: Kudos to IBM

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 10:09:49 -0700, Tom Brennan wrote: >... >Maybe IBM could include such alias links in their big zip file, and save >us from having to make updates to our scripts every time their html >index format changes - i.e. every time :) > Portabilit? Would your proposed .zip work

Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton
Thanks, Lizette! I will give this a try. Billy Lizette Koehler wrote: Go to the internet and look for John McKown's JES2DISK in a GIT Hub It will do what you want and it is free Lizette -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent:

Re: Spool entire job to a file?

2021-08-18 Thread Lizette Koehler
Go to the internet and look for John McKown's JES2DISK in a GIT Hub It will do what you want and it is free Lizette -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, August 18, 2021 6:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Spool

Re: even an old mainframer can do it

2021-08-18 Thread Tom Brennan
Good to hear! During that time one of my other supervisors/teachers would tell me about her application experience. She said no matter how complex her COBOL programs were, they would not only compile first time but would run perfectly. This of course was due to her rigorous desk-checking

Re: Kudos to IBM

2021-08-18 Thread Charles Mills
Grrr. That works (in Chrome) for real "Internet" PDFs but not for the z/OS collection that I now have on local disk. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of ste...@copper.net Sent: Tuesday, August 17, 2021 5:43 PM

Re: even an old mainframer can do it

2021-08-18 Thread Frank Swarbrick
I program that way to this day. (Lots of compiles of small changes, that is.) Never been called out on it like that, though! From: IBM Mainframe Discussion List on behalf of Tom Brennan Sent: Wednesday, August 18, 2021 11:17 AM To: IBM-MAIN@LISTSERV.UA.EDU

Re: even an old mainframer can do it

2021-08-18 Thread Tom Brennan
Me too, but in the early 1980's. I'd run the assembler from TSO READY so I wouldn't have to wait for an initiator. My way of programming was always like starting with a ball of clay generally like what I wanted, then adding the details as I went along. That method means lots and lots of

Re: Kudos to IBM

2021-08-18 Thread Tom Brennan
On 8/18/2021 9:23 AM, Paul Gilmartin wrote: But I don't use that html index anyway - I've been using Windows shortcuts created from the index by a script I wrote a couple of years ago. Looks like this: http://www.mildredbrennan.com/mvs/shortcuts.png Nice, especially the sidebar. I wrote a

Re: Unable to access dsn's from catalog - 3.4

2021-08-18 Thread Elaine Beal
Thanks Tom! Evidently I lost that somewhere along the way -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Kudos to IBM

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 09:09:01 -0500, Wendell Lovewell wrote: >It's not exactly a refresh Paul, but change the '4' to a '5' and you have: > >https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R5IndexFile/$file/index.html > >Gary Puchkoff mentioned yesterday the z/OS 2.5 PDFs were

Re: [External] Re: even an old mainframer can do it

2021-08-18 Thread Pommier, Rex
Jeremy, Good thing I read your comment - I also noticed the "less error free" Freudian slip in the article. Regarding his comment about lowering the amount of typo's, how many additional mistakes are going to be introduced into his 200+ line program when a change needs to be made to it to

Re: Spool entire job to a file?

2021-08-18 Thread Charles Mills
What comes to my mind is FTP. SITE FILETYPE=JES GET JOB01234 Yes, there are some configuration requirements. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Billy Ashton Sent: Wednesday, August 18, 2021 6:47 AM To:

Re: [EXTERNAL] Re: Spool entire job to a file?

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 14:32:29 +, Barkow, Eileen wrote: >There is a redbook named 'IMPLEMENTING REXX SUPPORT IN SDSF' which contains a >chapter about copying sysout datasets to a PDS, among a lot of other examples. > >ibm.com/redbooks > (GIYF) I wrote a Rexx program, largely based on

Re: Spool entire job to a file?

2021-08-18 Thread Seymour J Metz
Your best bet is an XDC line command in SDSF. An external writer won't separate the jobs for you. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Billy Ashton

Re: even an old mainframer can do it

2021-08-18 Thread Seymour J Metz
If his objective is to generate a job, File Tailoring is about as simple as it gets. If his objective is to run SMP in foreground, a simple REXX script is easier. That said, language like Python have their place. But when the only tool you have is a pipe, everything looks like a filter. And,

Re: RENT binder option

2021-08-18 Thread Seymour J Metz
There are lots of serialization techniques that will satisfy the sole requirement of correct parallel execution. CS, latches and locks all come to mind. I have yet to see a case where a restore is necessary. In most cases a restore would break it. EXC? That depends on what the code is doing.

Re: [EXTERNAL] Re: Spool entire job to a file?

2021-08-18 Thread Barkow, Eileen
There is a redbook named 'IMPLEMENTING REXX SUPPORT IN SDSF' which contains a chapter about copying sysout datasets to a PDS, among a lot of other examples. ibm.com/redbooks -Original Message- From: IBM Mainframe Discussion List On Behalf Of kekronbekron Sent: Wednesday, August 18,

Re: Spool entire job to a file?

2021-08-18 Thread James Crudele
If you have sdsf there is a nifty Rexx that will output all to a pds. Not sure about sysview. > On Aug 18, 2021, at 10:26, Billy Ashton wrote: > > Actually, we have the CA product Sysview. I am looking to see if there is an > easy way to do this in there. > > James Crudele wrote: >> >>

Re: Spool entire job to a file?

2021-08-18 Thread Billy Ashton
Actually, we have the CA product Sysview. I am looking to see if there is an easy way to do this in there. James Crudele wrote: No SDSF? On Aug 18, 2021, at 09:56, Mike Shorkend wrote: Spool Offload? -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy

Re: Spool entire job to a file?

2021-08-18 Thread James Crudele
No SDSF? > On Aug 18, 2021, at 09:56, Mike Shorkend wrote: > > Spool Offload? > > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Billy Ashton > Sent: Wednesday, 18 August 2021 16:47 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Spool entire job to a file? > >

Re: Spool entire job to a file?

2021-08-18 Thread kekronbekron
What I do is: - type in a + in the NP column to expand it - sort pos a (oldest job comes at the top) - //xdc on the top job - // on the bottom job - enter some PDS name with MOD and name the members @JOB01... so that you can press enter, change 1 to 2, press enter, change 2 to 3, etc. Savings

Re: Spool entire job to a file?

2021-08-18 Thread David Spiegel
Yeah, but, that won't split it into members. On 2021-08-18 09:52, Mark Jacobs wrote: Use the JES2 external writer perhaps. Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key -

Re: Kudos to IBM

2021-08-18 Thread Wendell Lovewell
It's not exactly a refresh Paul, but change the '4' to a '5' and you have: https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R5IndexFile/$file/index.html Gary Puchkoff mentioned yesterday the z/OS 2.5 PDFs were available. KC not until GA. Wendell

Re: even an old mainframer can do it

2021-08-18 Thread Jeremy Nicoll
On Wed, 18 Aug 2021, at 12:52, Tony Thigpen wrote: > The problem is that he approached his objective from the wrong direction. > > It appears that is objective was to 'avoid changing the JCL for > different control cards'. I thought that none of what was written addressed the distinction

Re: Spool entire job to a file?

2021-08-18 Thread Mike Shorkend
Spool Offload? -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, 18 August 2021 16:47 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Spool entire job to a file? Hi all...I have a need to run a bunch of jobs to do some changes to files, and we

Re: Spool entire job to a file?

2021-08-18 Thread Mark Jacobs
Use the JES2 external writer perhaps. 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 Wednesday, August 18th, 2021 at 9:46 AM, Billy Ashton wrote: > Hi

Re: Spool entire job to a file?

2021-08-18 Thread David Spiegel
Hi Billy, If you have SDSF, you XDC the Job to a Dataset. Regards, David On 2021-08-18 09:46, Billy Ashton wrote: Hi all...I have a need to run a bunch of jobs to do some changes to files, and we want to preserve the output of all these jobs for auditors. Is there a way to use an OUTPUT

Spool entire job to a file?

2021-08-18 Thread Billy Ashton
Hi all...I have a need to run a bunch of jobs to do some changes to files, and we want to preserve the output of all these jobs for auditors. Is there a way to use an OUTPUT statement or something in the job itself that can redirect the entire job output to a PDS member? We don't have a

Re: LISTSERV 17.0

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 01:56:11 -0500, Patrick Loftus wrote: >You can update the font in your Preferences/Archive options. There's a >setting to switch to proportional font. > Thanks for the pointer. Alas, merely a binary choice, Mono/Proportional. My eyesight is bad enough that I want Bold. I

Re: Query ZFS aggrigates

2021-08-18 Thread Carmen Vitullo
That did it James, thank you so much ! Carmen On 8/18/2021 8:25 AM, James Crudele wrote: f omvs,pfs=zfs,query,all On Aug 18, 2021, at 09:17, Carmen Vitullo wrote: I've moved ZFS to run under OMVS on 2 of my LPARS, I'm working on an issue where one of my systems just hung, one of the

Re: Query ZFS aggrigates

2021-08-18 Thread James Crudele
f omvs,pfs=zfs,query,all > On Aug 18, 2021, at 09:17, Carmen Vitullo wrote: > > I've moved ZFS to run under OMVS on 2 of my LPARS, I'm working on an issue > where one of my systems just hung, one of the messages in the log indicated > there are quiesed ZFS aggregates, action is to query

Query ZFS aggrigates

2021-08-18 Thread Carmen Vitullo
I've moved ZFS to run under OMVS on 2 of my LPARS, I'm working on an issue where one of my systems just hung, one of the messages in the log indicated there are quiesed ZFS aggregates, action is to query zfs and display all filesystems, so.since ZFS is not active and OMVS does not see the

Re: even an old mainframer can do it

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 01:35:41 -0500, Mike Schwab wrote: >... >So while waiting, I wrote a clist to do the same thing. ... > I have kept some of my JCL as here-documents in shell scripts; tailoring with variable substitution. This was particularly useful prior to the advent of "DD * SYMBOLS=".

Re: RENT binder option

2021-08-18 Thread Paul Gilmartin
On Wed, 18 Aug 2021 08:46:43 +, Seymour J Metz wrote: >Aftermarket books generally get things wrong; that's why I prefer to use the >reference manuals as tutorials. BTW, can you spot what else is wrong with that >passage? > o Should ENQ specify EXC? (Or other locking mechanism such as

Re: even an old mainframer can do it

2021-08-18 Thread Mitch Mccluhan
Tony, Excellent retort!  I agree.  Why make something simple and so many people understand into something that is complex and black box-ish. Mitch -Original Message- From: Tony Thigpen To: IBM-MAIN@LISTSERV.UA.EDU Sent: Wed, Aug 18, 2021 7:52 am Subject: Re: even an old mainframer

Re: even an old mainframer can do it

2021-08-18 Thread Ron Wells
They are taught the mainframe is OUT, heard this for decades. Not understanding other systems/platforms NOT their agenda. I blame IBM for not doing there own marketing to SLAM these IDIOTS. Appeasing these people not the answer. Education LACKS people that understand or want to understand.

Re: even an old mainframer can do it

2021-08-18 Thread Tony Thigpen
The problem is that he approached his objective from the wrong direction. It appears that is objective was to 'avoid changing the JCL for different control cards'. We do write some of these type programs for queries that end-users need to submit. Maybe TSO based on CICS based. But, we

Re: even an old mainframer can do it

2021-08-18 Thread Seymour J Metz
"I am hardly an expert in either," says it all. I don't know where to begin with what he got wrong. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of kekronbekron

Re: RENT binder option

2021-08-18 Thread Seymour J Metz
Aftermarket books generally get things wrong; that's why I prefer to use the reference manuals as tutorials. BTW, can you spot what else is wrong with that passage? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion

Re: even an old mainframer can do it

2021-08-18 Thread kekronbekron
Exactly, I'm not against improvements; I'm against improvements for the sake of a bullet point. Also, before more folks dial in about the line count... more lines are fine, as long as it's still legible etc. In this case, it's all over the place. - KB ‐‐‐ Original Message ‐‐‐ On

Re: even an old mainframer can do it

2021-08-18 Thread Frank Swarbrick
There has to be some happy medium between the rigidity of JCL and the flexibility of scripting languages. This is not that. From: IBM Mainframe Discussion List on behalf of kekronbekron <02dee3fcae33-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, August 17,

Re: LISTSERV 17.0

2021-08-18 Thread Patrick Loftus
You can update the font in your Preferences/Archive options. There's a setting to switch to proportional font. The new filters are a good way of grouping messages that usually get split due to regional versions of "RE:" e.g. "AW:". Regards Patrick

Re: even an old mainframer can do it

2021-08-18 Thread Mike Schwab
Well, in the early 1990s, my system had 1-2 hour delays on compiles. So while waiting, I wrote a clist to do the same thing. Allocate, error handling, and deallocate of a single file took about 30 lines, and a few iterations of debugging. So, once I had one file allocate, I went through all the