Re: SSH tunneling for unattended process.

2023-12-29 Thread kekronbekron
Thank you. You know how we sometimes only have vague understanding that somehow stays vague.. Your explanation below popped things into place and cleared the fog I had. Thanks again! On Saturday, December 30th, 2023 at 12:26, Jon Perryman wrote: > On Sat, 30 Dec 2023 04:02:22 +, kekronbe

Re: SSH tunneling for unattended process.

2023-12-29 Thread Jon Perryman
On Sat, 30 Dec 2023 04:02:22 +, kekronbekron wrote: >So SSH is used for auth and encryption, SSH has multiple features. Understand that SSH primary feature is "Secure SHell" where you can issue UNIX commands on a remote UNIX system thru an encrypted connection. You must login to that rem

Re: SMF Interval

2023-12-29 Thread Mike Schwab
Our site used 6 minutes. On Fri, Dec 29, 2023 at 7:36 PM Ed Jaffe wrote: > On 12/29/2023 3:20 PM, Mark Zelden wrote: > > This paper from Scott Chapman of EPS talks about the subject and he > agrees with > > me that it should be no longer than 15 minutes and that RMF/SMF should > be synced. > > >

Re: SSH tunneling for unattended process.

2023-12-29 Thread kekronbekron
Ah... ok. So SSH is used for auth and encryption, and mainly just as a tunnel (as the first mail mentioned). The traffic that's tunnelled may be any protocol or a TCP socket... and the goal is to just use SSH's ubiquity (say port 22) to make life easier w.r.t firewalls and all that. Is this rig

Re: SSH tunneling for unattended process.

2023-12-29 Thread Paul Gilmartin
On Sat, 30 Dec 2023 02:47:28 +, kekronbekron wrote: > >Correct me if I'm wrong but I think "ssh -L ..." is just to get to SSH on a >target machine via a non-standard port? > I believe that's "ssh -oPort=" which I use regularly to get to a nonstandard (portmapped) port. I once knew how to

Re: SMF Interval

2023-12-29 Thread Michael Oujesky
Perhaps using RMF III VSAM data stores with a 60 second sampling interval would be a better a better approach. Michael At 03:46 AM 12/29/2023, Colin Paice wrote: With MQ some customers would set the interval to one minute for a period to get granular statistics and accounting to help with pro

Re: SSH tunneling for unattended process.

2023-12-29 Thread kekronbekron
Thanks Rick. This is the part I don't follow... "You can use SSH directly (with client invoking SSH to launch a service program on the target)". Is it possible to make a simple example? User A at Machine A wants to connect via port 4321 to machine B port 22, and it's just good old SSH connectivi

Re: SMF Interval

