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 
for, e.g., RENAME, then you must provide your own  command buffer, UPT, PSCB 
and ECT pointers, instead of letting ADDRESS TSO do it for you.

When the only tool in your toolbox is a pipe, everything looks like a filter.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of W 
Mainframe [[email protected]]
Sent: Wednesday, August 17, 2022 6:27 AM
To: [email protected]
Subject: Re: rexx and IDCAMS functions

You should use Rexx LINKMVS host command processor to call programs using a 
parameter list.
For example to call a Cobol program :
Rexx :
rxv1='data1'rxv2='data2'Address linkmvs 'cobsamp rxv1 rxv1'(each rexx variable 
in linkmvs will be an address in plist)
Cobol :
linkage section01 rxv1 pic x(10).01 rxv2 pic x(20).procedure division using 
rxv1 rxv2.

Dan



Sent from Yahoo Mail for iPhone


On Wednesday, August 17, 2022, 12:58 AM, Seymour J Metz <[email protected]> wrote:

The TSO commands that front-end IDCAMS expect a CPPL; you need ADDRESS TSO.;


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Lizette Koehler [[email protected]]
Sent: Tuesday, August 16, 2022 10:49 PM
To: [email protected]
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 Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Tuesday, August 16, 2022 2:36 PM
To: [email protected]
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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.3.0%3Ftopic%3Dmessages-iec150i&amp;data=05%7C01%7Csmetz3%40gmu.edu%7C9ca09b60e8064806113808da803b4634%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637963289337392865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=nN7thhGCEcoRPQmW%2F3vApVun%2FKw6A9b862mm4lWx4n0%3D&amp;reserved=0>?

>I am trying to figure out what I need to do to resolve it
>
>Something in RACF? Pads  IKJTSOxx??
>
More details?  What is your code so far?

Is this something that can't be done with ADDRESS LINKMVS IDCAMS?

--
gil

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to