|
Hey Pete, Your CPYALLSPLF looked useful to me too, so I installed it on our V3R7 System and although it appears to function as expected and reports that a file is copied, it is empty when I go and look at it. Are you aware of any special authorites that are needed which I might not have? I also installed another product mentioned here on the list (SPLTOOL) and the same thing happens with it. Thanks for taking the time to share your tools with us! Terry Pete Hall wrote: > At 21:20 08/13/98 -0400, Tim Truax wrote: > >Hi all, > >When doing a cpysplf to a database file, what is the easiest way to do > >this without having to key in the File/Jobname/User/Number, is there > >some way I can make a user defined option to operate from the wrksplf > >screen so I can just put the user defined option code next to the spool > >entry and send the parms from the wrksplf screen to the cpysplf command? > > No, unfortunately, this is not supported. You being an old (figuratively) 36 >guy though, I've got some code that might help. Source is included. Price is right (free). It's got help text and everything. It's a cross between COPYPRT and CPYSPLF: > > Copy all spool files (CPYALLSPLF) > > Type choices, press Enter. > > Spool file name . . . . . . . *ALL Name, *ALL > Job name . . . . . . . . . . . * Character value, *, *ALL > User profile . . . . . . . . . * Name, *, *ALL > Job number . . . . . . . . . . * 000001-999999, *, *ALL > Output queue . . . . . . . . . * Name, *, *ALL > Output queue library . . . . . *LIBL Name, *LIBL, *CURLIB > Form type . . . . . . . . . . *ALL Character value > User data . . . . . . . . . . *ALL Character value > To file name . . . . . . . . . Name > Library name . . . . . . . . *LIBL Name, *LIBL, *CURLIB > To member name . . . . . . . . *FIRST Name, *FIRST > Delete spool file . . . . . . *NO *YES, *NO > Control characters . . . . . . *NONE *NONE, *FCFC, *PRTCTL... > > > > >Bottom > F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display > F24=More keys > > I've been meaning to put it on the web site anyway. I'll try to get it out >there this weekend. > > Pete > > Pete Hall > peteh@inwave.com > http://www.inwave.com/~peteh/ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.