Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ENQ subcommand or DDLIST

84 views
Skip to first unread message

John Hooper

unread,
Feb 2, 2009, 4:20:46 PM2/2/09
to
Has anyone found a way to invoke the ENQ subcommand of DDLIST without
having to go into DDLIST first. I searched the archives and didn't seen any
prior mention of this request. We would like to replace an antiquated home-
grown ENQ program called directly from a user panel with the ISPF supplied
one. We are trying to avoid the whining if we change how the TSO users get
into it.

Jim Moore

unread,
Feb 2, 2009, 4:29:57 PM2/2/09
to
You can issue: DDLIST E in front of a DSNAME at 3.4, if this helps.

Note that you MUST use DDLIST as a line command in this context, followed by the "E".

Concentrated Logic

Pedro Vera

unread,
Feb 2, 2009, 4:37:58 PM2/2/09
to
I think you just say DDLIST ENQ. Works here.

Pedro Vera

Wasserman, Hirschel

unread,
Feb 2, 2009, 4:45:09 PM2/2/09
to
If you are running with ISPF Services, then

Address ISPEXEC
major = 'SYSDSN'
minor = thedsn
"QUERYENQ Table(QUERYENQ) Qname(MAJOR) Rname(MINOR) Req(*) XSYS"
/* creates table with cols: ZENJOB, ZENQNAME, ZENRNAME, ZENDISP
ZENHOLD, ZENSCOPE, ZENSTEP, ZENGLOBL, ZENSYST */
if rc < 8 then
"TBTOP QUERYENQ"
if rc < 8 then
"TBSKIP QUERYENQ"
Do While rc = 0
Say whatever
"TBSKIP QUERYENQ"
End
"TBEND QUERYENQ" /* delete the temp table */

There is also a freeware(?) assembler module called queryenq which provides similar function. Google it.

. . . . . . . . . . . . . . . . .
Hirschel Wasserman
IS3S ICBC HO 422 Tel 604.982.6879

Concentrated Logic

------------------------------------------------------------
This email and any attachments are intended only for the named
recipient and may contain confidential and/or privileged material.
Any unauthorized copying, dissemination or other use by a person
other than the named recipient of this communication is prohibited.
If you received this in error or are not named as a recipient,
please notify the sender and destroy all copies of this email
immediately.

Jim Moore

unread,
Feb 2, 2009, 4:46:21 PM2/2/09
to
Ya know, I might've had this wrong. I think you have to enter: ISRDDN E, not DDLIST E.

DDLIST is an ISPCMDS entry.

No mainframe for me!

Concentrated Logic

----- Forwarded Message -----
From: "Jim Moore" <conl...@comcast.net>
To: "ISPF discussion list" <ISP...@LISTSERV.ND.EDU>
Sent: Monday, February 2, 2009 3:27:32 PM GMT -06:00 US/Canada Central
Subject: Re: ENQ subcommand or DDLIST

Imbriale, Donald

unread,
Feb 2, 2009, 5:18:15 PM2/2/09
to
DDLIST E dsn

It does work.

Don Imbriale


-----Original Message-----
From: ISPF discussion list [mailto:ISP...@LISTSERV.ND.EDU] On Behalf Of
Jim Moore

Sent: Monday, February 02, 2009 4:45 PM
To: ISP...@LISTSERV.ND.EDU
Subject: Fwd: ENQ subcommand or DDLIST

Ya know, I might've had this wrong. I think you have to enter: ISRDDN E,
not DDLIST E.

DDLIST is an ISPCMDS entry.

Generally, this communication is for informational purposes only
and it is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation
of any transaction. In the event you are receiving the offering
materials attached below related to your interest in hedge funds or
private equity, this communication may be intended as an offer or
solicitation for the purchase or sale of such fund(s). All market
prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.

Jim Moore

unread,
Feb 2, 2009, 5:29:14 PM2/2/09
to
As a primary command, "DDLIST E dsn" probably does work. I meant as a line command at 3.4. Here, you need to type ISRDDN E in front of the DSN.

Concentrated Logic

----- Original Message -----
From: "Donald Imbriale" <Donald....@JPMORGAN.COM>
To: ISP...@LISTSERV.ND.EDU
Sent: Monday, February 2, 2009 4:15:57 PM GMT -06:00 US/Canada Central
Subject: Re: ENQ subcommand or DDLIST

John P Kalinich

unread,
Feb 3, 2009, 8:07:19 AM2/3/09
to
Some Rexx...

Arg zdldsn
Address TSO
"ISRDDN ENQ "ZDLDSN
Exit

Jim Moore of the ISPF discussion list <ISP...@LISTSERV.ND.EDU> wrote on
02/02/2009 04:25:05 PM:

Ryerse, Robin

unread,
Feb 3, 2009, 8:57:04 AM2/3/09
to
Some less REXX. (why use 'arg' or 'parse'?)

/* REXX */
Address TSO "ISRDDN ENQ" arg(1)
exit

John P Kalinich

unread,
Feb 3, 2009, 9:07:56 AM2/3/09
to
...and you can also nix the first and last statements.

Regards,
John K

Robin of the ISPF discussion list <ISP...@LISTSERV.ND.EDU> wrote on
02/03/2009 07:55:14 AM:

Imbriale, Donald

unread,
Feb 3, 2009, 9:55:15 AM2/3/09
to
You're right Jim. I missed that subtle distinction.

Don Imbriale

-----Original Message-----
From: ISPF discussion list [mailto:ISP...@LISTSERV.ND.EDU] On Behalf Of
Jim Moore
Sent: Monday, February 02, 2009 5:25 PM
To: ISP...@LISTSERV.ND.EDU
Subject: Re: ENQ subcommand or DDLIST

As a primary command, "DDLIST E dsn" probably does work. I meant as a
line command at 3.4. Here, you need to type ISRDDN E in front of the
DSN.

Ryerse, Robin

unread,
Mar 2, 2009, 11:48:23 AM3/2/09
to
I forgot I had the following because I never use it anymore. I think ISRDDN may have been improved in how it accepts the arguments. One exec but multiple member aliases. The alias you want would be named DSNENQ.

/* REXX */
address 'ISPEXEC'
parse source . . alias .
select
when alias = 'DSNENQ' | alias = 'ENQDSN' then
do
major = 'SYSDSN'
parse upper arg minor .
end
when alias = 'USERENQ' | alias = 'USERS' | alias = 'WHOISON' then
do
major = 'SPFUSER'
minor = ''
end
otherwise parse arg major minor
end
minor = strip(minor,"B","'")
zenqvrs = left(left('1'major,9)minor,69)'D'
'CONTROL ERRORS RETURN'
'VPUT ZENQVRS PROFILE'
'SELECT PGM(ISRDDN) PARM(ENQ)'
exit

-----Original Message-----
From: ISPF discussion list [mailto:ISP...@LISTSERV.ND.EDU] On Behalf Of Jim Moore

Sent: February 2, 2009 4:45 PM
To: ISP...@LISTSERV.ND.EDU
Subject: Fwd: ENQ subcommand or DDLIST

0 new messages