I have a job that needs to print to different spool files depending on which criteria it meets.
I'm writing a check printing program. These checks need to be matched up with statements post printing. To facilitate this process and the stuffing of envelopes, I need to create several different spool files - 16 to be exact.
I would like to not have to create 16 different PRTF with 16 separate DDS that would be a pain to maintain in the future.
I'm thinking I can create one DDS and PRTF and use the CRTDUPOBJ and the OVRPRTF in my CL. But how would I define the printer files in my COBOL program?
If anyone knows how I should do this or if you have an alternate idea, I'd really appreciate it.
Thanks,
Vincent
I'm writing a check printing program. These checks need to be matched up with statements post printing. To facilitate this process and the stuffing of envelopes, I need to create several different spool files - 16 to be exact.
I would like to not have to create 16 different PRTF with 16 separate DDS that would be a pain to maintain in the future.
I'm thinking I can create one DDS and PRTF and use the CRTDUPOBJ and the OVRPRTF in my CL. But how would I define the printer files in my COBOL program?
If anyone knows how I should do this or if you have an alternate idea, I'd really appreciate it.
Thanks,
Vincent
Comment