juv2adult.pl - convert juvenile/child patrons from juvenile patron category and category code to corresponding adult patron category and category code when they reach the upper age limit defined in the Patron Categories.
juv2adult.pl [ -b=<branchcode> -f=<categorycode> -t=<categorycode> ]
Options: --help brief help message --man full documentation -v verbose mode -n take no action, display only -b <branchname> only deal with patrons from this library/branch -f <categorycode> change patron category from this category -t <categorycode> change patron category to this category
Print a brief help message and exits.
Prints the manual page and exits.
Verbose. Without this flag set, only fatal errors are reported.
No Action. With this flag set, script will report changes but not actually execute them on the database.
changes patrons for one specific branch. Use the value in the branches.branchcode table.
*required* defines the juvenile category to update. Expects the code from categories.categorycode.
*required* defines the category juvenile patrons will be converted to. Expects the code from categories.categorycode.
This script is designed to update patrons from juvenile to adult patron types, remove the guarantor, and update their category codes appropriately when they reach the upper age limit defined in the Patron Categories.
juv2adult.pl
- Suggests that you read this help. :)
juv2adult.pl
-b=<branchcode> -f=<categorycode> -t=<categorycode> - Processes a single branch, and updates the patron categories from fromcat to tocat.
juv2adult.pl
-f=<categorycode> -t=<categorycode> -v -n - Processes all branches, shows all messages, and reports the patrons who would be affected. Takes no action on the database.