z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Transform data remotely using InfoPrint Transform Manager for Linux

z/OS Infoprint Server User's Guide
SA38-0695-00

Transform data remotely using InfoPrint Transform Manager for Linux

This example shows how to transform data to AFP format remotely using an InfoPrint Transform Manager for Linux transform. The example specifies the remotexf command, which automatically detects the format of the input file and uses the appropriate transform for that data format. Infoprint Server reads the input from the specified file (/tmp/input) and writes AFP output to HLQ.OUTPUT.AFP.

This example also shows how to specify InfoPrint Transform Manager job attributes using the -j option, and transform attributes using the xf-options job attribute. The attributes specify:

  • The input file is transformed into an AFP data stream in 300-pel resolution.
  • Data stream error messages should not be included on the trailer error page.
  • The output is created only if it does not have data stream errors.

This example also shows how to specify environment variables in-stream in the STDENV DD statement. If you installed Infoprint Server and created Infoprint Server configuration files in default directories, you do not need to specify these environment variables and you can omit the STDENV DD statement.

//AOPBATCH JOB ...
//TRANSFRM EXEC PGM=AOPBATCH,
//         PARM='/remotexf -j attr=//DD:ATTRS -o //DD:OUTPUT /tmp/input
//             .pcl'
//OUTPUT   DD   DSN=HLQ.OUTPUT.AFP,DISP=(NEW,CATLG,DELETE),
//              DCB=(RECFM=VBM,LRECL=32756,BLKSIZE=32760),
//              SPACE=(CYL,(1,1))
//ATTRS    DD   *
filter-options="-r 300"
xf-options="trailer-error-page=no fail-on-datastream-error=yes"
/*
//STDOUT   DD   SYSOUT=*
//STDERR   DD   SYSOUT=*
//STDENV   DD   *
PATH=/usr/lpp/Printsrv/bin:/bin:/usr/local/bin
LIBPATH=/usr/lpp/Printsrv/lib:/lib:/usr/lib
NLSPATH=/usr/lpp/Printsrv/En_US/%N:/usr/lib/nls/msg/En_US/%N
AOPCONF=/etc/Printsrv/aopd.conf
AOPRXF_CONF=/etc/Printsrv/aoprxf.conf
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014