home *** CD-ROM | disk | FTP | other *** search
- /* */
-
- if ~show('L',"rexxsupport.library") then do
- if ~addlib("rexxsupport.library", 0, -30, 0) then do
- say "Rexxsupport.library not loaded. Script Exiting!"
- exit 10
- end
- end
-
- address command "Assign >Ram:MCF.SetUp"
- if showlist('A', "MCF") then address command "Copy MCF:MCF.Ops MCF"
-
- iname = "Ram:MCF.SetUp"
- oname = "CleanUp_MCF.rexx"
-
- call open("Input", iname, 'R')
- call open("Output", oname, 'W')
-
- call writeln("Output", "/* */")
- xx = readln("Input")
- do until eof("Input")
- parse value xx with dev dir
- dir = '"' || strip(dir) || '"'
- ldev = " " || upper(dev) || " "
- if 0 ~= pos(ldev, " REXX MCF ENV ") then
- call writeln("Output", "address command Assign" '"' || dev || ':"' "'" || dir || "'")
- xx = readln("Input")
- end
- call writeln("Output", "exit")
-
- call close("Input")
- call close("Output")
-
- address command "Delete >nil: Ram:MCF.SetUp"
- address command Assign "Rexx:" Rexx
- address command Assign "ENV:" Env
- address command Assign "MCF:" MCF
-
- exit
-