|
I'm normally doing the same (OVRPRTF FILE(QPRINT) USRDTA(&USRDTA) by using qcmdexc from within Cobol program. Please note that QPRINT corresponds to SELECT ..... ASSIGN to PRINTER-QPRINT as declared by Cobol program. Sincerely Domenico Finucci Fiditalia , Milano, 02- 4301-2494 -----Messaggio originale----- Da: geir.kildal@xxxxxxxxxxxxxx [mailto:geir.kildal@xxxxxxxxxxxxxx] Inviato: giovedì 11 settembre 2003 14.21 A: COBOL400-L@xxxxxxxxxxxx Oggetto: Changing USRDTA on printfiles on the run... Hello, everybody. I have an old COBOL-pgm(OPM) that closes and opens a prinfile based on certain criterias with purpose grouping together information. I try to give each spoolfile a unique name in USRDTA by calling a CL-pgm from my COBOL-pgm between each CLOSE and the next OPEN of the printfile. The CL-pgm has one cmd: OVRPRTF FILE(*PRTF) USRDTA(&USRDTA), where &USRDTA contains the name wantet. BUT: Nothing happens to userdata in the spollfile?? What is it I'm doing wrong? Mvh. Geir _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.