The following is a summary of the available script commands from chapter 6 of the users guide. Over and above the list below you can now use the utility to client connect to multiple queue managers simultaneously.
6. Script command summary.
The following list is a summary of the available commands. The commands and their parameter elements are discussed in detail in section “7. Script Commands and Parameters”.
6.1 Variable Declaration Commands.
• <Num> Declare and set the value of an integer variable.
• <Double> Declare and set the value of a floating point variable.
• <Str> Declare and set the value of a string variable.
• <List> Delcare and set the values of a series of <ListElement>’s.
• <RandomNum> Declare and set the value of a numeric variable to a random number
• <MQMD> Declare and set the supported values of an MQMD control block
• <RFH2> Declare and set the supported values of an RFH2 control block
6.2 Buffer Manipulation Commands.
• <GetFile> Read a file into a buffer.
• <PutFile> Write the contents of a buffer into a file.
• <InlineData> Load inline data into a buffer.
• <Overlay> Overlay the buffer with the specified data.
• <Extract> Extract buffer data into a named variable
• <Substring> Retrieve a substring from a variable
• <GetMsg> Get a message from an MQ queue into a buffer.
• <PutMsg> Put the contents of a buffer onto an MQ queue as a message.
• <Compare> Compare the contents of a buffer with a file.
6.3 Wait Commands.
• <WaitOnMsgDepth> Wait until an MQ queue reaches a specified depth.
• <WaitOnTime> Wait for a specified number of seconds, milli-seconds or until a specified time has been reached.
6.4 Flow Control Commands.
• <For> Perform the commands within the <For> loop a specified number of times.
• <ForEver> Loop until a <BreakOnRC> exits
• <ForEach> Iterate through the contents of a <List>
• <Finally> Script execution resumes here in the event of a command failure
6.5 System Command.
• <System> Call the operating system to execute a command.
6.6 Interval Commands.
• <IntervalStart> Signifies the starting point of an interval.
• <IntervalEnd> Signifies the ending point of an interval.
6.7 User Input and Output Commands.
• <UserLog> Write information to the user log file.
• <StdIn> Read information from the console.
• <StdOut> Write information to the system console.
6.8 Maths Commands.
• <Add> Add a value to a <Num> or <Double> variable.
• <Subtract> Subtract a value from a <Num> or <Double> variable.
• <Multiply> Multiply a <Num> or <Double> variable by a value.
• <Divide> Divide a <Num> or <Double> variable by a value.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum