Simple
JeL
Execution
This section lists the execution macros and gives examples on how to
create and run a JCL file.
Creating
a
JCL
File
A JCL file contains characters normally available from the keyboard
(ASCII characters).
There are several ways to create a JCL file: the BUILD library
command lets you create or extend a JCL file, but it does not let you
edit an existing file. You can create and edit a JCL file with a BASIC
program. A word processing system, such as SCRIPSIT, will also let
you create or edit a JCL file.
Restrictions of
JCL
• A JCL file line cannot be longer than 79 characters. Depending on
the JCL method used (execute only or compile),
JCL
either ignores
all characters after the 79th or aborts the processing entirely.
• Any program or utility with unpredictable prompts will not function
properly when run from a JCL file.
• Any program or utility which requires removing the system disk
causes the JCL to abort.
• You cannot execute certain TRSDOS library commands and utilities
from a
JCL
file. The commands and utilities NOT valid from a
JCL
file
are:
certain BACKUP commands, BUILD, certain CONV
commands, all (X) commands, DEBUG, certain PURGE
commands, SYSGEN, and SYSTEM (SYSTEM
=)
command.
• As a general rule, you should not use a library command or utility
when you specify the QUERY parameter.
A-4