PDRXCME

PDRXCME converts DJDE print streams that use CMEs into print streams that use a font index. It is easier for EngageOne™ Enrichment to add new records with new fonts, such as barcodes, to a print stream that uses a font index.

Syntax

PDRXCME 'indsn outdsn setdsn switches'

Parameter Description Default
indsn The input data set name. Do not include quotes. DD:SYSUT1
outdsn The output data set name. Do not include quotes. DD:SYSUT2
setdsn The setup data set name. Do not include quotes. DD:SYSCME
switches Up to three switches with no intervening spaces. A slash must precede each switch. The first switch indicates the record format to which PDRXCME will convert the input, as follows:
  • /F — Fixed. Keep output records as they were in the input print stream.
  • /V — VBA. Strip blanks from each record in the output print stream.
/F/M
The second switch indicates the type of carriage controls the print stream contains:
  • /A — The print stream contains ANSI carriage controls.
  • /M — The print stream contains machine carriage controls.
The third switch, /T, sets PDRXCME to issue trace information for every 1,000 records.

Example

PDRXCME 'TEST.DATA TEST.OUTPUT' /V/T

In this example, PDRXCME is to convert CMEs in the input (TEST.DATA) to font indexes in the output (TEST.OUTPUT). The utility will convert the record format to VBA (that is, it will remove all spaces from the end of each record) and issue trace information every 1,000 records.

JCL

The following shows the JCL shipped with the PDRXCME utility.

//*jobcard
//*********************************************************************
//**Customize:  1. Change STEPLIB to point to the datasets where    ***
//**               the following are installed at your site.        ***
//**                - Enrichment load module                       ***
//**                - C runtime library                             ***
//**            2. Change SYSUT1 and SYSUT2 DDs to be the datasets  ***
//**               for input and output respectively.               ***
//*********************************************************************
//** PDRXCME ** Convert Xerox CME type records to FONTINDEX         ***
//*********************************************************************
//** PDRXCME  Parameters:                                           ***
//**************  Parms are not necessary for default processing    ***
//**************  Parm1: Input file name/DD (or * to keep SYSUT1)   ***
//**************  Parm2: Output file name/DD (or * to keep SYSUT2)  ***
//**************  Parm3: Setup file name/DD (or * to keep SYSCME)   ***
//**************  Parm4: Options (no space between):                ***
//**************   /F - Fixed (keep lines same as input) - DEFAULT  ***
//**************   /V - VBA output (strip blanks from each record)  ***
//**************   /A - ANSI carriage control in column 1           ***
//**************   /M - Machine carriage control in col 1 - DEFAULT ***
//**************   /T - Trace every 1000 lines                      ***
//**************      Example:  PARM='* * * /V/A/T'                 ***
//**************                PARM='DD:IN DD:OUT DD:CMEIN /T'     ***
//*********************************************************************
//** Updates:                                                       ***
//** Version 1.1 09/24/96 - Add font index to non-print records     ***
//*********************************************************************
//PDRCCM2A EXEC PGM=PDRXCME,PARM='* * * /V/T'

//STEPLIB  DD DSN=PDR.STREAMW.LOAD,DISP=SHR
//         DD DSN=SYS3.CLIB22.SEDCBASE,DISP=SHR