Re: REXX:trying to write a rexx interface with rmm

2012-01-10 Thread Victor Zhang
Hi all, use following rexx code to achieve what I want: run_under_mvs = 1 vol_cnt. = 0 /*vol cnt*/ vol_seq. = 0 /*vol seq*/

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Gonzalo Cengotita
It must be a rexx? If not, there are rmm reports that use the extract file, you need to generate Extended Extract Records, an I think the EDGGR11 (List Multivolume and Multifile) should be appropriate. There is a very useful field for your purpose, the XVMDMVID, which is an ID number equal for all

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Victor Zhang
Gonzalo, Thanks for your reply. What I want to achieve is: Input: dsn name, that can contain ** or * or % Output: volser,xxx,yyy where xxx is volume count number and yyy is volume sequence number. For example for a dsn spanned 3 volume, the report will end with: vol001, 3, 1 vol001, 3, 2

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Gonzalo Cengotita
Yes, you can modify the report to include the fields you want, and you can save the JCL if you want to make another changes You can find all the reports in the rmm panels, I use the option 5.R (Command/Reports), then option 1 Regards Gonzalo Cengotita 2012/1/9 Victor Zhang

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Gerard Nicol
RE: REXX:trying to write a rexx interface with rmm Victor, Having read the replies to your question so far I am reminded of the saying when all you have is a hammer everything looks like a nail. You want to write a REXX to automate something, right? You don’t want to run JCL, you don’t want

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Mike Wood
Victor, There are good examples of using rexx with the rmm subcommands. Did you see this section http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2r390/9.5?SHELF=EZ2ZBK0KDT=20100623164750 in the rmm MURM? It points to EDGXMP1 and EDGXMP2. They should how to use searchxxx

Re: REXX:trying to write a rexx interface with rmm

2012-01-09 Thread Martin Packer
As a matter of interest, Mike, how old are the DFSORT / ICETOOL reports? I don't know how others feel about this but it might be worthwhile my (I can't speak for Frank) taking a look at them some time. (Kind of how I feel about RACFICE, for example.) Cheers, Martin Martin Packer, Mainframe

REXX:trying to write a rexx interface with rmm

2012-01-08 Thread Victor Zhang
Hello experts, I am trying to write a simple rexx program interfacing with rmm. Input is dsn, with can contain **,% output is the volumes that the dsn occupied. I searched rmm manual and found SD is best preferred method to do this. However, I have several questions: Is there any existing code out