
SETRC (Set the job step return code) - IBM
Use the SETRC function to set the job step return code to a specified value. Use conditional parameters to set the return code based on an existing return code value. Defines the numeric value that the job step return code is set to.
Return Code Setting by Job Control - IBM
It is also possible to have return codes set by job control itself. Both parameters require a decimal value n in the range of 0 through 4095 (inclusive). The SET parameter RC=n sets the last return code ($RC) to the specified decimal value. It also updates the maximum return code ($MRC) if it is not set or less than the specified value.
How to change the return code of a step? - IBM Mainframe …
2005年11月30日 · //setrc set rc='2' you are setting a variable named RC equal to the value 2. You can then use this variable somewhere in the JCL, and the value you specified in your SET statement will be substituted:
How to set Return code of a JCL step to Zero - IBM Mainframe …
2005年7月7日 · 1) divide your steps in two jcl 2) try(but you must to know how many dd can you allocate with your profile) to use a rexx code to call your program and then set the EXIT RC as you need. Back to top
COBOL语言总结(三)--JCL扩展 - CSDN博客
2025年3月15日 · 一个jcl作业必须包含的语句:1.job语句:作业语句。 该语句标志着一个作业的开始,并提供该作业执行时所必要的一些运行参数。 2.EXEC语句:执行语句。
作业控制语言(JCL) 笔记 - CSDN博客
2024年12月19日 · JCL 是一种专门用来描述和控制作业(也就是任务)执行的语言,它帮助你告诉计算机要做哪些事情,并按照你指定的顺序来执行。简单来说,它就像一个“命令清单”或者“任务管理者”,指导计算机完成特定的工作。_jcl是什么语言
How to set return code of whole job to 0 ? - JCL - IBM Mainframe …
2015年1月2日 · JCL cannot set the RC for the entire job. It can only set it for the current step within a job. You cannot retroactivly modify the RC of a previous step.
Examples of the SET statement - IBM
The symbolic parameters are defined and initialized to the values shown on SET statement SETB. They are referenced by coding &AA, &BB, and &CC in the JCL, for example: //SETB SET AA=BETA.PGM.RATE,BB=DCLAS03, // CC=(NEW,KEEP) . . //PR3 PROC ... //S3 EXEC PGM=...
JCL的简单学习 - artificerpi - 博客园
2015年6月24日 · JCL (Job Control language)作业控制语言,主要用来定义和控制执行程序来得到想要的输出结果。 JCL由多个步骤组成,每个步骤都有明确的任务。 JCL可以含多步并且至255步。
JCL - 过程 | JCL 教程
SET 语句 用于定义跨作业步骤或过程的常用符号。 它初始化符号名称中先前的值。 它必须在 JCL 中第一次使用符号名称之前定义。 让我们看一下下面的描述,以更多地了解上面的程序: SET 参数初始化 DSNM1=INPUT1 和 DSNM2=OUTPUT1。 当在 JCL 的 JSTEP1 中调用 INSTPRC1 时,DSNM1=MYDATA.URMI.INPUT1 且 DSNM2=OUTPUT1。 即,SET 语句中初始化的值将重置为任何作业步骤/过程中设置的值。