How to use this tool
What it does
Reads SQL statements and explains them in plain English: the order Db2 works in, the host variables and the SQLCODEs to expect.
How to use it
- Paste one or more SQL statements.
- They are read as you paste; no button is needed.
- Read the order Db2 works in, the host variables and the SQLCODEs to expect.
What it cannot do
- It does not know your tables, so it cannot tell if a column can be null or a key is unique.
- It explains the statement, not its performance.
- Some statement kinds and clauses are named as not interpreted.
- Next tool: COBOL structure analyser ▸ See the program the SQL sits in.
- Guide: all the guides
- Code page: SQLCODE -811
Your SQL is kept in this browser to save retyping. Clear it or keep it for this tab only on the Privacy page.
Statements end with a semicolon, or sit between EXEC SQL and END-EXEC. The tool reads the text only: it has no table definitions, no bind options and no connection to Db2.
Covers: SELECT, SELECT INTO, DECLARE CURSOR, OPEN, FETCH, CLOSE, INSERT, UPDATE, DELETE, MERGE, COMMIT, ROLLBACK, GRANT, REVOKE and the common CREATE, ALTER and DROP forms, written as plain SQL or inside EXEC SQL ... END-EXEC. Other statements and clauses are named as not interpreted.
ACCURACY · SIMULATION · CONFIRM ON Z/OS
Reads the text of the statement only; it has no catalog, no table definitions and no bind options, so anything that depends on them is marked as such. Syntax it does not interpret is named, not guessed. Confirm on Db2.
Check it yourself in one minute
- Open your browser's developer tools: in Chrome or Edge press F12 or right-click and choose Inspect; in Firefox press Ctrl+Shift+E for the Network Monitor; in Safari first turn on Show features for web developers under Settings, Advanced. Then open the Network tab.
- Keep the log across page loads (Chrome: Preserve log; Firefox: Persist Logs), then use the tool: paste your text or open a file and press the button.
- Look at the list. You will see only this page and its own files, loaded when the page opened. Nothing new appears when you use the tool.
- Still unsure? Switch Wi-Fi off and try again. The tool still works.
What the badge counts: requests the browser logged after this page finished loading, other than the site's own files. It reads the browser's own record and makes no request of its own. If your browser cannot give that record, the badge says so. The badge is a convenience; the developer tools are the proof.
The rule that enforces it
Every page carries this Content Security Policy. The browser itself refuses any request outside it; connect-src 'none' blocks fetch, XHR and WebSocket.
default-src 'none';
script-src 'self';
style-src 'self';
img-src 'self' data:;
font-src 'self';
connect-src 'none';
object-src 'none';
form-action 'none';
base-uri 'none';
manifest-src 'self';
worker-src 'self'Suggest a tool or report a wrong answer · How it works and why it is safe
No mail app opens? Write to hello@mainframepath.com . Please do not send confidential code or data.