We've created a dataset, and we've created and edited some numbers within a dataset. Now let's learn a little more about working with datasets. Just to remind you some of these handy commands. When you type save, that saves the dataset and it remains in edit mode, and when you press F3 that saves the data and returns you to the previous panel. So if you're all done editing and you want to exit and save, just hit F3. If you've made a bunch of edits that you're not entirely sure about and you want to exit without committing any of them, Enter Cancel or Can for short. If it's configured for quit, you can also press F12. One command you'll probably use a lot when working on datasets is the find command. Find is abbreviated as F for find. Then after F, place your search string. On this screen, we're trying to find the word back. So we're typing F space Back into the command line. If there are multiple occurrences of the word, you can press F5 to advance to the next one. The hilite command spelled H-I-L-I-T-E, lets us tell the editor to set the colors and language sensitive editing features for a specific format. When you type hilite and hit enter, we get this menu of languages, coloring, and options. Here we can select our programming language, set the coloring mode, and select a few of those options. We select an option with a forward slash. So if we select the option for hilite find strings and then we press F3 to get back to the editor, notice that the F Back command highlights the instances of back in the editor. By the way, if you know the language you want to format for, you can type it out in the command line. Like hilite JCL and that will color the screen specifically for JCL. A couple of quick notes on this. Some of the hilite formatting options need to be enabled by the installer or person who maintains your ISPF installation. So if you're on a different system and things look a little bit different, that could be why. Also these options are only available in the Edit mode. If you're browsing a file, you won't see these colors. A lot of times when something doesn't work right you get an error and the message might say, error detected at line 50 column 42 or something like that. We can easily see what line we are at because we have the numbers on the left side of the screen there, but what about that error at column 42. Are we supposed to sit there and count out one, two, three, four, five, of course, not. You can bring up a column guide and you can actually do this one of two ways. Type COLS, C-O-L-S up in the command line area and you get a little ruler that pops up and it will always be there at the top of your screen for you. That's pretty handy, but what if I really only want to show a column guide for one line? Type COLS, C-O-L-S, over the line number you want the column guide for and it will insert one in the editor right above it. Now, this does not show up in the actual dataset. You'll notice it doesn't have a record number over there, but as you scroll up and down, it moves with the data. So two styles of creating column guides and those will definitely come in handy. We looked at Find and we also have a change command. This can be used to replace a string of characters with another. Like if we wanted to change all instances of one, two, three, four with five, six, seven, eight. To use the change command, just entered change followed by what you want to change, followed by what you want to change it with. If you want to change all instances, follow that with all, otherwise, it will only change the next one. There's a whole lot of options you can use for the change command, but for now we're just going to keep it simple. Up next is the bounds command. This comes in handy from time to time. Let's say we want to issue a change command but we only want to change data located between the first and 25th column. Sounds tricky, but with the bounds command, we can type BOUNDS space one space 25 and now our change command is limited to the area in the first 25 columns. To set it back, just type bounds with nothing after it and hit enter and it will go back to default. Say you want a copy or move an entire dataset somewhere else. One way of doing this is with the move copy utility and I'm going to show you a shortcut of how to get there. It's in the utility section which is option three, and within there Move Copy utility is option number 3. Since we know this, we can get there by going to 3.3. It'll jump us directly there without needing to stop at the screen in between. So from the main screen, we're going to type 3.3 and that puts us at the Move Copy utility. We could actually jump directly from any panel to any other panel by putting an equals in front of that. So =3.3 or whatever in the command line. So no need to go back to that main panel. That should save us quite a bit of time. All right. Moving and copying. Put either an M or a C for a move or copy on the command line. Then either use the project group type fields to specify your dataset or type out the name of the dataset on the name line. Note that you can use the member field to specify a single member, or you can use an asterisk or splat to specify all members. You can also use a pattern like L splat to tell it only members that start with an L. Hit "Enter" and then the next screen will come up. Fill out the name of the target dataset where it's going and hit "Enter" and the copy or move will begin. Renaming a dataset is fairly similar using option 3.2 the dataset utility panel, enter the old dataset name and specify an R on the command line. The next screen will prompt you for the new name, hit "Enter" and there you go. If you want to rename a member not the entire dataset, use option 3.1 for library utilities. Fill out all these fields or fully spell out the name of the member in the other partitioned or sequential dataset field and just follow the prompts which by now should seem pretty familiar. Deleting dataset members that's also done in 3.1. Just use the command D for delete. Depending on how your ISPF is configured, it may or may not ask you if you're sure you want to delete those members. Hey, better safe than sorry. One more thing. We looked at the dataset list utility earlier which can be found at option 3.4, and we saw how you can get a listing of the members of a dataset by typing out a qualifier or series of qualifiers into the DSname level field and hitting "Enter". Now check this out. When the listing comes up, we can not only edit and view the members from here by placing an E or a V into the command area, but we can also rename them with an R, delete with a D, copy with a CO, move with an MO, and more. A fuller listing of these commands is in a file attached to this lesson. So that's that. You've learned how to create and manage datasets and members. You're ready to take on the world of datasets at least.