09-22-2008 9:07 PM
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.
09-22-2008 9: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.
Regards,
Naimesh Patel
09-23-2008 1:00 AM
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
Or,
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..
Thanks,