Hi, Karthick
DBI is not an IBM module, so you would need to install this.
See their CPAN site:
Here is an overview of perl.rte support on AIX:
The perl shipped with AIX in the perl.rte fileset is intended for sole use by the operating system. Operating system components rely on the specific level of perl shipped with the release. AIX does not migrate customer installed modules to this new version, since the modules are not tested by AIX. They are usually left on the system in a directory left over from the previous version.
**If users have installed modules to perl, they will need to reinstall these modules to the newer perl after an update, if they want to use the AIX perl.**
Users are always encouraged to use the latest perl RPM version available on the AIX Toolbox for Linux to ensure they are using the latest versions tested on AIX. Since this perl version will install to a different location, this also gives the user control over any perl updates which could impact their environment.
Reference:
AIX Perl Updates and Support for perl.rte:
Resolving AIX Open Source Package and Application Issues:
------------------------------
Jan Harris
------------------------------
Original Message:
Sent: Tue February 15, 2022 10:51 AM
From: Karthick MK
Subject: Perl is not working after migration of AIX 7.2
DB2 is functioning well.. but unable to run perl db scripts... These are basically jobs that run on db for house keeping...
Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/site_perl/5.28.1 /usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.28.1 /usr/opt/perl5/lib64/site_perl /home/ddba04/scripts/perl_modules) at /home/ddba04/scripts/perl_modules/dbi_cmds.pm line 4.
BEGIN failed--compilation aborted at /home/ddba04/scripts/perl_modules/dbi_cmds.pm line 4.
Compilation failed in require at /home/db2edw01/scripts/applMonitor.pl line 5.
------------------------------
Karthick MK
------------------------------
#AIXOpenSource