GENPREP is a more flexible alernative to the IBM ISPPREP program.

The added flexibility means that generic member names can be prepped (i.e. ASL* would prep all members of the input file whose names start with ASL).

Panels can be renamed when they are prepped by giving a generic outout member name. The generic name lengths must be the same size as each other. i.e. to rename all panels that star with ASL to be OLD use ASL* for the input member pattern and OLD* for the output member pattern.

Additionally you can filter members to only those that were last updated by a particular userid.

You can generate both a trace log and/or a regular log by selecting the appropriate options.

The GENPREP panel looks like:

The ASLGPP01 Panel

GENPREP uses the program UCBSUBR from file 634 of the CBT tape. This can be found here.

The user guide is available in PDF format from here.

To see a demonstration of GENPREP can be found on YouTube here.

 
 
  Step 1

Download the GENPREP Facility

The GENPREP facility is distributed as a binary XMI file.

Download the XMI file from here.
 
 
 
  Step 2

Upload the GENPREP Facility to the Target z/OS System

File transfer the XMI file downloaded in Step 1 up to the target z/OS system as a binary file. The XMI file must be transferred as a binary file otherwise the file will be corrupt.
 
 
 
  Step 3

RECEIVE the Transferred File

Issue the TSO RECEIVE command for the file that was transferred to the target system.

RECEIVE your.uploaded.file.XMI

 
 
 
  Step 4

Run the UNPACK member of the Received Dataset

The UNPACK member of the received dataset will extract the four datasets that comprise the GENPREP facility.

Follow the prompts issued by the UNPACK member and the ISPPLIB, ISPMLIB, LOADLIB and REXX  datasets and a PDF dataset will be allocated and populated with all of the required components.

To execute the UNPACK member either put an EX next to the member i.e.

Executing the UNPACK member
   Menu  Functions  Confirm  Utilities  Help                                    
 ------------------------------------------------------------------------------
 EDIT              ABBYDALE.GENPREP.PDS                      Row 00001 of 00012
 Command ===>                                                  Scroll ===> CSR 
            Name     Prompt       Size   Created          Changed          ID
 _________ $$$INDEX          
 _________ $$INFO            
 _________ $$INSTAL          
 _________ COPYRITE          
 _________ DISCLAIM          
 _________ ISPMLIB           
 _________ ISPPLIB           
 _________ LOADLIB           
 _________ README            
 _________ REXX              
 _________ UCBSUBR           
 EX        UNPACK            
           **End**  

Alternatively issue the execute as you would any other REXX exec. i.e.

TSO EX 'your.received.dataset(UNPACK)'

 
 
 
  Step 5

Read the $$INSTAL Member to Complete the Installation

The $$INSTAL member of the received dataset contains instructions of how to complete the installation of the GENPREP facility.

The implementation will differ depending on the site standards but essentially you need to make the ISPPLIB, ISPMLIB and REXX libraries available to the users.

Optionally you can make the UCBSUBR program available to the TSO user.
 
 
 
 

Notice About UCBSUBR

UCBSUBR is only used to check to see if a disk volume is online it really isn't needed if you are using only catalogued dataset. Even if you do use a volume serial number and UCBSUBR isn't installed the exec will still work by trying to allocate a temporary dataset on the volume. This is fine if the volume is online and you have access to it, however, if the volume isn't online the operator may have to reply to a WTO.
 

 
 


If you need any support or assistance with any of the code on this site
or
if you would like to contact us, please click here

follow us on facebook
Follow us on Facebook

 

Number of unique visitors 300

Copyright © Abbydale Systems LLC 2015-2024

Abbydale Systems LLC Lic. 802696149. All rights reserved.

Last modified : Tuesday 22nd of August 2023