2023-12-29 Thread Ed Jaffe
On 12/29/2023 3:20 PM, Mark Zelden wrote: This paper from Scott Chapman of EPS talks about the subject and he agrees with me that it should be no longer than 15 minutes and that RMF/SMF should be synced. https://www.pivotor.com/library/content/Chapman_SMFRecommendations_2022.pdf Super helpful

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 22:15:31 +, Seymour J Metz wrote: >BPXWDYN may support concatenating FB and VB, but ISPF and TSO don't. > I don't see that would be very useful. It might be more useful to concatenate a mixture of DISPs. But not concatenating DSN with PATH is a sore lack. (Again, PATHOPT

Re: SMF Interval

2023-12-29 Thread Mark Zelden
On Fri, 29 Dec 2023 13:57:35 -0600, Mark Zelden wrote: >On Thu, 28 Dec 2023 21:23:18 -0800, Ed Jaffe >wrote: > >>What SMF interval do most folks use? >> > >In my experience (from many shops / clients over the years), it matches the >RMF interval >and the most common if 15 minutes. Second most

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
BPXWDYN may support concatenating FB and VB, but ISPF and TSO don't. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <042bf

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 21:13:17 +, Seymour J Metz wrote: >In my case there is a CLIST effectively called from the READY prompt, so the >TSO environment should be fully initialized. > >The reason that it's CLIST is so I can use TSOLIB inline. > TSO can CALL BPXWDYN, subject to an onerous 100-byte

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
No, but neither does LISTDSI; either way I need separate tests for ddn and dsn. I may throw in the towel, make everything FB and reallocate. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר Fro

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
As a contractor on the applications side, I have to live with whatever policies they set, and have no leverage. It's not comfortable, but it is what it is. IAC, I would be more upset if resources that actually were critical were not adequately protected. The cases that you described were horrify

Re: SMF Interval

2023-12-29 Thread Steve Beaver
Sorry my bad. I was the thinking about JWT Sent from my iPhone No one said I could type with one thumb > On Dec 29, 2023, at 15:49, Steve Beaver wrote: > > Be careful setting in low. If TSO is > On that system you will have a lot > S322’s > > Sent from my iPhone > > No one said I could typ

Re: SMF Interval

2023-12-29 Thread Steve Beaver
Be careful setting in low. If TSO is On that system you will have a lot S322’s Sent from my iPhone No one said I could type with one thumb > On Dec 29, 2023, at 15:05, Ed Jaffe wrote: > > On 12/29/2023 1:46 AM, Colin Paice wrote: >> With MQ some customers would set the interval to one minute

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Radoslaw Skorupka
W dniu 29.12.2023 o 19:29, Paul Gilmartin pisze: On Fri, 29 Dec 2023 18:10:08 +, Seymour J Metz wrote: I'm in an applications role and installing external software, e.g., PDS86, is not allowed. I just discovered that I don't even have access to SYS1.SAMPLIB. !?!?!? What terrifies them?

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
In my case there is a CLIST effectively called from the READY prompt, so the TSO environment should be fully initialized. The reason that it's CLIST is so I can use TSOLIB inline. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

Re: SMF Interval

2023-12-29 Thread Ed Jaffe
On 12/29/2023 1:46 AM, Colin Paice wrote: With MQ some customers would set the interval to one minute for a period to get granular statistics and accounting to help with problem determination. The MQ accounting would report maximum response time for the interval. If you have a "spiky" problem,

Re: SMF Interval

2023-12-29 Thread Mark Zelden
On Thu, 28 Dec 2023 21:23:18 -0800, Ed Jaffe wrote: >What SMF interval do most folks use? > In my experience (from many shops / clients over the years), it matches the RMF interval and the most common if 15 minutes. Second most common is probably 30 (along with RMF) but I think most shops mo

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Willy Jensen
SDSF has an ENQD command, which might be available via the API. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 12:15:31 -0600, Paul Gilmartin wrote: >Does that show DSNs that are ENQed but not allocated? What ENQ are you referring? QNAME SYSVSAM as opposed to SYSDSN? You would need to include those QNAMEs in your query. ---

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 12:35:58 -0600, Jon Perryman wrote: >QUERYENQ documents that it is "SYSTEM" enq level but datasets are "SYSTEMS". Sorry, my bad. I just saw a ZENSCOPE variable which implies bot SYSTEM and SYSTEMS are returned. STEP does not appear as a possible value.

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 18:10:08 +, Seymour J Metz wrote: >I should be able to use any BPXW... service that doesn't require dubbing. I doubt that BPXWDYN requires dubbing but Some minimal dubbing should be available because of TCP requirements. -

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 18:01:19 +, Sri h Kolusu wrote: >>> Does CLIST or REXX provide an interface to ENQ? > >Via ISPF service named QUERYENQ > >https://www.ibm.com/docs/en/zos/2.5.0?topic=services-queryenqquery-system-enq-data QUERYENQ documents that it is "SYSTEM" enq level but datasets are "

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 18:10:08 +, Seymour J Metz wrote: >I'm in an applications role and installing external software, e.g., PDS86, is >not allowed. > >I just discovered that I don't even have access to SYS1.SAMPLIB. > !?!?!? What terrifies them? "Need to know" gone berserk? Fear of copyri

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 18:01:19 +, Sri h Kolusu wrote: >>> Does CLIST or REXX provide an interface to ENQ? > >Via ISPF service named QUERYENQ > >https://www.ibm.com/docs/en/zos/2.5.0?topic=services-queryenqquery-system-enq-data > Does that show DSNs that are ENQed but not allocated? Is the OP con

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 11:36:38 -0600, Paul Gilmartin wrote: >On Fri, 29 Dec 2023 11:13:18 -0600, Jon Perryman wrote: >>REXX function SYSDSN( ) will determine if a dataset exists without the >>overhead of LISTDSI. >> >Does it report allocated status as the OP requested? The OP had 2 requests. I

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
I'm in an applications role and installing external software, e.g., PDS86, is not allowed. I just discovered that I don't even have access to SYS1.SAMPLIB. I should be able to use any BPXW... service that doesn't require dubbing. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִ

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Sri h Kolusu
>> Does CLIST or REXX provide an interface to ENQ? Gil, Via ISPF service named QUERYENQ https://www.ibm.com/docs/en/zos/2.5.0?topic=services-queryenqquery-system-enq-data Examples : https://www.mainframesupport.dk/tips/tip1903.html http://www.naspa.net/magazine/2005/0305/T0503011.pdf Thanks,

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 17:00:37 +, Sri h Kolusu wrote: >How about issuing ENQ in loop for all the datasets in the list? >Once you hit a dataset that is already allocated you can quit the search. ENQ is not appropriate for this type of problem. Dataset allocations are SYSTEMS ENQ which means

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 11:13:18 -0600, Jon Perryman wrote: >On Fri, 29 Dec 2023 09:40:33 -0600, Paul Gilmartin wrote: >>> >>How useful would BPXWDYN(INFO ,,,) be? >> > >REXX function SYSDSN( ) will determine if a

Re: ISPF setup macro

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 13:10:27 +, Seymour J Metz wrote: >I'm not trying to setuup an ISPF application environment.; I'm trying to set >up a TSO user environment. TSO user environment limits your options. LIBDEF is not suitable because it is lost or replaced at various times. ISPxUSR is not

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 17:00:37 +, Sri h Kolusu wrote: I need to check whether any of a list of datasets exists and whether any of a list of ddnames is allocated. > >Shmuel, > >How about issuing ENQ in loop for all the datasets in the list? Once you hit >a dataset that is already all

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Jon Perryman
On Fri, 29 Dec 2023 09:40:33 -0600, Paul Gilmartin wrote: >On Fri, 29 Dec 2023 14:47:29 +, Seymour J Metz wrote: >>I need to check whether any of a list of datasets exists and whether any of a >>list of ddnames is allocated. >> >How useful would BPXWDYN(INFO ,,,) be? >

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Sri h Kolusu
>>> I need to check whether any of a list of datasets exists and whether any of >>> a list of ddnames is allocated. Shmuel, How about issuing ENQ in loop for all the datasets in the list? Once you hit a dataset that is already allocated you can quit the search. Thanks, Kolusu ---

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Lionel B. Dyck
Paul is spot on - and you can use BPXWDYN to concatenate as well. See examples here https://www.ibm.com/docs/en/zos/3.1.0?topic=output-examples-calling-bpxwdyn-from-rexx-program Lionel B. Dyck <>< Github: https://github.com/lbdyck “Worry more about your character than your reputation. Characte

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Paul Gilmartin
On Fri, 29 Dec 2023 14:47:29 +, Seymour J Metz wrote: >I need to check whether any of a list of datasets exists and whether any of a >list of ddnames is allocated. I'd rather not trap and parse the output of >LISTALC and LISTCAT, and I'd rather not call LISTDSI for each one. Is there a >sim

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Steve Beaver
If you write HLASM use a LOCATE with a CAMLIST Sent from my iPhone No one said I could type with one thumb > On Dec 29, 2023, at 09:08, kekronbekron > <02dee3fcae33-dmarc-requ...@listserv.ua.edu> wrote: > > Yup, I originally wanted to add a note saying it won't work for the second > pa

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread kekronbekron
Yup, I originally wanted to add a note saying it won't work for the second part. Left it out as I then thought that'll be known already. On Friday, December 29th, 2023 at 20:35, David Spiegel <0468385049d1-dmarc-requ...@listserv.ua.edu> wrote: > Hi KB, > CSI won't tell you anything about

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread David Spiegel
Hi KB, CSI won't tell you anything about ALLOCATEd DDNAMES. Regards, David On 2023-12-29 09:55, kekronbekron wrote: There's a catalog search interface (CSI), and I think there's a sample REXX for using it in SAMPLIB. On Friday, December 29th, 2023 at 20:17, Seymour J Metz wrote: I need

Re: SSH tunneling for unattended process.

2023-12-29 Thread Rick Troth
I can't speak for Frank, but he started his inquiry with this: > We're looking at using an SSH tunnel (or reverse tunnel)to encrypt a connection > where the application on the other end does not support TLS. SSH is an excellent choice for this kind of job. You can use SSH directly (with client

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Lionel B. Dyck
That works well for checking the catalog status *but* not the allocation status. For that you'll need to trap LISTALC or write your own. Lionel B. Dyck <>< Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
Of course' how did I forget that :-( Thanks. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of kekronbekron <02dee3fcae33-dmarc-requ...@lis

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread kekronbekron
https://www.ibm.com/support/pages/apar/II14316 https://public.dhe.ibm.com/servers/storage/support/software/dfsms/cattools/ On Friday, December 29th, 2023 at 20:25, kekronbekron <02dee3fcae33-dmarc-requ...@listserv.ua.edu> wrote: > There's a catalog search interface (CSI), and I think the

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread kekronbekron
There's a catalog search interface (CSI), and I think there's a sample REXX for using it in SAMPLIB. On Friday, December 29th, 2023 at 20:17, Seymour J Metz wrote: > I need to check whether any of a list of datasets exists and whether any of a > list of ddnames is allocated. I'd rather not

Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
I need to check whether any of a list of datasets exists and whether any of a list of ddnames is allocated. I'd rather not trap and parse the output of LISTALC and LISTCAT, and I'd rather not call LISTDSI for each one. Is there a simple way to do that in REXX, or would it be better to write a sm

Re: SSH tunneling for unattended process.

2023-12-29 Thread kekronbekron
Hi Rick/Frank, If you have time, could you explain more about this setup. I don't get what's desired.. On Friday, December 29th, 2023 at 19:04, Rick Troth wrote: > Hi Frank -- > > BT/DT and it works great. > > I took the usual means of capturing the host key of the target: signed > on as th

Re: SSH tunneling for unattended process.

2023-12-29 Thread Rick Troth
Hi Frank -- BT/DT and it works great. I took the usual means of capturing the host key of the target: signed on as the service account and ran 'ssh' interactively. Ever after, the client would not be prompted, but it would fail if the key changed. (And that's the point.) The client signed o

Re: ISPF setup macro

2023-12-29 Thread Seymour J Metz
> ISPF application environment. I'm not trying to set up an ISPF application environment.; I'm trying to set up a TSO user environment. I want to automatically activate user extensions to the standard conventions whenever the user has allocated libraries with appropriate names, e.g., userid,USE

Re: SMF Interval

2023-12-29 Thread Massimo Biancucci
Ed, in my experience 15 minutes for the most. I've seen 10 minutes too. IMHO big SMF DATA producers are DB2, CICS, IMS, MQ etc. with their accounting records that are not SMF Interval related. Choosing a maximum of 15 minutes may be better to correlate issues. Best regards. Max Il giorno ven 29

Re: SSH tunneling for unattended process.

2023-12-29 Thread Colin Paice
Frank, What do you have on the z/OS end? If the back end supports it, it can map from a certificate to a userid. See Using certificates to logon to z/OS andWhat’s the difference between RACDCERT MAP and RACMAP?

Re: SMF Interval

2023-12-29 Thread Colin Paice
With MQ some customers would set the interval to one minute for a period to get granular statistics and accounting to help with problem determination. The MQ accounting would report maximum response time for the interval. If you have a "spiky" problem, being able to identify the minute it occurre

Re: SMF Interval

2023-12-29 Thread Mike Shorkend
Ed, The most common I have seen is 30 minutes. 15 minutes is also not rare. Mike On Fri, 29 Dec 2023 at 07:23, Ed Jaffe wrote: > What SMF interval do most folks use? > > -- > Phoenix Software International > Edward E. Jaffe > 831 Parkview Drive North > El Segundo, CA 90245 > https://www.phoenix