•
•
•
• Debug mode — with a regular expression (regexp) describing the functions to debug, for example -d "m_FileLoad" to debug the m_FileLoad function.The job name — the name of the script to be launched without the .ksh extension.
A COBOL runtime, runb, is provided to initialize the execution context of a user Cobol program before the call for its execution. This runtime is used instead of the standard Cobol runtime.Using the -t argument, it is possible to run the KSH script without executing the internal functions. The -t argument allows a script to be checked (for example a newly-developed script) and verify the chaining of the different phases.
• where name is the name of an executable file and option is a string of one of the following two types: noargletter . . . or argletter optarg [, . . .]
RC indicates a return code.STEP.RC indicates that the expression tests a return code for a specific STEP.Operator indicates the operator used for the conditional expression (GT, LT, EQ etc.).ABEND indicates an abend condition occurred.ABENDCC indicates a system or user completion code.
Note: m_FileAssign assigns a file. If assigning a file triggers the creation of a file, the creation process precedes the assign itself.
• New files (DISP=NEW parameter).
• Override files (file override in the JCL); a specific assign function m_FileOverride is used. This function call is implanted in each STEP required, before the execution of the program.
• In the case where a file assign contains a DISP=NEW,DELETE,DELETE parameter, a delete process is added to the end (normal and abnormal) of the step.
•
• For the DISP=MOD option, the write to the file is made in a temporary intermediary file, then by a copy in Extend on the original file.
This option indicates what to do with a data set when a step ends normally. The possible values are:m_FileBuild -t <type> -r <record length> [-k <primary key] [-K secondary key] >filename>m_FileClrData is used to clear a file.m_FileDelete is used to delete a a file.m_FileEmpty is used to check whether a file is empty.m_FileExist is used to check whether a file is present.m_FileOverride overrides a file assignment, this assign has priority over a standard assign (m_FileAssign).m_FileRename is used to rename a file.m_GenCommit commits a generation file.m_GenDefine -s --nb_occurs <GDG base name>The name of the GDG base for which the maximum number of generations is being defined.m_GenRollback [GDG base name]
•
•
•
• -p priority-r restart-t typrunCOPY – Copy the job directly in an output stream to sysout.HOLD – The system should hold the job.JCLHOLD – JES2 should hold the job.SCAN – Scan JCL for syntax errors only.-v version-s start_labelm_OutputAssign — manages DD SYSOUT statements with the following parameters: CLASS, COPIES, DEST, FORMS and HOLD.[-H <Y/N>] [-o <reference[,reference,..]>] [-D dsname] ddname-H<Y/N>m_OutputSet — manages the "OUTPUT JCL" statement with the following parameters: CLASS, COPIES, DEST, FORMS and PRIORITY.m_ProcBegin ProcedureNamem_ProcInclude ProcedureNamePARM=MT5 on z/OS becomes "MT5" on targetPARM=(MT5,MT6) on z/OS becomes "MT5,MT6" on targetPARM='S=MT5' on z/OS becomes "S=MT5" on targetPARM='5 O''CLOCK' becomes "5 O'CLOCK"'&&TEMP' becomes "&TEMP"m_SymbolDefault — Assigns a value to a symbol.