<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
To All:<br>
<br>
You may already have something like this, but I thought I would
share.<br>
It is the holiday season.<br>
<br>
Merry Christmas/Happy Hanukkah to all,<br>
<br>
Richard D. Williams<br>
<br>
Required: all tables must be ascii format.<br>
If you need to convert all tables in a file, just do this:<br>
/appl/fp/rcabe filename -ca<br>
<br>
<font face="Courier New, Courier, monospace"># cat SEARCH_IT<br>
rm -f /tmp/$LOGNAME.txt<br>
for file in `ls -1 $1`; do if grep -q "$2" "$file";<br>
then echo $file >> /tmp/$LOGNAME.txt; cat $file | grep -n
"$2" >> /tmp/$LOGNAME<br>
.txt; echo "" >> /tmp/$LOGNAME.txt; fi; done;<br>
vi /tmp/$LOGNAME.txt<br>
<br>
i.e.<br>
[/appl/filepro/r_process_office]# SEARCH_IT "prc.*" "(268)"<br>
<br>
yields:<br>
prc.enter_txoag_job<font color="#cc0000"></font><br>
67:::P_PROC(8)=@TD+"30";P_PROC(9)=@TM;P_PROC(268)=@TD+"0";P_PROC(320)="I":<br>
<br>
prc.pcp2pcp_owe<br>
41:::d(8,yymd)=P_PROC(268)+"0":<br>
58::P_PROC(268) ge "05/03/04":w="P_CHG@a":<br>
121::P_CLT(116) eq ja and P_PROC(268) ge
P_CLT(@CD):amf_client="Y":<br>
133::P_PROC(268) ge "05/03/04":w="P_CHG@a":<br>
192:::d(8,yymd)=franinv(268)+"0":<br>
205::franinv(268) ge "05/03/04":w="P_CHG@a":<br>
206::franinv(268) lt "05/03/04":w="P_CHG":<br>
214::not amf and P_CLT(116) ne "" and franinv(268) ge P_CLT(@CD)
and franinv(214) eq "":jl(9,.)=jl+(famt(n)-(famt(n)-am)):<br>
219:::hg(8,yymd)=franinv(268)+"0":<br>
</font><br>
</body>
</html>