IBM Support

PI55063: RDZ API IJESJOBUTIL.GETJOBCONTENTS RETURNS NULL FOR SYSSPRT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for System z - RDz - v8.5.1.6, API
    IJESJobUtil.getJobContents returns NULL for SYSSPRT DD.
    
    Steps to reproduce
    
    - import RDZ API samples into RDz 8.5.1.6
    - modify com.ibm.ftt.api.samples.resources.SubmitAndWaitAction
      and add the following method and call in run() method
    
    private void getContent(String jobId, JesJobUtil jobUtil) {
        try {
    ....+....|....+....|....+....|....+....|....+....|....+....|...
            System.out.println("printing DD SYSTSPRT");
            InputStream instream = jobUtil.getJobContents(jobId,
                                                       "SYSTSPRT");
            BufferedReader in = new BufferedReader(new
                                      InputStreamReader(instream));
            String output = in.readLine();
    
            if (output == null)
                System.out.println("SYSTSPRT is null");
            while (output != null) {
                System.out.println(output);
                output = in.readLine();
            }
        } catch (OperationFailedException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    
    }
    
    - run it as an Eclipse application and observe message
    "SYSTSPRT is null" is console log.
    

Local fix

  • Problem is already fixed in RDz client version 9.0.1.4.
    

Problem summary

  • RDz API IJESJobUtil.getJobContents returns NULL for SYSSPRT
    

Problem conclusion

  • Need to fix the issue in RDz API IJESJobUtil.getJobContents when
     a DD name (e.g. SYSTSPRT) is specified and it returns NULL.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.5.1.7 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI55063

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-08

  • Closed date

    2016-09-30

  • Last modified date

    2016-09-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R851 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PI55063

Modified date: 30 September 2016