Data Scavenger Hunt
Part Three - Challenge #03

Background:

Part 2 challenges included exposure to:

  • Data Set Types
    1. Sequential Data Sets
    2. Partitioned Data Sets
    3. VSAM Data Sets
    4. Unix File Systems
  • Character Representation
    1. HEXADECIMAL
    2. ASCII
    3. EBCDIC
    4. Packed Decimal
  • z/OS Interactive Facilities
    1. SDSF Console Interface for system command processing
    2. SDSF for viewing JCL job output
    3. TSO OMVS for 3270 Unix Services command shell interface
    4. ISPF =3.4 Data Set List Utility panel to view Unix files
  • Viewing Data
    1. ISPF Editor - (HEX ON/OFF, HX)
    2. File Manager for VSAM view/edit - (HEX ON/OFF)
    3. Unix Services obrowse and oedit - (ISPF Editor for Unix files)
    4. JCL execution of system utility programs to print data from various data set types
    5. SPUFI for data in DB2 Tables

Given Part 2 was a race, you may need to review Part 2 challenges to help complete this challenge. Part 3 is not a race, so you can take your time to piece things together to complete this challenge.

Your challenge:

The objective is to find 8 separate numbers from 8 unique places in the z/OS environment, then total those 8 decimal numbers. Success is the correct decimal total of the 8 numbers.


=6, then enter ch3begin to get a minor hint about the final answer.

To determine the first number

Enter necessary z/OS system command to output the system link list. The previous challenge was to display the system link list.

Observe the system link list output has a respective list entry NUMBER associated with the DSNAME in the output.

The respective data set NUMBER associated with the LAST DSNAME of the system link list is the first number in the series of 8 numbers.


To determine the second number

CC#####.DATA member name Z1 column 65 and 66 is a Packed Decimal number. This Packed Decimal number is the second number.

*Note: Packed Decimal can be either a negative or positive number based upon last hexidecimal digit


To determine the third number

/u/public/num/number3 contains the third number


To determine the forth number

submit jcl(job09)

Successful JOB09 compile and execution of a COBOL program will write the forth number in the JCL JOB output.

The COBOL source program has a minor error that must be corrected to compile. The JCL DDNAME COBOL.SYSIN references the program source data set and member name.

COBOL Basic Syntax Tutorial

The above link has the information necessary to correct the COBOL syntax problems - see Coding Sheet heading information

Now that the compile problem is corrected, execution fails due to a JCL problem. The JCL must be corrected to successfully execute the compiled COBOL program.

JESMSGLG CSV003I message explains the program execution JCL problem

DDNAME LKED.SYSLMOD contains the executable module name from the previous JCL COBOL compile step.


To determine the fifth number

DB2 table WC.ALPHANUM row #1, field name NUMBER has fifth number. You learned how to use DB2 interactively in Part 2 to select rows from tables.


To determine the sixth number

CC#####.DATA member name NUM is an ASCII format number.

This number is 4 digits located columns 1, 2, 3, and 4.


To determine the seventh number

PUBLIC.VSAM is VSAM data set.

The forth record of PUBLIC.VSAM is the seventh number


To determine the eighth number

/u/public/num/packed has a Packed Decimal number that begins in column 1 of row 1.


Once you have the sum of all 8 numbers,

=6 and then enter ch3end

The ch3end routine will prompt you for the sum of the 8 numbers

Next: Challenge #04