Side note: some IDCAMS functions require APF authorization; ADDRESS TSO 'CALL *(IDCAMS)' will work for those but ADDRESS LINKMVS 'IDCAMS' will not.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of David Spiegel [[email protected]] Sent: Wednesday, August 17, 2022 9:47 AM To: [email protected] 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 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 IDCAMS in TSO (i.e. CALL *(IDCAMS)), the TSO PREFIX is irrelevant. Regards, David On 2022-08-17 08:38, Paul Gilmartin wrote: > On Wed, 17 Aug 2022 03:57:48 +0000, 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=. > >> ________________________________________ >> From: Paul Gilmartin >> Sent: Tuesday, August 16, 2022 2:36 PM >> >> Is this something that can't be done with ADDRESS LINKMVS IDCAMS? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
