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