Second Report to Print Manager

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
LauraPat
Veteran Member
Posts: 50
Veteran Member

    I’ve created a custom program that has two reports coming out of it.  I have given the $PRINTFILE command in the .rpt for the second and I open/close the file in the PD and have the workfile defined.  Everything is working and if I go into the Unix print file directory from the command line, I see the second report there but it doesn’t show in the print manager itself.  What am I missing?  I know in Unix (from a script), I can run the loadrpts command to get a file to load to print manager - but this is being created directly within the custom program itself in the .rpt.

     

    Thank you in advance!  I'm going nuts! 

     

    LauraPat
    Veteran Member
    Posts: 50
    Veteran Member
      Never mind - got the answer from another Lawson guru!  If anybody ever has this happen - here's what I needed to do.  I had added the additional print file AFTER I created the original jobdef.   Lawson will only add the GEN table entry for reports on job ADDs, so the print manager didn’t know anything about that new report if you added it after the jobdef was created.  I deleted and re-added the job and the report showed up perfect.