Previous Topic

Next Topic

Book Contents

Book Index

Activating KeyStroke Language Scripts

he IOARKSL procedure activates KeyStroke Language scripts, either as a standard batch execution or as a started task.

KSL scripts can be activated at any time, even if the monitors are not active.

Standard batch execution example

//KSL      EXEC IOARKSL

//DAKSLPRM DD   *

parameters

//

The following are the basic DD statements you can use with the IOARKSL procedure.

Statement

Description

//DAKSLPRM DD

The script input parameters. Record length must be 80. Columns 73 through 80 are ignored.

//DAKSLOUT DD

A listing of all invoked command members and error and execution messages. When TRACE ON is activated, it contains a listing of all executed commands and screen images of all input and output screen functions performed during script execution.

//DAKSLREP DD

Script output.

//DACALL DD

Name of the library containing KSL script members (for the CALLMEM command). Multiple libraries can be concatenated.

Started task example

S IOARKSL,PARM='scriptname script-parameters'

Return codes for the IOAKRKSL procedure

Code

Description

0

Ended OK

8

Error in input parameters

12

Severe execution error

other

Generated by the script

Parent Topic

Using KeyStroke Language (KSL)