SQL Body and Formatting Considerations

The SQL body specifies the statements that define the body of an SQL procedure. An SQL body is required to generate valid DDL for an SQL procedure.
carcudb2
The SQL body specifies the statements that define the body of an SQL procedure. An SQL body is required to generate valid DDL for an SQL procedure.
You can use standard ISPF editor commands to copy, replicate, delete, and move lines to manage the SQL procedure's SQL text.
If the Parameter Declaration List is showing (or enabled) instead of the SQL body, you need to issue the SQL primary command to display the SQL body. If the SQL body is not visible because there is not enough room, you can issue the HEADER primary command (to turn off the header content) or issue the COMPARE primary command (to toggle the compare display OFF if it is ON).
You can use the FO command to format the current editable or displayed SQL text into a more readable format (with indentation). Entering this command causes the requested formatting to be applied only once to the current text. Additionally, the current PARSE setting has no influence on the behavior of this command.
To format the SQL text for better readability, enter 
FO 
in the command line.
The product indents and formats the text in the SQL body into a more readable format.