# Edit Data Set dialog box

You use this dialog box to create, edit, and save JCL, which is displayed in a scrollable ASCII text box in the dialog box. The user ID that you use in the TEP must be a valid mainframe user ID that provides access to the mainframe JCL data set.

Click the Edit JCL button in the Create Batch Job dialog box to access the Edit data set dialog box. The name of the data set being edited appears in the title of the dialog box. If the data set that you specify does not exist, the data set is created when you click OK. This dialog box can contain ASCII text only.

Line and column indicators displayed below the ASCII text box identify the current position of the cursor. A ruler is also available to assist with column identification. By default, the ruler is hidden. When displayed, it appears above the ASCII text box. Use Ctrl+R to toggle the display of the ruler.

The Edit data set dialog box also displays your editing mode. The editing mode appears below the ASCII text box. REP indicates that you are typing in replace mode (overwriting existing characters). INS indicates that you are typing in insert mode. Press the Insert key to toggle between insert and replace modes. Replace mode is the default.

A vertical gray bar in the ASCII text box is positioned at the logical record length of the data set. If the data set does not exist, a length of 80 is used. You cannot type beyond this bar, nor can characters shift past the bar when you are in insert mode. When the line on which you are typing reaches the bar, additional characters that you type are ignored. Use the Enter key to create new lines.