OSJOB - syncsort_cobol_migration_manager - syncsort_clone_center - syncsort_space_recovery_system - syncsort_scc_monitor - syncsort_simulate_2000 - syncsort_allocation_control_center - Latest

Syncsort™ Storage Management Product Installation Guide And DIF User Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ Storage Management > Syncsort™ Cobol Migration Manager
Syncsort™ Storage Management > Syncsort™ Clone Center
Syncsort™ Storage Management > Syncsort™ Space Recovery System
Syncsort™ Storage Management > Syncsort™ SCC Monitor
Syncsort™ Storage Management > Syncsort™ Simulate 2000
Syncsort™ Storage Management > Syncsort™ Allocation Control Center
Version
Latest
ft:locale
en-US
Product name
Syncsort Storage Management
ft:title
Syncsort™ Storage Management Product Installation Guide And DIF User Guide
Copyright
2023
First publish date
1991
ft:lastEdition
2026-01-22
ft:lastPublication
2026-01-22T05:50:39.722000
L1_Product_Gateway
Integrate
L2_Product_Segment
IBM Infrastructure
L3_Product_Brand
Precisely Syncsort
L4_Investment_Segment
Mainframe
L5_Product_Group
Mainframe Storage Optimization
L6_Product_Name
Syncsort Storage Management

Purpose: The OSJOB command is used to start z/OS procedures. It was designed for use by the SCC Explorer GUI to initiate actions to be executed on the host system, but it can be used directly from the host system.

Syntax:

ENABLE OSJOB {name} ID(id) OUTDD(dd1,dd2,dd3) TCPIP PERM|NOPERM WAIT|NOWAIT MSGID|NOMSGID PING|NOPING    
start-parms
DISABLE OSJOB {name} ID(id)    

Comments: ENABLE OSJOB will start a z/OS procedure.

The ID is optional, but it can be used on the DISABLE OSJOB to delete the procedure. An alphanumeric ID can be up to 8 characters long.

OUTDD(dds) is a list of ddnames in the started procedure. Each DD in the procedure must be allocated to a permanent z/OS data set. When the job finishes, DIF will allocate to the data set DISP=(OLD,DELETE) and send all records in the data set to the standard output destination.

Therefore, commands issued from a DIF console command will return the output to the console. Commands requested by the GUI will receive the command output over the TCPIP connection.

TCPIP specifies that you want all output from the job sent to DIF using TCPIP (real time) and then DIF will send the output to the standard output destination. When TCPIP is specified, the OSJOB facility tests the IP connection using a PING request.
Tip: Applications (e.g., EXCEL) using the DIF web services interface do not respond to PING requests, so NOPING should be used in these situations.

PERM specifies the job should continue to run even if DIF terminates.

NOWAIT specifies that DIF should not wait for the job to finish and do the output/TCPIP functions.

MSGID indicates that the message-id should not be suppressed from the data record. The MSGID is used by the MON-Explorer GUI results table.

Start-parms are parameters passed to the z/OS procedure.

Examples: In the following example, the ENABLE OSJOB command starts a z/OS procedure that executes a MONRUN program to pass the result set back to the MON-Explorer GUI via TCPIP.

ENABLE OSJOB MONRUNX TCPIP SYSIN=DTS.R71.RULE-LIB(#MONREP),P=INCLUDE(VOLUME({volser}))