identify custom programs using a specific field

 2 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
SueS
Basic Member
Posts: 20
Basic Member
    I have to identify all custom programs which use ben_salary_2 from the PAEMPLOYEE table.

    Is there any way to do this?

    Thanks...
    isln_boy
    Basic Member
    Posts: 8
    Basic Member
      You can "grep" the source directories for PEM-BEN-SALARY-2:

      grep "PEM-BEN-SALARY-2" $LAWDIR/ProductLine /*src/*PD > results.txt

      Review the output file for the programs that reference the field.

      If you have customizations to program libraries also, you'll have to look for those references as well:
      grep "PEM-BEN-SALARY-2" $LAWDIR/ProductLine /*src/*pdlib/*PD > results.txt
      SueS
      Basic Member
      Posts: 20
      Basic Member
        Got what I needed. Thanks for your help.