The function of ENSG00000111335 (OAS2, 2'-5'-oligoadenylate synthetase 2) is as follows. Interferon-induced, dsRNA-activated antiviral enzyme which plays a critical role in cellular innate antiviral response (PubMed:10464285, PubMed:9880569). Activated by detection of double stranded RNA (dsRNA): catalyzes the formation of 2'-5'-oligoadenylates (2-5A) from polymerization of ATP which then bind to the inactive monomeric form of ribonuclease L (RNASEL) leading to its dimerization and subsequent activation (PubMed:10464285, PubMed:11682059, PubMed:9880569, PubMed:40412389). Activation of RNASEL leads to degradation of cellular as well as viral RNA, resulting in the inhibition of protein synthesis, thus terminating viral replication (PubMed:10464285, PubMed:9880569). Can mediate the antiviral effect via the classical RNASEL-dependent pathway or an alternative antiviral pathway independent of RNASEL (PubMed:21142819). In addition, it may also play a role in other cellular processes such as apoptosis, cell growth, differentiation and gene regulation (PubMed:21142819). May act as a negative regulator of lactation, stopping lactation in virally infected mammary gland lobules, thereby preventing transmission of viruses to neonates (By similarity). Non-infected lobules would not be affected, allowing efficient pup feeding during infection (By similarity). {ECO:0000250|UniProtKB:E9Q9A9, ECO:0000269|PubMed:10464285, ECO:0000269|PubMed:11682059, ECO:0000269|PubMed:19923450, ECO:0000269|PubMed:40412389, ECO:0000269|PubMed:9880569, ECO:0000303|PubMed:21142819}.