Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!njin!princeton!phoenix.Princeton.EDU!jwagner From: jwagner@phoenix.Princeton.EDU (John Wagner) Newsgroups: comp.lang.rexx Subject: Re: Variable dump utilities? Message-ID: <5877@idunno.Princeton.EDU> Date: 1 Feb 91 21:26:33 GMT References: <91028.231227DSB100@psuvm.psu.edu> <21658@oolong.la.locus.com> Sender: news@idunno.Princeton.EDU Reply-To: jwagner@phoenix.Princeton.EDU (John Wagner) Lines: 27 In article <21658@oolong.la.locus.com>, richg@locus.com (Rich Greenberg) writes: |> In article <91028.231227DSB100@psuvm.psu.edu> DSB100@psuvm.psu.edu (David Barr) writes: |> >This seems like a simple thing, but I was wondering if there are any utilities |> >out there that will provide a complete memory dump of all variables. I know |> |> There are some public domain programs that will do this. I don't have any |> but I remember some discussion on VMSHARE so If I were looking for such, |> I would look at MEMO REXX on VMSHARE. You can write it yourself. You need |> an assembly routine that does EXECCOMM calls, and just asks for the "next" |> variable until there are no more. The variables will be fed to you in |> random order, so if you want to sort them, that is up to you. |> You could also check with Dave Gomberg at UCSF in San Francisco. I |> don't have an internet address for him and I would rather not post his phone |> without his ok. |> Rich |> p.s. The above is for Rexx on VM/CMS. I can't speak for other platforms. VM sites with PIPEs can get a list of the current variables (sorted in alphabetical order) with the following: address command 'PIPE rexxvars | drop 1 |' , 'pad 4|spec 3-* 1|join 1 /=/|sort|console' You may want to change the destination. It can go by on the console fairly quickly. John