|
Kahn, David (kahn) wrote: > Note that *ALL in factor 2 is available in RPG/IV only. > > Dave Kahn, TCO, Kazakstan > ========= You are absolutely correct. Tim, this is available in ILE RPG (also referred to as RPG IV). Sorry for the mixup. BTW, you can convert any RPG/400 (also known as RPG III) to ILE RPG by using the CVTRPGSRC command. Then you can use CRTBNDRPG or CRTRPGMOD with CRTPGM to create a genuine ILE RPG program! > > > >You can use *ALL in factor 2 of the CLEAR Op code to clear all fields. > > > >Somthing like > >CLEAR *ALL RECFMT > > > >This works for input only, output only or i/o files. Also, if you specify > >*NOKEY > >in factor 1, it will leave the key fields alone. There is a blurb in the > >manual > >that says you cant use *ALL under certain i/o conditions with certain i/o > >fields. ignore it. It clears the fields. Now IBM, do not go messing > >around to > >make the code work like the manual. > > > -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | 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-2025 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.