Getting Started
Part Two - Challenge #01

Background:

Congratulations on making it to Part 2. Now comes the exciting stuff! In this first challenge, you will be setting up your data sets for the rest of Part 2. You will also learn to reset your data sets back to their original state in case you need to start over.

As you continue to work through Part 2, you will gain a deeper understanding of what JCL is and how it is regularly used. However, for now, it is important to understand that JCL is simply a set of statements that you code to tell the z/OS operating system about the work you want it to perform.

Without further ado, let’s get started!

A reminder about contest IDs: The challenges described within use CC##### as a placeholder to describe instances where you should insert your contest user ID. Each country and geographic region participating in the contest will have their own unique prefix and each contestant will have their own unique numeric identifier. During this contest, wherever you see "CC#####", please change this to your specific country code and user ID number or the challenges will not work as designed.

For example: If a challenge tells you to change CC##### to your user ID, and you are participating in the China contest with an ID of CN99999, replace CC##### with CN99999.

The list of user ID prefixes for each country's particular user ID format are as follows:

Region Prefix
India IN#####
Japan JA#####
China CN#####
UKI GB#####
DACH ZC#####
Italy IT#####
US & Canada US#####
SSA AR#####
BeNeLux BE#####
CEE HU#####
Spain ES#####
Russia & Ukraine RU#####
MEA ME#####
Brazil BR#####
Learning System AU#####

Your challenge:

Prepare yourself and your environment for the exciting challenges that are coming your way.

Issue the following command from the ISPF Command Shell command line, found at option 6 in the ISPF Primary Option Menu:

SUBMIT 'ZOS.PUBLIC.JCL(P2)'

Don't forget the quotes! You will see a notification that the job was submitted along with job ID. Remember to press Enter when you see ***. This job will take a moment to complete. You will see a notification message MAXCC=0000 when the job successfully finishes. Hit Enter after a minute or two if you don't see it.

Now go see what goodies we've placed for you. Go to the DSLIST panel (ISPF option 3.4) and enter your user ID in the Dsname Level field. Hit Enter, and you'll see additional data sets that were not in Part 1.

What was that? You just submitted for your very first JCL job which populated your Part 2 data sets and members with some mainframe contest goodness.

You'll notice that you now have a data set called 'CC#####.P2.OUTPUT'. This data set is very important -- it will eventually contain all of your work to be graded for Part 2. From here on out, we will refer to this data set as OUTPUT or P2.OUTPUT. You'll need to keep its full name in mind to complete many of the Part 2 challenges successfully.

Note: In these instructions, when we use the word "Type", we do not want you to press Enter. If we use the word "Enter", we may mean for you to type something in and then press Enter.

Enter E to the left of P2.OUTPUT.

On the primary command line, enter:

SELECT #01

This creates a new member named "#01" in the P2.OUTPUT PDS and automatically opens the editor. Once there, on the first blank line enter:

cc##### was here 2016. wooo hooo, mainframer!!!

Use your user ID in place of cc#####. The wooo hooo, mainframer!!! part is optional, depending on your level of enthusiasm at this point. Original expressions of mainframe zeal are also acceptable. Any combination of upper and lower case is acceptable.

F3 back out, and you will see that #01 has been created in OUTPUT.

You have now successfully created a brand new member in a partitioned data set. This may not sound like much, but it's an important first step!

Note on resetting data set contents: If you need to reset any of your data sets that were provided by the contest team, check the refrence page here.

Next: Challenge #02