Running on Mainframe Systems

If you are using a mainframe system, JCL controls Enrichment applications. On systems using modules built with an IBM compiler, specify run-time arguments in the Enrichment JCL PARM statement as follows:

PARM='Cruntime//switch1 /switch2'
where
Cruntime Is any number of z/OS or C/370 run-time options to use during processing. Often, there are no C/370 run-time options specified. Do not use this parameter if you are operating a version of Enrichment compiled with SAS/C. If this parameter is applied, it must be separated from the arguments that follow with a concluding slash (/).
switchN Is an Enrichment run-time argument. Each Enrichment switch must begin with a slash (/). For the first switch, this slash comes after the closing slash for the C/370 run-time arguments.

For a complete listing of run-time arguments, see Run-Time Arguments.

Note: If you receive the error "CEE3191E An attempt was made to initialize an AMODE24 application without using the ALL31(OFF) and STACK(,,BELOW)", change your EXEC PDRSW000 statement to include PARM='ALL31(OFF),STACK(,,BELOW)/'.

A sample Enrichment JCL is shown below.

//*your job card
//*****************************************************************
//** This is a sample Enrichment job.
//** Change SYS3.C370 to the high level qualifier for C/370 run-time.
//** Change SYS3.PLI to the high level qualifier for the PLI library.
//** Change PDR.STREAMW to the high level qualifier for Enrichment.
//** Change all DDs to reference your particular data set names.
//*****************************************************************
//JOBLIB DD DSN=PDR.STREAMW.LOAD,DISP=SHR
// DD DSN=SYS3.C370.SEDCLINK,DISP=SHR
// DD DSN=SYS3.PLI.SIBMLINK,DISP=SHR
//*
//*****************************************************************
//* This step runs Enrichment.
//SWEAVE EXEC PGM=PDRSW000
//* The control file can be either in-stream data or
//* a separate data set as the example shows.
//CONTROL DD DSN=CONTROL.FILE,DISP=SHR
//*
//* Input print stream for Enrichment job.
//INPUT1 DD DSN=INPUT.DATA,DISP=SHR
//*
//* You could optionally have a rule file.
//RULE DD DSN=OPTIONAL.RULE.FILE,DISP=SHR
//*
//* Output: Enhanced print stream
//OUTPUT1 DD DSN=OUTPUT.FILE,DISP=SHR
//*
//* Summary Report and Messages
//REPORT DD DSN=MESSAGE.SUMMARY,DISP=SHR
//