Samples of selected System z Platform Test configuration files

This page contains selected samples of parmlib members, configuration files, REXX EXECs, and so on, grouped by product, operating system element, or function. Unless otherwise noted, these samples are not specific to a particular system release.

Click any of the samples to view it in your browser. You can use your browser's "Save as" function to download the sample file to your computer.

We'd like to hear from you if you have questions about any of our samples, or if you have ideas about specific samples that you'd like us to include here.

 

Please understand that these samples are specifically tailored to our environment. You will not be able to use these samples without customizing them to your own environment.

z/VM Migration

 

  • DRCTCOMP (TXT, 5KB) - Create USER DIRECT file to be used to migrate user and profile directory entries from source z/VM system to the target z/VM system using DIRECTXA.
  • DRCTEXP (TXT, 2KB) - Create USER SOURCE file to be used to migrate user and profile directory entries from source z/VM system to an interim file for editing when compatibility issues exit that need to be edited prior to merging the entries to the target z/VM system's directory.
  • DRCTIDEN (TXT, 2KB) - Create IDEN DIRECT file to be used to migrate IDENTITY and SUBCONFIG directory entries from source z/VM system to the target z/VM system.
  • DRCTLIST (TXT, 3KB) - Create lists of unique users and profiles that need to be migrated to the system directory on the target system.
  • RACFADDU (TXT, 1KB) - Seed RACF database on new z/VM system with unique user IDs from the source z/VM system.
  • RACFEXPD (TXT, 3KB) - Export RACF minidisk (VMDDISK) settings.
  • RACFEXPG (TXT, 3KB) - Export RACF GROUP settings.
  • RACFEXPL (TXT, 2KB) - Export RACF network (VMLAN) security settings.
  • RACFEXPU (TXT, 3KB) - Export User and Group info from Production system.
  • RACFSURU (TXT, 1KB) - Create surrogate logonby resource for users.
  • SAMPEDIT (TXT, 1KB) - Sample Edit exec for making changes to the USER INPUT file when migrating a z/VM user directory to a z/VM system with a higher z/VM level.

CICS samples

  • AOR1 (TXT, 6KB) - AOR1 contains the startup procedure for our application group 1 AORs.
  • AOR2 (TXT, 5KB) - AOR2 contains the startup procedure for our application group 2 AORs.
  • AOR3 (TXT, 6KB) - AOR3 contains the startup procedure for our application group 3 AORs.
  • COMMANDS (TXT, 1KB) - COMMANDS contains the commands used to start the CICS regions for each of our application groups.
  • G1AOR (TXT, 3KB) - G1AOR contains the SYSIN override parameters for our application group 1 AORs.
  • G1TOR (TXT, 2KB) - G1TOR contains the SYSIN override parameters for our application group 1 TORs.
  • TOR1 (TXT, 6KB) - TOR1 contains the startup procedure for our application group 1 TORs.
  • TOR2 (TXT, 5KB) - TOR2 contains the startup procedure for our application group 2 TORs.
  • TOR3 (TXT, 5KB) - TOR3 contains the startup procedure for our application group 3 TORs.

IBM Encryption Facility for z/OS samples

  • ESE2TAPE (TXT, 1KB) - This JCL uses a batch program provided by the IBM Encryption Facility for z/OS Encryption Services to encrypt an MVS dataset and place the output into a tape dataset.
  • ESD2DSN (TXT, 1KB) - This JCL uses a batch program provided by the IBM Encryption Facility for z/OS Encryption Services to read a tape dataset which contains encrypted data and decrypt it to an MVS dataset.
  • JCD2DSN (TXT, 8KB) - This JCL contains 3 steps which are used to read a tape dataset containing encrypted data and place it into an MVS dataset. The Encryption Facility for z/OS Client, a licensed Java™ reference program, is used to decrypt the data. NOTE: This job calls the Javadecrypt_pw.sh script which is also available below.
  • Javadecrypt_pw.sh (TXT, 1KB) - This shell script, which is called by JCD2DSN, invokes the Encryption Facility for z/OS Client to decrypt the data.

