IBM Support

HD24315: MANDATORY DISPLAY USING CNEXT -BATCH -MACRO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • MANDATORY DISPLAY USING CNEXT -BATCH -
    MACRO.
    .
    Scenario:
    01  launch a CNEXT process in batch e.g.   at -f
    test.sh  22:00 where CNEXT contains CNEXT -
    batch -macro Macro1.CATScript: macro1.CATScript
    builds an empty product
    02  Log off
    03  CNEXT process is launched at 22:00
    --> however it is still frozen until somebody logs on
    the workstation (no display).
    .
    

Local fix

Problem summary

  • MANDATORY DISPLAY USING CNEXT -BATCH -MACRO
    MANDATORY DISPLAY USING CNEXT -BATCH -
    MACRO.
    .
    Scenario:
    01  launch a CNEXT process in batch e.g.   at -f
    test.sh  22:00 where CNEXT contains CNEXT -
    batch -macro Macro1.CATScript: macro1.CATScript
    builds an empty product
    02  Log off
    03  CNEXT process is launched at 22:00
    --> however it is still frozen until somebody logs on
    the workstation (no display).
    .
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON CATIA VERSION
    5 RELEASE 15 GA level.
    NOTE THAT THIS PROBLEM WILL ALSO BE FIXED
    ON V5R14GA AND ON V5R13SP06 AND V5R12SP08.
    .
    Incident Diagnosis
    MANDATORY DISPLAY USING CNEXT -BATCH -
    MACRO. The process hangs when no display is
    available.
    .
    Correction Explanation
    The reason was that the scripting infrastructure
    uses the V5 event loop that relies on X Server calls
    needing a DISPLAY.
    .
    Answer and By-Pass
    Now a new batch mode is available by exporting
    the CATSysForceBatchMode environment
    variable. In this mode, "CNEXT -batch -macro"
    does not need any DISPLAY to launch the
    macro.
    Note that we cannot guarantee that all macros can
    work correctly in this mode, since some
    Automation methods implementation may require
    an available DISPLAY.         513
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD24315

  • Reported component name

    CATIA VERSION 5

  • Reported component ID

    569101000

  • Reported release

    512

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2004-06-25

  • Closed date

    2004-07-12

  • Last modified date

    2009-06-24

  • 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

    CATIA VERSION 5

  • Fixed component ID

    569101000

Applicable component levels

  • R512 PSN

       UP

  • R513 PSN SP51306

       UP04/09/08 N 1000

  • R514 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"512","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 June 2009