hi,
i have 3 fields in a file and linked them through 2 associative arrays.. the problem is one of the associative array is working while the other is not.. the code part is:
awk ' BEGIN {
FS="|"
rc = getline < "ICX_RULES"
a sample of the file "ICX_RULES" is :
ICX-1|044|13
ICX-2|X1|10
although print lengthofCallingNumber[10] is giving result as: X1
but, print ruleCondition[044] is not yeilding any result.
please help, and please avoid use of if condition as a part of your solution