IBM Health Checker for z/OS: Sample Checks

Sample 1: An executable sample, which includes the source code. This sample can be installed and executed, but is intended as a basic reference and starting point.

Sample 1: executable sample

  • HZS_README (TXT, 1KB) - Instructions for installing the sample
  • HZSSAMAC (TXT, 21KB) - Sample 'add check' exit routine to add a check that runs one-time((HZS_SAMPLE_ONE_TIME) and a check that runs at an interval (HZS_SAMPLE_INTERVAL)
  • HZSSAMCK (TXT, 40KB) - Sample check routine that includes the actual sample one-time check (HZS_SAMPLE_ONE_TIME) and the interval check (HZS_SAMPLE_INTERVAL)
  • HZSSAMMT (TXT, 19KB) - Sample message input to generate the message table for the sample check routines to use

Sample 2: A tutorial sample. This sample is similar to Sample 1, but it contains more extensive tutorial commentary. It is not provided as an executable sample.

Sample 2: tutorial sample

  • HZSSADCK (TXT, 49KB) - Tutorial 'add check' exit routine to add a check that runs one-time (HZS_SAMPLE_ONE_TIME) and a check that runs at an interval (HZS_SAMPLE_INTERVAL)
  • HZSSCHKP (TXT, 39KB) - Tutorial showing how to read and write data from the IBM Health Checker for z/OS persistent data in a check set using the HZSPREAD and HZSPWRITE macros
  • HZSSCHKR (TXT, 49KB) - Tutorial local check routine that includes the actual sample one-time check (HZS_SAMPLE_ONE_TIME) and the interval check (HZS_SAMPLE_INTERVAL)
  • HZSSMSGT (TXT, 5KB) - Tutorial message input to generate the message table for use by the sample check routines
  • HZSSRCHC (TXT, 68KB) - Tutorial showing how to parse input parameters for a check routine using the HZSCPARS macro
  • HZSSRCHK (TXT, 59KB) - Tutorial remote check routine that contains check HZS_SAMPLE_REMOTE_CHECK
  • HZSSXCHK (TXT, 60KB) - Tutorial REXX exec check routine that contains checks HZS_SAMPLE_REXXIN_CHECK and HZS_SAMPLE_REXXTSO_CHECK
  • HZSSXCHN (TXT, 60KB) - Tutorial REXX exec check routine that contains checks HZS_SAMPLE_REXXIN_CHECK and HZS_SAMPLE_REXXTSO_CHECK and demonstrates the use of the HZSFMSG DIRECTMSG service

IMS samples

Java COBOL interoperability samples

  • PTCBMAIN - PTCBMAIN contains the main OOCOBOL program
  • PTCOBHLW  - PTCOBHLW contains the COBOL native program
  • javaPerf.java  - javaPerf.java contains the java program
  • HELLOWD1  - HELLOWD1 contains the sql to create the helloWLDxx tables
  • COMPTHLW - COMPTHLW contains an example of the compile and DB2 bind
  • BCDPTC2J_JCL  - BCDPTC2J_JCL contains an example of the jzos job to run the helloworld application

Selected z/OS IPLPARM members

Selected z/OS PARMLIB members

Selected System z Platform Test policies

  • ARMPOL (TXT, 6KB) - ARMPOL contains our automatic restart management (ARM) policy.
  • CFRMPOL (TXT, 25KB) - CFRMPOL contains our coupling facility resource management (CFRM) policy.
  • LOGRPOL (TXT, 44KB) - LOGRPOL contains is our MVS system logger (LOGR) policy. Note:  This sample is a report that shows all of the LOGR policy parameters that we specified and the default values for the remaining parameters. It is not the policy itself. We make our policy updates and generate the policy report using JCL to call the IXCMIAPU utility.
  • SFMPOL(TXT, 1KB) - SFMPOL contains our sysplex failure management (SFM) policy.

VTAM samples

z/OS UNIX samples