rexx and IDCAMS functions

2022-08-16 Thread Lizette Koehler
I am going to write a process in REXX using things like DCOLLECT LISTC etc.. I am running into S913-70 I am trying to figure out what I need to do to resolve it Something in RACF? Pads IKJTSOxx?? Anu guidance appreciated Lizette ---

Re: rexx and IDCAMS functions

2022-08-16 Thread Mike Schwab
RACF, DSN authorization. On Tue, Aug 16, 2022, 16:19 Lizette Koehler wrote: > I am going to write a process in REXX using things like DCOLLECT LISTC > etc.. > > > > I am running into S913-70 > > > > I am trying to figure out what I need to do to resolve it > > > > Something in RACF? Pads IKJTS

Re: rexx and IDCAMS functions

2022-08-16 Thread Paul Gilmartin
On Tue, 16 Aug 2022 14:18:54 -0700, Lizette Koehler wrote: >I am going to write a process in REXX using things like DCOLLECT LISTC >etc.. > >I am running into S913-70 > Have you looked at: ? >I am trying to figure out what I need to

Re: rexx and IDCAMS functions

2022-08-16 Thread Hobart Spitz
IDCAMS commands, like RACF commands are TSO commands. No need for LINKMVS; I 've never done it, so it might not even work. Be sure to follow TSO dataset name syntax: Fully qualified names in apostrophes or unqualified names without. "listc ent(ispf.ispprof)" for example. On Tue, 16 Aug 2022, 1

Re: rexx and IDCAMS functions

2022-08-16 Thread Lizette Koehler
@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions On Tue, 16 Aug 2022 14:18:54 -0700, Lizette Koehler wrote: >I am going to write a process in REXX using things like DCOLLECT LISTC >etc.. > >I am running into S913-70 > Have you looked at: <https://www.ibm.com/docs/en/zos/2.3.0?topi

Re: rexx and IDCAMS functions

2022-08-16 Thread Paul Gilmartin
On Tue, 16 Aug 2022 20:31:43 -0500, Hobart Spitz wrote: >IDCAMS commands, like RACF commands are TSO commands. No need for LINKMVS; >I 've never done it, so it might not even work. > Is that true for *all* IDCAMS commands, such as I find in the Ref, SC23-6846-50: IF MAXCC=0

Re: rexx and IDCAMS functions

2022-08-16 Thread Seymour J Metz
] Sent: Tuesday, August 16, 2022 10:49 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions I am actually using LINKMVS and that is getting the error I want my general user to be able to do things without knowing idcams Lizette -Original Message- From: IBM Mainframe

Re: rexx and IDCAMS functions

2022-08-17 Thread W Mainframe
z http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Lizette Koehler [stars...@mindspring.com] Sent: Tuesday, August 16, 2022 10:49 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS function

Re: rexx and IDCAMS functions

2022-08-17 Thread Paul Gilmartin
On Wed, 17 Aug 2022 03:57:48 +, Seymour J Metz wrote: >The TSO commands that front-end IDCAMS expect a CPPL; you need ADDRESS TSO.; > That would imply that: //STEP EXEC PGM=IDCAMS wouldn't work since it provides no CPPL. LINKMVS provides an interface compatible with EXEC PGM=. >

Re: rexx and IDCAMS functions

2022-08-17 Thread Robert S. Hansel (RSH)
www.linkedin.com/in/roberthansel www.twitter.com/RSH_RACF www.rshconsulting.com -Original Message- Date:Tue, 16 Aug 2022 14:18:54 -0700 From:Lizette Koehler Subject: rexx and IDCAMS functions I am going to write a process in REXX using things like DCOLLECT LISTC etc.. I am

Re: rexx and IDCAMS functions

2022-08-17 Thread Seymour J Metz
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, August 17, 2022 8:38 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions On Wed, 17 Aug 2022 03:57:48 +, Seymour J Metz wrote

Re: rexx and IDCAMS functions

