Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
  • 1.  RDz UT JES output

    Posted Wed April 06, 2011 04:47 AM
    Hello !
    When running batchjobs in RDz UT I am missing in the output JES output the lines that shows the returncode for each step. On DemoMVS system it looks like this:

    01.45.19 JOB04342 ---- WEDNESDAY, 06 APR 2011 ----
    01.45.19 JOB04342 IRR010I USERID MS003 IS ASSIGNED TO THIS JOB.
    01.45.19 JOB04342 ICH70001I MS003 LAST ACCESS AT 01:15:24 ON WEDNESDAY, APRIL 6, 2011
    01.45.19 JOB04342 $HASP373 MS0031 STARTED - INIT 6 - CLASS A - SYS MVSA
    01.45.19 JOB04342 IEF403I MS0031 - STARTED - TIME=01.45.19
    01.45.20 JOB04342 - -TIMINGS (MINS.)-
    01.45.20 JOB04342 -JOBNAME STEPNAME PROCSTEP RC EXCP CPU SRB CLOCK SERV PG
    01.45.20 JOB04342 -MS0031 STP0000 COBOL 00 866 .00 .00 .01 3166 0
    01.45.20 JOB04342 -MS0031 LKED LINK 00 169 .00 .00 .00 621 0
    01.45.20 JOB04342 IEF404I MS0031 - ENDED - TIME=01.45.20

    On RDz UT it looks like this:

    01.35.05 JOB00295 ---- WEDNESDAY, 06 APR 2011 ----
    01.35.05 JOB00295 IRR010I USERID IBMUSER IS ASSIGNED TO THIS JOB.
    01.35.06 JOB00295 ICH70001I IBMUSER LAST ACCESS AT 01:27:09 ON WEDNESDAY, APRIL 6, 2011
    01.35.06 JOB00295 $HASP373 IBMUSER1 STARTED - INIT 1 - CLASS A - SYS SYS1
    01.35.06 JOB00295 IEF403I IBMUSER1 - STARTED - TIME=01.35.06
    01.35.09 JOB00295 IEF404I IBMUSER1 - ENDED - TIME=01.35.09
    01.35.09 JOB00295 $HASP395 IBMUSER1 ENDED

    Does anybody know how to get this in my job output in RDz UT ?

    Bo Nilsson
    bonils


  • 2.  Re: RDz UT JES output

    Posted Wed April 06, 2011 05:20 PM
    Hi Bo,

    I have just a few questions for you :
    What version of RDz UT are you running?
    What release of zPDT are you also running with?
    Can you also please verify that JMON is started as documented in the Rational Developer for System z Host Configuration Guide

    Thanks,
    Domingo
    SystemAdmin


  • 3.  Re: RDz UT JES output

    Posted Thu April 07, 2011 01:45 AM
    Hi Domingo !
    I use RDz UT 8.0.1 based on internal IBM:er (John Gates) images.
    I don't know the zPDT version - how do I find out that ?
    I will have to verify the JMON, it was already configures in the images, but I will check.

    Bo Nilsson
    bonils


  • 4.  Re: RDz UT JES output

    Posted Thu April 07, 2011 02:05 PM
    Hi Bo,

    You'd actually be looking for the version of z1090. Issuing the following Linux command would give you the version information for z1090 : z1090ver

    Thanks,
    Domingo
    SystemAdmin


  • 5.  Re: RDz UT JES output

    Posted Thu April 07, 2011 08:08 PM
    These messages come from the IEFACTRT SMF user exit. The DemoMVS has specified this exit in some SMFPRMxx member. To get this on your RDz system you would need to somehow get a similar exit installed.

    The zPDT version is not relevant.
    jacksone


  • 6.  Re: RDz UT JES output

    Posted Fri April 08, 2011 10:29 AM
    The difference here is the banners are generated by a couple of things that are not set up by default w/ the UT systems.

    To get job info in the JES output I think you need to:
    1) turn on SMF recording
    - change SMFPRMxx to say ACTIVE instead of NOACTIVE. I don't know which, if any record types need to be enabled, but if any do, I'd suspect it is type 30.
    - either Re-IPL or simply type on the system console SET SMF=xx where xx is the SMFPRMxx member suffix.

    2) You also need to have an exit IEFACTRT enabled and it must exist in LPA. There is one in SYS1.LPALIB already but I don't know what it does. If needed, I think that you can compile the sample in 'SYS1.SAMPLIB(IEEACTRT)' into USER,LPALIB. You an also just copy the one in use on your other system, LPA updaes also need a re-IPL or a console command to dynamically update LPA with the compiled module.

    A Google search for IEFACTRT will provide more info.
    RDz_Dave