IBM Support

PI27919: COMMAND LINE INTERFACE (CLI) INVOKE WITH STRING ARGUMENT FAILS ON WINDOWS MACHINE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On a Microsoft Windows machine, using the following syntax to
    invoke a Worklight
    adapter function does not work:
    
    wl invoke adapterName:function '"stringParameter"'
    
    This works fine on Mas OS.  On Windows, the following syntax
    should be used:
    
    wl invoke adapterName:function \"stringParameter\"
    

Local fix

  • Adding a backslash (\) before each double quote (")
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers trying to invoke procedures using Worklight       *
    * Command Line Tools on Microsoft Windows.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The IBM Worklight Command Line Tools documentation of the    *
    * invoke command shows incorrect usage for Windows users.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The documentation was modified to show the proper usage of the
    invoke command that is applicable to all the operating systems.
    No further actions are needed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI27919

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-17

  • Closed date

    2014-10-30

  • Last modified date

    2014-10-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

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021