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)
Historical Number
337932135
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1016102