2022-08-17 Thread David Spiegel
Hi Gil, I am late to the party ... IDCAMS Commands in TSO are not the same as IDCAMS Commands  in IDCAMS. For example, this works in TSO, but, it does not work in IDCAMS: LISTC EN('SYS1.LINKLIB) (In IDCAMS "EN" is not a valid abbreviation for ENTRY, but, in TSO it is valid.) Also, when invoking I

Re: rexx and IDCAMS functions

2022-08-17 Thread Seymour J Metz
-MAIN@LISTSERV.UA.EDU] on behalf of W Mainframe [01304632a58d-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, August 17, 2022 6:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions You should use Rexx LINKMVS host command processor to call programs using a parameter list

Re: rexx and IDCAMS functions

2022-08-17 Thread Seymour J Metz
ssion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Wednesday, August 17, 2022 9:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions Hi Gil, I am late to the party ... IDCAMS Commands in TSO are not the same as IDCAMS Commands in

Re: rexx and IDCAMS functions

2022-08-17 Thread Paul Gilmartin
On Wed, 17 Aug 2022 14:07:23 +, Seymour J Metz wrote: >Yes, and for IDCAMS that parameter list is a pointer to a half word length >followed by a character string, which is not the Command Processor Parameter >List (CPPL) that TSO commands require. If you insist on doing ADDRESS LINKMVS >f

Re: rexx and IDCAMS functions

2022-08-17 Thread Seymour J Metz
eymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, August 17, 2022 10:25 AM To: IBM-MAIN@LISTSERV.UA.EDU S

Re: rexx and IDCAMS functions

2022-08-18 Thread Walt Farrell
On Tue, 16 Aug 2022 19:49:16 -0700, Lizette Koehler wrote: >I am actually using LINKMVS and that is getting the error > >I want my general user to be able to do things without knowing idcams What, exactly, does your code do, Lizette? What are you invoking with LINKMVS, and what are you passin

Re: rexx and IDCAMS functions

2022-08-20 Thread Lizette Koehler
Subject: Re: rexx and IDCAMS functions On Tue, 16 Aug 2022 19:49:16 -0700, Lizette Koehler wrote: >I am actually using LINKMVS and that is getting the error > >I want my general user to be able to do things without knowing idcams What, exactly, does your code do, Lizette? Wha

Re: rexx and IDCAMS functions

2022-08-20 Thread Paul Gilmartin
On Sat, 20 Aug 2022 13:28:29 -0700, Lizette Koehler wrote: >I think what I am having a challenge with is the STGADMN.IDC.DCOLLECT in >Facility Class > >The UACC is NONE but the ACL has * READ > >The process creates the JCL Statements in ALLOC statements. SYSIN will >contain the DCOLLECT con

Re: rexx and IDCAMS functions

2022-08-21 Thread Walt Farrell
On Sat, 20 Aug 2022 13:28:29 -0700, Lizette Koehler wrote: >I think what I am having a challenge with is the STGADMN.IDC.DCOLLECT in >Facility Class > >The UACC is NONE but the ACL has * READ > >The process creates the JCL Statements in ALLOC statements. SYSIN will >contain the DCOLLECT co

Re: rexx and IDCAMS functions

2022-08-22 Thread Jack Zukt
choice I would definitely > change it > > Thanks > > > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Walt Farrell > Sent: Thursday, August 18, 2022 7:52 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: rexx and IDCAMS functions > > On Tue

Re: rexx and IDCAMS functions

2022-08-22 Thread ITschak Mugzach
t; > Almost like what you would code in Batch JCL. > > > > I was requested to make this work, If I had a choice I would definitely > > change it > > > > Thanks > > > > > > > > -Original Message----- > > From: IBM Mainframe Discuss

Re: rexx and IDCAMS functions

2022-08-22 Thread Jack Zukt
it just does a LINKMVS to SYS1.LINKLIB(IDCAMS) > > > > > > Almost like what you would code in Batch JCL. > > > > > > I was requested to make this work, If I had a choice I would definitely > > > change it > > > > > > Thanks > > > > &g

Re: rexx and IDCAMS functions

2022-08-22 Thread Paul Gilmartin
On Mon, 22 Aug 2022 11:46:17 +0100, Jack Zukt wrote: > >So, using > >"call *(IDCAMS)" > >is not an option? > Doesn't TSO use the authorized fork for that? -- gil -- For IBM-MAIN subscribe / signoff / archive access instruction

Re: rexx and IDCAMS functions

2022-08-22 Thread Jack Zukt
I forgot to mention that "IDCAMS" is included on the SYS1.PARMLIB(IKJTSOxx)) AUTHPGM NAMES list Regards Jack On Mon, 22 Aug 2022 at 13:53, Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Mon, 22 Aug 2022 11:46:17 +0100, Jack Zukt wrote: > > > >So, using > > > >"call

Re: rexx and IDCAMS functions

2022-08-22 Thread Walt Farrell
On Mon, 22 Aug 2022 14:01:46 +0100, Jack Zukt wrote: >I forgot to mention that "IDCAMS" is included on the >SYS1.PARMLIB(IKJTSOxx)) AUTHPGM NAMES list Yes, that would be required in order for your TSO CALL command to invoke IDCAMS with APF-authorization. -- Walt -

Re: rexx and IDCAMS functions

2022-08-22 Thread Paul Gilmartin
On Mon, 22 Aug 2022 09:42:25 -0500, Walt Farrell wrote: >>I forgot to mention that "IDCAMS" is included on the >>SYS1.PARMLIB(IKJTSOxx)) AUTHPGM NAMES list > >Yes, that would be required in order for your TSO CALL command to invoke >IDCAMS with APF-authorization. > Why is such specific authoriza

