Syntax
This section describes the command line syntax for the z/OS scripting version of the Application Client Resource Configuration Tool (ACRCT). The ACRCT scripting tool for z/OS allows you to:
When you use the ACRCT scripting tool, you may specify:
The command line invocation syntax for the ACRCT scripting tool follows. When you have a choice of one required keyword, those keywords appear within brackets [].
acrct -earfile earfile [-define | -delete] [-provider | -resource] [-f inputfile | key=value]
acrct -list [-provider | -resource] [-f inputfile | -p key=value]
acrct -help
Parameters
where:
Rules:
Example: Suppose you invoke the scripting tool, passing this input:
/WebSphere/V5R0M0/AppServer/bin:>acrct -earfile usr/lpp/myapps/applclient2.ear -define -provider providername='WebSphere JMS Provider'
The response is an error message along with an echo of the input string that the shell receives, followed by the input string as the scripting tool will process it:
-earfile usr/lpp/myapps/applclient2.ear -define -provider providername=WebSphere JMS Provider String to be parsed by the Scripting Tool: -earfile usr/lpp/myapps/applclient2.ear -define -provider providername=WebSphere JMS Provider Ear file is missing or is improperly specified. Invalid syntax: -earfile usr/lpp/myapps/applclient2.ear -define -provider providername=WebSphere JMS ProviderAs you can see from the response, the shell has stripped off the single quotes, and passes invalid input to the scripting tool. To correct the problem, you need to use double quotes.
Example
The following examples demonstrate correct syntax: