Mainframe Modernization Jobs

The following topic describes job attributes that work with mainframe modernization platforms and services.

Micro Focus Job

Micro Focus is a platform that enables you to run Job Control Language (JCL) files on mainframe environments on UNIX/Linux or Windows.

Attribute

Description

Connection Profile

Determines the authorization credentials that are used to connect Control-M to Micro Focus on UNIX/Linux or on Windows.

Rules:

  • Characters: 1−30

  • Case Sensitive: Yes

  • Invalid Characters: Blank spaces.

JCL Filename

Defines the JCL job stream filename to execute.

A job stream is a sequence of JCL statements and data the form a single unit of work for an operating system.

PDS

Defines the Partitioned Data Set (PDS) and its members for Mainframe Subsystem Support (MSS).

A PDS is a computer file that contains multiple data sets, which are called members. MSS is a program that enables JCL applications to be migrated from a mainframe and maintained, developed, and run on Windows or UNIX/Linux platforms.

Enable JCL Variables

Determines whether to enable JCL variables.

This option must be checked if the JCL job stream needs JCL variables, or if it needs additional variables that are defined in the field below.

Additional Variables

Defines the environment variables that the Micro Focus Batch Scheduler Integration JCL (MFBSIJCL) needs to submit the JCL job stream.

To submit the Control-M variable ODATE to the JCL job stream, you define the variable in the following format:
export PDS=XXX&&export MYVAR=YYY

Restart on Rerun

Determines whether to rerun a JCL job stream from (and to) a specific step that you define in the following attributes.

A JCL job stream contains one or more programs. Each program execution is called a job step, or step.

You can initiate a rerun from the Monitoring domain as long as a job stream has not been hard-killed.

From Step/Proc

Determines which step the JCL job stream rerun starts from, which enables you to define the range of steps in the JCL job stream that is rerun.

To rerun the JCL job stream from STEP2:PSTEP(1), write the following script:
mfbsijcl /jrestart:1234567#fSTEP2:PSTEP(1)

To Step/Proc

Defines which step the JCL job stream rerun ends on, which enables you to define the range of steps in the JCL job stream that is rerun.

To restart to STEP4(1):PSTEP(2), write the following script:
/jrestart:1006#fSTEP2(3):PSTEP(1)

#tSTEP4(1):PSTEP(2)

Recapture ABEND Codes

Determines how to handle abnormal end (ABEND) codes, which call attention to a software or hardware error, from a previous JCL job stream run, as follows:

  • Ignore: Ignores previous ABEND codes in the JCL job stream rereun.

  • Use Previous ABEND Codes: Uses previous ABEND codes in the JCL job stream rereun.

  • Do Not Use Previous ABEND Codes: Does not use previous ABEND codes in the JCL job stream rereun.

  • Reset to RC=0: Resets the return code (RC) to RC=0, which indicates a successful JCL job stream execution.

Recapture COND Codes

Determines how to handle condition (COND) codes from a previous JCL job stream run, as follows.

  • Ignore: Ignores previous COND codes in the JCL job stream rereun.

  • Use Previous Run COND Codes: Uses previous COND codes in the JCL job stream rereun.

  • Do Not Use Previous Run COND Codes: Does not use previous COND codes in the JCL job stream rereun.

  • Reset to RC=0: Resets the return code (RC) to RC=0, which indicates a successful JCL job stream execution.

Auto Adjust Restart

Determines whether to automatically adjust the specified From Step/Proc step if an earlier step is bypassed and must be run to successfully rerun a later step in the JCL job streams, as follows:

  • Ignore

  • Yes

  • No

Step-Specific Condition Codes

Defines changes to step condition codes and their values in the JCL job stream rerun.

#cSTEP20(3):PSTEP10(2):1

Set MF_UCC11

Determines how to enable the UCC11 environment variable, which affects JCL job stream restart functionality, as follows:

  • Ignore

  • Yes: Enables the JCL job stream restart functionality, which identifies the data set as NEW, even if it already exists. This prevents the job from failing if it encounters an already cataloged data set, when this would otherwise cause it to fail.

  • No: Disables the JCL job stream restart functionality. If a data set already exists, the job fails.

  • MOD: Any data set that is identified as new is re-identified as modified, which enables you to append new data to the current data set.

Advanced Restart Parameters

Defines the advanced restart parameters to add to the rerun JCL job stream.

To add a restart parameter that resets any step that ended abnormally in a previous run to RC=0, and that maintains the same condition code from the previous run, write the following script:
/jrestart:1006#fSTEP2(3):PSTEP(1)#tSTEP4(1):PSTEP(2)#kRY

Rerun Job ID

Defines the Job ID for the JCL job stream to rerun.

You can find the Job ID in the Submit Job step where the JCL job stream was first executed in one of the following Micro Focus platforms:

  • UNIX/Linux: Micro Focus Visual COBOL

  • Windows: Micro Focus Enterprise Developer

Restart with Modified JCL

Determines whether to rerun the JCL job stream with the modified JCL job stream file, as follows:

  • No

  • Yes

Modified JCL Path and Filename

Defines the full path and filename of the modified JCL job stream file.