Re: rexx and IDCAMS functions

2022-08-22 Thread Mike Shaw
AFAIK, APF authorized pgms execute under TSO/E in a sister task to IKJEFT09...the original IKJEFT09 task is in a wait until the APF authorized pgm ends. Maybe the AUTHPGMS list in IKJEFTxx came into being as part of that mechanism... Mike On Mon, Aug 22, 2022, 10:47 AM Paul Gilmartin < 042bf

Re: rexx and IDCAMS functions

2022-08-22 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Mike Shaw [techsupp...@quickref.com] Sent: Monday, August 22, 2022 11:11 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions AFAIK, APF authorized pgms execute under TSO/E in a sister task to IKJE

Re: rexx and IDCAMS functions

2022-08-22 Thread Seymour J Metz
-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Monday, August 22, 2022 10:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions On Mon, 22 Aug 2022 09:42:25 -0500, Walt Farrell wrote: >>I forgot to mention that "IDCAMS

Re: rexx and IDCAMS functions

2022-08-22 Thread Seymour J Metz
] Sent: Monday, August 22, 2022 6:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions Hi, So, using "call *(IDCAMS)" is not an option? Regards, Jack On Sat, 20 Aug 2022 at 21:28, Lizette Koehler wrote: > I think what I am having a challenge with is the STGADMN

Re: rexx and IDCAMS functions

2022-08-22 Thread Walt Farrell
On Mon, 22 Aug 2022 15:39:52 +, Seymour J Metz wrote: >Why do you say that? The CALL command is a very different animal from ADDRESS >LINKMVS. As I recall, Lizette said she was mandated to use LINKMVS. And as we have pointed out, for her purposes, LINKMVS will not work. I think Jack was s

Re: rexx and IDCAMS functions

2022-08-22 Thread Walt Farrell
On Mon, 22 Aug 2022 09:47:44 -0500, Paul Gilmartin wrote: >On Mon, 22 Aug 2022 09:42:25 -0500, Walt Farrell wrote: > >>>I forgot to mention that "IDCAMS" is included on the >>>SYS1.PARMLIB(IKJTSOxx)) AUTHPGM NAMES list >> >>Yes, that would be required in order for your TSO CALL command to invoke

Re: rexx and IDCAMS functions

2022-08-22 Thread Paul Gilmartin
On Mon, 22 Aug 2022 15:45:53 -0500, Walt Farrell wrote: >On Mon, 22 Aug 2022 09:47:44 -0500, Paul Gilmartin wrote: > >>Why is such specific authorization required? Is there some >>associated hazard or cost? > >If you're asking why she needs to run IDCAMS APF-authorized, it's because >IDCAMS is n

Re: rexx and IDCAMS functions

2022-08-22 Thread Lennie Dymoke-Bradshaw
AUTHCMD list. Lennie Dymoke-Bradshaw -Original Message- From: IBM Mainframe Discussion List On Behalf Of Walt Farrell Sent: 22 August 2022 21:46 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions On Mon, 22 Aug 2022 09:47:44 -0500, Paul Gilmartin wrote: >On Mon, 22

Re: rexx and IDCAMS functions

2022-08-22 Thread Seymour J Metz
a.edu] Sent: Monday, August 22, 2022 5:23 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions I think that those IDCAMS verbs/functions that require authorisation can also be run as TSO commands as long as the command name is present in the AUTHCMD list. So if the requirement is t

Re: rexx and IDCAMS functions

2022-08-22 Thread Seymour J Metz
r J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Walt Farrell [walt.farr...@gmail.com] Sent: Monday, August 22, 2022 4:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions

Re: rexx and IDCAMS functions

2022-08-22 Thread Lennie Dymoke-Bradshaw
No, it doesn't. Nor does it mention IMPORT, DEFINE or ALTER but these are all TSO commands. Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: 22 August 2022 23:17 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: rexx and IDCAMS functions Well

Re: rexx and IDCAMS functions

2022-08-24 Thread Walt Farrell
On Mon, 22 Aug 2022 16:16:06 -0500, Paul Gilmartin wrote: >Why is there an AUTHPGM NAMES list at all? Why shouldn't it just be >* (everything) >??? > >I can imagine several reasons: Even some authorized programs might not >be trusted not to modify the WAITing TSO task (IKJEFTT09?), perhaps

Re: rexx and IDCAMS functions

2022-08-24 Thread Hobart Spitz
I missed the "authorized" part the first time around. I don't think anyone has mentioned the TSOEXEC command. It runs an authorized command (authorized) from an unauthorized environment. (No, I didn't leave out a blank. TSOEXEC is the full 7 character command name. Google it.) OREXXMan Q: W