Re: Checking status of multiple datasets in CLIST and REXX

2024-01-05 Thread Seymour J Metz
, 2023 12:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX 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 e

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-31 Thread Seymour J Metz
חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Binyamin Dissen Sent: Sunday, December 31, 2023 4:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX So your constraint

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-31 Thread Binyamin Dissen
___ :>From: IBM Mainframe Discussion List on behalf of Binyamin Dissen :>Sent: Saturday, December 30, 2023 12:33 PM :>To: IBM-MAIN@LISTSERV.UA.EDU :>Subject: Re: Checking status of multiple datasets in CLIST and REXX :> :>On Fri, 29 Dec 2023 14:47:29 + S

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Seymour J Metz
arc-requ...@listserv.ua.edu> Sent: Saturday, December 30, 2023 6:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX On Sat, 30 Dec 2023 23:35:11 +, Seymour J Metz wrote: >I want to set up an environment that supports personal tools. I'd

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Seymour J Metz
edu> Sent: Saturday, December 30, 2023 6:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX Hi R'Shmuel AMV"SH. Gut Voch. Ich Vil Dich Freigen Ein Kasho. You said: "...TSOLIB inline. ..." What does this mean and why is it b

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Seymour J Metz
ember 29, 2023 6:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX 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 use

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread David Spiegel
_ From: IBM Mainframe Discussion List on behalf of Paul Gilmartin<042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Friday, December 29, 2023 1:29 PM To:IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX On Fri, 29 Dec 2023 18:10:08 +, Se

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Paul Gilmartin
On Sat, 30 Dec 2023 23:35:11 +, Seymour J Metz wrote: >I want to set up an environment that supports personal tools. I'd like to >allow the users to create VB libraries, ... > Access methods make UNIX files protean, reformatting them according to the allocation RECFM. Unfortunately, Binder

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Seymour J Metz
: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX 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 p

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Seymour J Metz
Steve Beaver <050e0c375a14-dmarc-requ...@listserv.ua.edu> Sent: Saturday, December 30, 2023 2:04 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX Call ‘ CHECK1’ ‘SYS1.MACLIB, Check1 CSECT Reg1 points to arg

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Jon Perryman
On Sat, 30 Dec 2023 19:33:34 +0200, Binyamin Dissen 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. I'd rather not trap and parse the output of >LISTALC and LISTC

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Steve Beaver
Call ‘ CHECK1’ ‘SYS1.MACLIB, Check1 CSECT Reg1 points to arg MVC. Locat(44), Locate CAMLIST Br 14 Rc=0. DSN exists Rv=4. DSN doesn’t exist Sent from my iPhone No one said I could type with one thumb > On Dec 30, 2023

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-30 Thread Binyamin Dissen
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 simpl

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: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
artin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Friday, December 29, 2023 5:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX On Fri, 29 Dec 2023 21:13:17 +, Seymour J Metz wrote: >In my case there is a CLIST effectively called

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
From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Friday, December 29, 2023 12:36 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX On Fri, 29 Dec 2023 11:13:18 -0600, Jon Pe

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
e: Checking status of multiple datasets in CLIST and REXX 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. >>

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
קֵּ֖ר From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Friday, December 29, 2023 1:29 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and R

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
edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Jon Perryman Sent: Friday, December 29, 2023 12:48 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLI

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: 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
eputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Friday, December 29, 2023 9:41 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple

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: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Lionel B. Dyck
utation merely what others think you are.” - - - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Friday, December 29, 2023 8:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX Of cou

Re: Checking status of multiple datasets in CLIST and REXX

2023-12-29 Thread Seymour J Metz
arc-requ...@listserv.ua.edu> Sent: Friday, December 29, 2023 9:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Checking status of multiple datasets in CLIST and REXX There's a catalog search interface (CSI), and I think there's a sample REXX for using it in SAMPLIB. On Friday, Decembe

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