Resetting a Data Set or Member to Original
You messed something up! Now what?
Note on starting over: If you mess up any of your CC##### data set members during Part 2, you will can to find read-only copies for almost all of them in the ZOS.PUBLIC.** data sets. For example, if you have a member called CC#####.SOURCE(PAY) that needs to be reset to the original, you can find a fresh copy at ZOS.PUBLIC.P2.SOURCE(PAY).

To make a new copy, just create a new member with the name you want, then run this command from the command line inside the blank member:

COPY 'ZOS.PUBLIC.qualifier(membername)'

Voila! Alternately, you can delete the contents of an existing member by using the line command D#### (where #### is the number of lines you want to delete - using D9999 will quickly clear out all but the longest members), and then issuing the copy command from the command line once the member is blank. Throughout Part 2, whenever you need to access a data set that does NOT start with your CC##### user ID, such as the ZOS.PUBLIC.** data sets, always open the data set using Browse, rather than Edit.

Refreshing a data set is easy, simply open it for editing and perform the following actions:

  1. In the command column for line 1, type D999. You will be overtyping the '000001'.
  2. In the primary command line, type COPY 'ZOS.PUBLIC.qualifier(membername)'
  3. Press Enter

Now you know how to quickly create and copy members, and knowing is half the battle. You've got everything you need to become a bonafide mainframe master, right? Yes! Let's get to it.