Problem:

You need to change the customization object for CPYAFPPDF and CPYAFPTIF in Email Report Server/400, but the command calls are hard coded to use the QWPTIFFG4 workstation customization object in QSYS.
 
See Sample Workstation Customization Object (WSCST) to create a 300 DPI TIFF File when using AFP-to-TIF or AFP-to-PDF Converter.
 

Solution:

To rename and save the QWPTIFFG4 workstation customization object:
  1. Display a list of all TIFF workstation customization objects:

    WRKOBJ OBJ(QSYS/QWPTIFF*)  

  2. Rename the QWPTIFFG4 customization object:

    RNMOBJ OBJ(QSYS/QWPTIFFG4) OBJTYPE(*WSCST) NEWOBJ(QWPTIFFSAV) 

  3. Copy the RJS 300 DPI workstation customization object to QSYS as QWPTIFFG4:

    CRTDUPOBJ OBJ(RJSTIFF300) FROMLIB(RJSCONVERT) OBJTYPE(*WSCST) TOLIB(QSYS) NEWOBJ (QWPTIFFG4)

To restore the original QWPTIFFG4 workstation customization object:

  1. Display the list of all TIFF workstation customization objects again:

    WRKOBJ OBJ(QSYS/QWPTIFF*)  

  2. Remove the new customizatoin object you created above:

    DLTWSCST WSCST(QSYS/QWPTIFFG4)  

  3. Copy the saved customization object back to QWPTIFFG4:

    CRTDUPOBJ OBJ(QWPTIFFSAV) FROMLIB(QSYS) OBJTYPE(*WSCST) TOLIB(QSYS) NEWOBJ (QWPTIFFG4)


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016