Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paulo Padilla asked how to find which dbspaces hold the logical logs. Madison Pruet suggested oncheck -pe, showing log files in the chunk layout. Ajay Gupta gave a sysmaster query joining syslogfil, syschunks and sysdbstab on chunk and dbsnum to list log number, chunk and dbspace. Paulo thanked them.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Hi everyone,
I'm trying to identify in which DBSPACE current logical logs are located
Is there any query or command to identify each one? I guess prior DBA created
in several dbspaces.
Thanks in advance!
Run the following query in sysmaster database. it will give the logical log
number, chunk number and dbspace name where logical log is located.
select number logfile, c.chknum CHUNK, d.name DBSPACE
from syslogfil l, syschunks c, sysdbstab d
where c.chknum = l.chunk and c.dbsnum = d.dbsnum;
↪ replying to PAULO PADILLA
PAULO PADILLA — — source: IIUG Forums & Mailing Lists
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.