IBM Support

IBM WebSphere Application Server (WAS) WSADMIN JACL Script Fails with WASX7017E

Troubleshooting


Problem

IBM WebSphere Application Server (WAS) WSADMIN utility produces a WASX7017E error message when trying to run a jacl/jython script.

Diagnosing The Problem

WSADMIN produces the following message when trying to run a jacl/jython script:

WASX7017E - Exception received while running file "/scripts/StrAppAQ.jacl"; exception information: com.ibm.bsf.BSFException: error while evaluating Jacl expression: missing close-bracket.

Resolving The Problem

Ensure the jacl/jython script file has a Coded Character Set Identifier (CCSID) of 819 or 1252. The IBM WAS WSADMIN tool expects all files/scripts to have a CCSID attribute of 819 (ASCII) or 1252 (ANSI).

You can use WRKLNK Option 8 to display the attributes of the script on the IBM i. If the CCSID is something other than 819 or 1252, you can use the CPY CL command to convert the CCSID of the script to 819. i.e. CPY OBJ('/script.py') TOOBJ('/script_CCSID_819.py') TOCCSID(819)

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

337932135

Document Information

Modified date:
18 December 2019

UID

nas8N1016102