Previous Topic: CA Disk JCL ProceduresNext Topic: Step 3. Customize JCL Procedures


Step 2. Modify Symbolic Parameters in JCL Procedures

Modify each JCL procedure manually using ISPF edit or any other editor. Two utilities are provided in the Installation library that lets you edit globally the JCL procedures. The following utilities and macros are available:

PROCUNLD

To unload the procedures into a sequential file in IEBUPDTE format, use PROCUNLD against your procedure library. To modify and change the procedures, use ISPF edit or another editor. For example, to change the first and second-level qualifiers of your CA Disk target libraries, you can use the following ISPF edit command:

CHANGE CA.DISK TO SYS2.CA.DISK ALL

You can also use the PROCLIB Customization Wizard – the CUSTPROC Edit Macro which helps you customize the unloaded Proclib.

PROCRELD

To reload the tailored procedures in your target procedure library, use PROCRELD against your procedure library.

CUSTPROC

To make a mass change of the sequential file the PROCUNLD utility produces, use CUSTPROC. CUSTPROC, also named the CA Disk PROCLIB Customization Wizard, is in the DMSCLIB library that SMP/E loaded. To use the CLIST as an Edit Macro, include it in a library in your SYSPROC concatenation. If you load the CLIST before installing the DMSCLIB data set, copy CUSTPROC into the //SYSPROC concatenation. The Wizard also requires the use of several panels in the CA Disk Panel Library. You can include the library in your default Panel library concatenation. You can also supply it when the Wizard requests the library name.

To invoke the Wizard, enter CUSTPROC in the command line of an active edit session of the procedures that PROCUNLD unloads. The Wizard displays an ISPF panel. Type values in the fields to replace the current values for the following fields:

Rules for PROCLIB Customization Wizard

Observe the following about the PROCLIB Customization Wizard:

Type CANCEL in the command field and press the Enter key if you decide that you do not want to proceed with the customization at this time. If you press the END key, you will be prompted to confirm you are leaving the dialog.

Once you have filled in the fields with the values you desire, type GO and press the Enter key. That will start scanning the procedures and make the requested changes. The following is a sample illustration of a filled in panel.

SETUP ------------------ PROCLIB Customization Wizard -------------- CA Disk --

Command ===>

Enter GO to start processing or CANCEL to exit without making changes.

More: +

PROC Parameters:

Q= . . . . . CAI.DISK

P= . . . . . CAI.DISK.CCUWJCL

DCUS= . . . CAI.DISK.ADRRSPNN

DCAI= . . . CAI.DISK.ADRRSPNN

S= . . . . . * W= . . . . . SYSDA

CA Datacom/AD Library Names:

CUSLIB . . . &DCUS..CUSLIB

CAILIB . . . &DCAI..CAILIB

Enter "/" to select option

/ Include CA Datacom/AD Libraries in STEPLIB Concatenation

STEPLIB Library Names:

. . . &Q..LOADLIB

. . .

. . .

. . .

. . .

. . .

PARMLIB Library Names:

. . . &Q..CCTUPARM

. . .

. . .

. . .

MFILES Data Set Names:

. . . &Q..FILES1

. . . &Q..FILES2

. . . &Q..FILES3

. . .

. . .

. . .

. . .

. . .

. . .

. . .

. . .

. . .

. . .

. . .