DB2 can be accessed from all these environments: TSO (Time Sharing Option) for interactive use, CICS (Customer Information Control System) for transaction processing, IMS (Information Management System) for database management, and BATCH for scheduled jobs. Each is a valid DB2 access method.