Editing SQL

You can edit the SQL you have entered by entering the SQL primary command. The SQL you have entered is copied to a temporary data set and an ISPF edit session is started. When you complete the Edit session, the temporary data set is copied back to the entry area on the Enter, Execute and Explain SQL Statements panel.

When you edit the SQL, you can:
  • Save it to a data set for later use (using the ISPF edit CREATE command).
  • Retrieve SQL you have saved previously (using the ISPF edit COPY command).
  • Exploit the power of the ISPF editor to construct your SQL.

Related references