Previous Topic Next topic Print topic


Installing the application on the mainframe

To run through the mainframe tutorial, you first need to install some demo files on your mainframe. These files are delivered in an XMIT file, containing the source files and workflow model required to run the tutorial.

  1. Create s mainframe dataset before transferring the XMIT file to the mainframe:
    1. Use the following job step to pre-allocate a ++HLQ++.EDTE.BANKDEMO.DOWNLOAD.XMIT dataset in your the mainframe:
      //ALLOC1 EXEC PGM=IEFBR14 
      //FTPALLOC DD DSN =++HLQ++.EDTE.BANKDEMO.DOWNLOAD.XMIT,
      //            DISP=(NEW,CATLG,DELETE),
      //            DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120,DSORG=PS),
      //*           VOLSER=vvvvvv,UNIT=SYSDA, 
      //            SPACE=(CYL,(30,5))
      

      Where ++HLQ++ will be the high level qualifier you have chosen for the installation.

    2. Add a job card before submitting the job, if necessary.
    3. Optionally, add a valid VOLSER and change the UNIT parameter.
  2. Transfer the MFI01.EDTE.BANKDEMO.DOWNLOAD.XMIT XMIT file to your z/OS system:
    Note: This file is available in a .zip file, located in the Examples and Utilities section for Enterprise Developer for IBM zEnterprise, available on the Micro Focus SupportLine website ( http://supportline.microfocus.com/examplesandutilities/index.asp).
    1. Download the .zip file and extract it into a folder on your machine.
    2. Use FTP to transfer the file onto the mainframe and specify LRECL=80 and BLKSIZE=312 in the FTP command. This should looks similar to the following:
      QUOTE SITE RECFM=FB LCRECL=80 BLKSIZE=3120  WRAP
      PUT MFI01.EDTE.BANKDEMO.DOWNLOAD.XMIT   '++HLQ++.EDTE.BANKDEMO.DOWNLOAD.XMIT'
  3. Execute a TSO RECEIVE command on the XMIT file. If you do not specify another name in the RECEIVE command, a default dataset of MFI01.EDTE.BANKDEMO.PDS.XMIT is created.

    Alternatively, you can use the following JCL to RECEIVE the file replacing ++HLQ++ with your standard high level qualifier:

    //JOBCARD  JOB NNNN,CLASS=A,MSGCLASS=X
    //STEP1    EXEC PGM=IKJEFT01
    //SYSPRINT DD   SYSOUT=*
    //SYSTSPRT DD   SYSOUT=*
    //SYSTSIN  DD   *
     RECEIVE INDSNAME('++HLQ++.EDTE.BANKDEMO.DOWNLOAD.XMIT') NONAMES
     DATASET('++HLQ++.EDTE.BANKDEMO.PDS.XMIT')
    /*
Previous Topic Next topic Print topic