|
midrange-l-request@xxxxxxxxxxxx wrote: > 7. Would anybody know of a way, from a CL program, . . . > (James H H Lampert) > >. . . to display a simple list on the screen, given that the program's one >DCLF is already occupied by an "outfile" from a command used to generate >that list? > >Could ILE CL be useful here? Could it perhaps do the equivalent of a C >"printf"? It's been ages since I wrote a DSPF for CL (or ILE CL). I long ago created command shells for the UIM APIs and then created UIM panel groups instead of DSPFs. Once you have a few sample source members for UIM, it's just about as easy to create new 'display files' w/UIM as with DDS and it doesn't require a DCLF. The same panel groups and commands can be used in REXX (or RPG or...). Further, in a _real_ pinch, the QLGSORT/QLGSORTIO APIs can give both input and output capabilities for about as many files as any CL (or ILE CL) program could ever want, though it gets tricky with various numerics. Of course, QM queries are usually far nicer for update/insert/delete. (And spooled-file APIs plus user space APIs even allow fairly direct printing from CL.) Who needs DCLF? When you can't afford compilers, you improvise. Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertech.com __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
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.