"something": '| Spec w1-7 n a: w8 . b: w9 . c: w10 . if a^=="" then /xxxxxxxx/ nw if b^=="" then /xxxxxxx/ nw if c^=="" then /xxxxxxx/ nw fi fi fi'
-- Mike Harding z/VM System Support mhard...@us.ibm.com mikehard...@mindless.com (925) 926-3179 (w) (925) 323-2070 (c) /sp CMSTSO Pipelines Discussion List <CMS-PIPELINES@vm.marist.edu> wrote on 08/28/2013 01:16:20 PM: > From: "Frank M. Ramaekers" <framaek...@ailife.com> > To: CMS-PIPELINES@vm.marist.edu, > Date: 08/28/2013 01:17 PM > Subject: Help with DIRECTORY pipe > Sent by: CMSTSO Pipelines Discussion List <CMS-PIPELINES@vm.marist.edu> > > I want to go through the directory changing all USER statements with > passwords to XXXXXXXX and all MDISK passwords to XXXXXXXX for storage on > our DR site. > > > > For the MDISK statements I only want to replace the password if one > exists, not insert one if it's omitted (blank). > > > > This is what I have so far: > > > > "PIPE (endchar ?)", > > " <" !._InFile, > > "| SPEC 1-71 1", > > "| STRIP BOTH", > > "|u:NOT ABBREV USER 1 ANYCASE", > > "|m:NOT ABBREV MDISK 1 ANYCASE", > > "|i:FANINANY", > > "| >" !._OutFile, > > "?u:", > > "|l:ZONE W3 NFIND NOLOG"||, > > "|p:ZONE W3 NFIND NOPASS"||, > > "|a:ZONE W3 NFIND AUTOONLY"||, > > "|b:ZONE W3 NFIND LBYONLY"||, > > "| SPEC W1-2 1 /XXXXXXXX/ NW W4-* NW", > > "| i:", > > "?l:", > > "| i:", > > "?p:", > > "| i:", > > "?a:", > > "| i:", > > "?b:", > > "| i:", > > "?m:", > > "| dosomething", > > "| i:" > > > > Thoughts? Ideas? > > > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 > > >