Using content assist

JCL content assist is available for syntax elements of each language and for CICS® variables and EXEC SQL statements. Where possible, user-defined labels and variables are included in the list of suggested options.

About this task

Content assist cannot provide any proposals for a syntax error until there is enough valid syntax to suggest options.

Limitations:
  • Content assist for compiler directive statements, such as COPY and REPLACE, and compiler directives, such as CBL, DYNAM, CALLINT, and CALLINTERFACE, is not robust enough to provide proposals for all parts of these constructs.
  • Because of possible memory issues on the client, content assist proposals are displayed for a limit of 4 IF . . . OR statements. After four statements a message is displayed and no further content assist proposals are offered. Content assist is an aid for common or simple code, so complex or layered statements, such as PERFORM statements within an EVALUATE or WHEN statement, might result in no proposals.

Procedure

  • To use content assist, open a JCL file in the JCL Editor. As you are typing the code, press Ctrl+Spacebar and select from among the options that are displayed to complete the code you are typing.
  • You can toggle the content assist window between the default pane and template pane by pressing Ctrl+Spacebar again. If you close the content assist window and open it again without changing the cursor location, it reopens on the same pane. For more information about templates, see the related topics.