On Tue, 31 Jan 2017 19:58:48 +0000, Hardee, Chuck wrote: > >At the moment, allocation is not what I am trying to do. >I am trying to use the INFO function to return the dataset name. >I am getting a return code of 0 from the BPXWDYN call, but I am not getting >anything returned. > >Have you tried doing an INFO call? > >This is the special flavor of parameter that you have to supply since BPXWDYN >doesn't have REXX variables to update. > If there's anything to be gained by experimenting in Rexx, you can simulate a non-Rexx call with "address LINKPGM". You need to supply the length halfwords explicitly. I doubt that this allows controlling R0.
There's an ICSF example in SYS1.SAMPLIB. Does Easytrieve allow return values in the CALL arguments and neither copy them nor protect them? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
