primary key can be same for many fields. For example: here second column would be acct number 1234, so in order to fetch details for that acct only, i am grepping that acct number (which returns single record) and then select columns as specified. Here
LOC CODE|positionfile.delim|2|47
LOC NAME|locationfile.delim|47|4
For loc code, use second column from main file as primary key for looking up positionfile.delim, get 47th field.
For loc name, 47th column from main file is primary key for looking up locationfile.delim, get the 4th field.
In reply to Re^4: Perl Script performance issue
by Tara
in thread Perl Script performance issue
by Tara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |