Shamash — Sumerian Utu, the sun — is the all-seeing one: the day's judge, the justice-god whose rays reach every wrong, whose twin houses at Sippar and Larsa (the E-babbar pair) anchored the law; by night he crosses the below, judging the dead — the omen-diviners' and the courts' own god. The utu epithet-page redirects here.
From the earliest lists (Utu) through the code-prologues (Shamash)
Core Themes
The seeing judge: "who sees all" — the law-codes' Hammurabi shown receiving the rod-and-ring from Shamash; the oath by the sun; the wrong done in darkness already seen: the justice-page's god.
The two courts: the day's bench above (Sippar-and-Larsa's Ebabbar twins) and the night circuit below — the dead's judge by night (see the judges): no hour without jurisdiction.
The diviners' light: the omens' patron — heaven's writing (see the astral triad) read under his supervision: the bārû's craft his gift.
The Scorpion-men: the sun's gate in the mountains guarded by the scorpion-pair (see Tiamat's monster-brood) — the dawn-and-dusk threshold the epic-hero crosses at the world's edge; the day's judge enthroned at both doors of the day.
The helper of heroes: Gilgamesh-and-Enkidu's sun-god — the winds' sleep-grant and the Huwawa-battle's aid: the epic's justice-god siding with the pair against the monster; the day's patron of the dangerous errand — the all-seeing one the traveler's and the merchant's oath, the road's own guarantor.
Myths & Texts
The code-prologues (Hammurabi's stele); the Etana myth's sending-god; the Descent's sun-mourning scenes; the hymns to the sun's circuit; Gilgamesh-and-Huwawa's sun-helper.
Starr, I. 1990. Queries to the Sungod: Divination and Politics in Sargonid Assyria . State Archives of Assyria, 4. Helsinki: Helsinki University Press. PDF version of Introduction - part 1 (3.1 MB) [http://oracc.museum.upenn.edu/saao/knpp/downloads/starr_saa04_intro1.pdf] via Knowledge & Power in the Neo-Assyrian Empire [http://oracc.museum.upenn.edu/saao/knpp] .
Woods, C.E. 2004. "The Sun-God Tablet of Nabû-apla-iddina revisited." Journal of Cuneiform Studies 56 : 23-103. Available online via JSTOR [http://www.jstor.org/stable/3515920] (subscription required).