|
Bob Buettel wrote: >I send a user a SPOOL file using option 1 SEND WRKJOB >OPTIONS(SPLF). I want the CLP to do the CPYSPLF without >the user having to fill in the JOBNAME/USER/NUMBER >When I look at the spool it is a job called >QPRTJOB/PERSON/093515. >How can I get these parms into CPYSPLF I'm guessing that the program creating the spooled file is an RPG program (hence the post to the RPG list). In that case, check the File Information Data Structure for the spooled file. You can get the information you need from: D SPOOL_FILE 103 112 D SPOOL_LIB 113 122 D SPOOL_NUM 123 124I 0 You can easily pass these as parameters to CPYSPLF or SNDNETSPLF... Buck Calabro Aptis; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.