ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

duplicating spool files with overlays

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • duplicating spool files with overlays

    Hi everyone,

    Apologies for being long-winded, but I have a problem that I am trying to resolve. Hopefully, someone has insight into this.

    Background info :

    a) we have dual language (English and Spanish), multiple release environments on our as/400s.

    English language objects (message and printer files, overlays) are stored in one library and Spanish language objects are stored in another.

    Each release of code has both English and Spanish objects in it. And there are more than one release on a LPAR.

    b) our practice was to name both English and Spanish objects the same, so that just by switching libraries we could switch languages.

    c) recently, we just starting adding overlays to our customer statements - we hard-coded each overlay name in its own printer file format

    d) the statement spool files created by the RPG program can be moved to any output queue and it prints fine - English overlay on an English statement, Spanish overlay on a Spanish statement

    e) we need to duplicate and distribute the customer statement spool files to various output queues


    Hope I haven't lost you so far ...

    Here's the problem.

    We use a third party vendor's software to duplicate and distribute spool files. Everything was fine when we had just ordinary spool files (eg. *SCS type).

    When this utility moves one of the statement spool files, the duplicated spool file no longer remembers which overlay to use.
    We end up with English overlays on Spanish statements and vice versa.

    Question ...

    Does anyone know of a way to duplicate a spool file that has overlays associated with it and still keep the relationship between spool file and overlay intact ?

    Thanks for reading !

  • #2
    Re: duplicating spool files with overlays

    Using iText and the AS400 Toolbox classes in Java convert the AFPDS spool file to a TIFF image

    Comment


    • #3
      Re: duplicating spool files with overlays

      apinto,

      Thanks for your reply.

      What I want to do is to duplicate my spool file to another output queue (either on the same system or another as/400) and have the duplicate spool file still find the right overlay.

      Would your method do that ?

      Comment


      • #4
        Re: duplicating spool files with overlays

        Not sure ... I think you may need IBM's Host Print Transform which I think converts some ASCII format ....you can then try conversion...but like I said I am not sure as I have not tried this method before.

        Comment


        • #5
          Re: duplicating spool files with overlays

          hey

          Please let me know the process of creating the overlays for reports...as we need to add the Company logo on these reports. Can any one please help me out with the process....

          I will be very thankful

          Comment

          Working...
          X