//PCG6601B JOB (ACCOUNT,NUMBER),'NAME', // MSGCLASS=X,REGION=4M //*-------------------------------------------------------------------* //* * //* STERLING GENTRAN:BASIC - VERSION 6.6.0.1 * //* * //* LICENSED MATERIALS - PROPERTY OF IBM * //* * //* (C) COPYRIGHT IBM CORP. (1988, 2011) ALL RIGHTS RESERVED * //* * //* US GOVERNMENT USERS RESTRICTED RIGHTS - USE, DUPLICATION OR * //* DISCLOSURE RESTRICTED BY GSA ADP SCHEDULE CONTRACT WITH IBM CORP. * //* * //*-------------------------------------------------------------------* //* * //* PCG6601B - UNLOAD FILES FROM PRODUCT UPLOAD FILE * //* * //*-------------------------------------------------------------------* //* * //* THIS JOB IS TO BE USED WHEN INSTALLING THE PRODUCT FROM EITHER A * //* CD-ROM OR FROM THE INTERNET. * //* * //* PCG6601A MUST RUN BEFORE THIS JOB TO ALLOCATE THE UPLOAD FILE. * //* NEXT THE UPLOAD FILE MUST BE FTP'D FROM THE PC. * //* * //* AFTER THIS JOB HAS FINISHED, YOU HAVE ALL THE SEQUENTIAL FILES * //* AVAILABLE TO COMPLETE THE INSTALLATION PROCESS. * //* * //*-------------------------------------------------------------------* //* TO CUSTOMIZE THIS JCL FOR YOUR INSTALLATION PERFORM THE FOLLOWING //* STEPS: //* 1. ADD THE APPROPRIATE JOB CARD //* 2. CHANGE "UNIT=DISK" TO AN APPROPRIATE UNIT USED AT //* YOUR INSTALLATION //* 3. IF YOUR INSTALLATION USES SMS TO ALLOCATE DATA SETS, //* YOU DON'T NEED TO CHANGE THE "XXXXXX" VOLUME SERIAL //* NUMBER SPECIFIED IN THIS JCL. SMS WILL IGNORE IT. //* //* OTHERWISE, YOU SHOULD CHANGE IT TO THE VOLUME SERIAL //* NUMBER WHERE YOU WANT TO ALLOCATE THE TEMPORARY PDS //* DATA SET. IF YOU WANT TO CONTROL WHERE THE OTHER DATA //* SETS ARE ALLOCATED, YOU SHOULD ALSO APPEND THE VOLUME //* PARAMETER TO THE DSNAME PARAMETER (AS SHOWN HERE) TO //* EVERY DATA SET EXCEPT THE TEMPORARY PDS. //* //* DSNAME('GENTRAN.V6601.GPL.*.*') VOLUME(XXXXXX) //* //* 4. CHANGE THE DATA SET NAMES TO MATCH YOUR INSTALLATION'S //* INTERNAL REQUIREMENTS. THE FOLLOWING LIST SHOWS THE //* HIGH LEVEL PORTION OF THE NAME THAT SHOULD BE CHANGED: //* //* "GENTRAN.V6601.GPL.UPLOAD" FOR THE UPLOAD FILE THAT //* CONTAINS THE PRODUCT FTP. //* "GENTRAN.V6601.GPL.TEMP" FOR TEMPORARY FILES THAT //* ARE DELETED AT EOJ. //* INPUT FILE FROM FTP: //* GENTRAN.V6601.GPL.UPLOAD.GPL6601 //* //* IF YOU CHANGED THIS DATASET NAME IN PCG6601A, IT MUST ALSO BE //* CHANGED IN THIS JOB TO MATCH. //* //* TEMPORARY FILES DELETED WHEN JOB FINISHES: //* GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG //* GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS //* //* PRODUCT FILES USED BY LATER INSTALL JOBS: //* GENTRAN.V6601.GPL.BATCH.LOAD //* GENTRAN.V6601.GPL.CICS.LOAD //* GENTRAN.V6601.GPL.README //* GENTRAN.V6601.GPL.UTILITY.SOURCE //* //*-------------------------------------------------------------------* //* //********************************************************************* //* GPL01 - DELETE EXISTING FILES //********************************************************************* //* //GPL01 EXEC PGM=IDCAMS,COND=(0,LT) //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS DELETE GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG DELETE GENTRAN.V6601.GPL.BATCH.LOAD DELETE GENTRAN.V6601.GPL.CICS.LOAD DELETE GENTRAN.V6601.GPL.UTILITY.SOURCE DELETE GENTRAN.V6601.GPL.README SET MAXCC=0 //* //********************************************************************* //* GPL02 - ALLOCATE TEMPORARY DATA SET //********************************************************************* //* //GPL02 EXEC PGM=IEFBR14,COND=(0,LT) //PDS DD DSN=GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS, // DISP=(NEW,CATLG,CATLG), // UNIT=DISK, // SPACE=(CYL,(75,10,50)), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=0),DSNTYPE=PDS //* //********************************************************************* //* GPL03 - UNCOMPRESS FILE FROM FTP UPLOAD //********************************************************************* //* //GPL03 EXEC PGM=IKJEFT01,REGION=3M,DYNAMNBR=30,COND=(0,LT) //SYSPROC DD DSN=SYS1.LINKLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INPUT DD DSN=GENTRAN.V6601.GPL.UPLOAD.GPL6601, // DISP=SHR //SYSTSIN DD * PROFILE NOPREFIX RECEIVE INDDNAME(INPUT) + LOGDATASET('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG') DSNAME('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS') //* //********************************************************************* //* GPL04 - COPY BATCH LOAD LIBRARY //********************************************************************* //* //GPL04 EXEC PGM=IKJEFT01,REGION=3M,DYNAMNBR=30,COND=(0,LT) //SYSPROC DD DSN=SYS1.LINKLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INPUT DD DSN=GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS(BTCHLOD), // DISP=SHR //SYSTSIN DD * PROFILE NOPREFIX RECEIVE INDDNAME(INPUT) + LOGDATASET('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG') DSNAME('GENTRAN.V6601.GPL.BATCH.LOAD') //* //********************************************************************* //* GPL05 - COPY CICS LOAD LIBRARY //********************************************************************* //* //GPL05 EXEC PGM=IKJEFT01,REGION=3M,DYNAMNBR=30,COND=(0,LT) //SYSPROC DD DSN=SYS1.LINKLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INPUT DD DSN=GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS(CICSLOD), // DISP=SHR //SYSTSIN DD * PROFILE NOPREFIX RECEIVE INDDNAME(INPUT) + LOGDATASET('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG') DSNAME('GENTRAN.V6601.GPL.CICS.LOAD') //* //********************************************************************* //* GPL06 - COPY UTILITY SOURCE LIBRARY //********************************************************************* //* //GPL06 EXEC PGM=IKJEFT01,REGION=3M,DYNAMNBR=30,COND=(0,LT) //SYSPROC DD DSN=SYS1.LINKLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INPUT DD DSN=GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS(UTILSRC), // DISP=SHR //SYSTSIN DD * PROFILE NOPREFIX RECEIVE INDDNAME(INPUT) + LOGDATASET('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG') DSNAME('GENTRAN.V6601.GPL.UTILITY.SOURCE') //* //********************************************************************* //* GPL09 - COPY README //********************************************************************* //* //GPL09 EXEC PGM=IKJEFT01,REGION=3M,DYNAMNBR=30,COND=(0,LT) //SYSPROC DD DSN=SYS1.LINKLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INPUT DD DSN=GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS(README), // DISP=SHR //SYSTSIN DD * PROFILE NOPREFIX RECEIVE INDDNAME(INPUT) + LOGDATASET('GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG') DSNAME('GENTRAN.V6601.GPL.README') //* //********************************************************************* //* GPL55 - DELETE TEMPORARY DATA SETS //********************************************************************* //* //GPL55 EXEC PGM=IDCAMS,COND=(0,LT) //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE GENTRAN.V6601.GPL.TEMP.PCGPLPD2.PDS DELETE GENTRAN.V6601.GPL.TEMP.PCGPLPD2.LOG //