IBM Support

PH56645: USING DBB JOBEXEC.SAVEOUTPUT API WITH AN UNKNOWN TARGET ENCODINGRESULTS IN AN EMPTY OUTPUT FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as duplicate of another APAR.

Error description

  • In Dependency Base Build (DBB) version 2.0.1, using
    JobExec.saveOutput(ddname, output, sourceEncoding,
    targetEncoding) API, if the targetEncoding does not exist or is
    unknown, no error is reported and an empty output file is
    created.
    
    
    Here is an example when the target encoding is unknown:
    
    jobExec.saveOutput("SYSUT2", new
    File("/u/user/dbb/testJobExecOutput.txt"), "IBM-1047", "abcd")
    

Local fix

  • Verify and use the correct target encoding in the API after
    running the "iconv -i" (without quotes) command on the target
    system.
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • Closed as duplicate of cumulative APAR PH58193
    

APAR Information

  • APAR number

    PH56645

  • Reported component name

    DEPEND BASED BU

  • Reported component ID

    DBBZOS000

  • Reported release

    200

  • Status

    CLOSED DUB

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-08-30

  • Closed date

    2024-01-31

  • Last modified date

    2024-01-31

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6T76","label":"IBM Dependency Based Build"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"200","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
31 January 2024