The line continuation rules for SQL statements are the same as those for other PL/I statements, except that EXEC SQL must be specified within one line.
Constants containing DBCS data can be continued across multiple lines by placing the shift-in and shift-out characters outside of the margins. This example assumes margins of 2 and 72. This SQL statement has a valid graphic constant of G'<AABBCCDDEEFFGGHHIIJJKK>'.
*(..+....1....+....2....+....3....+....4....+....5....+....6....+....7.).. EXEC SQL SELECT * FROM GRAPHTAB WHERE GRAPHCOL = G'<AABBCCDD> <EEFFGGHHIIJJKK>';