Skip to Content
avatar image
Former Member

Copy the existing output rom Z program into a spool file

Hi all,

There's a Zprogram if its run in foreground a list gets created .(as per req, i want this list in a spool file and not the below spool file)

If this program is run in background a spool file gets created.

I dont want the existing spool result instaed i want the other result which is generated via se38 as a spool file.

Pls suggest.

One more question is i don't see any code in program where the existing spool file is written.similarly i have checked another program earlier where i dont see the code where exactly spool file gets created ,moreover no sub programs in that too.

Thanks for the help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 22, 2008 at 08:20 PM

    Any WRITE statement in the program will generate the Spool when the program was executed as Background mode.

    To generate a list and send directly to the Spool you can explore the keyword NEW-PAGE PRINT ON / OFF options.


    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      I don't want existing spool data.

      But i need the list in foreground run to be saved as the spool file.

      will commenting out the statements which writes to current spool file(yet to identify this part of the code) be a good option


      If i can create another spool file ,how to do it.

      basically how to create 2 spool file in the same program,1 spool is already getting created..